Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
More Quiz Questions
Here are some of our former quiz questions. These days, we look to provide answers rather than questions as we're a training company! So link to our directorys of short articles on: PHP, Lua, Perl, Java, MySQL, Python, Linux, Apache Tomcat, Apache httpd, C and C++, Tcl, Tcl/Tk, Hotel and Latest items.

Page 1 - Page 2 - Page 3 - Page 4

Subject: PHP Programming, Level: Basics

Q. PHP is:

Q. Curly Braces in PHP are used to define:

Q. To access a form variable from the following PHP page, you should

Q. The maximum length of a string held in a variable is ...

Q. You'll use a loop in your PHP program

Subject: PHP Programming, Level: Advanced

Q. Which of these best describes the Object Oriented facilities of PHP?

Q. PHP Handles XML through ...

Q. What does the strcspn function do?

Q. How do you set a cookie up to persist for 1 day from the time you set it?

Q. You should use the mysql_drop_db() function

Subject: PHP Programming, Level: Intermediate

Q. Which PHP function lets you timestamp a file?

Q. PHP can be used to generate server side graphics on a web site

Q. Which function(s) would you use to read a line of space separated fields, where double quotes and backslashes have been used to protect embedded spaces?

Q. The function used to delete a file is

Q. The regular expression [a-z]{2,3}$ will only match

Subject: MySQL, Level: Basics

Q. MySQL is available

Q. The main MySQL program that does all the data handling is called

Q. A SELECT command without a WHERE clause returns

Q. Which of these is not a valid name for a column

Q. The USE command

Subject: MySQL, Level: Advanced

Q. MySQL stores its data in

Q. Commands passed to the MySQL daemon are written in

Q. MySQL comes with as standard with client libraries for:

Q. Which of these commands will delete a table called XXX if you have appropriate authority:

Q. One of the early proponents of relational database who laid down many of the principles we use to this day was:

Subject: MySQL, Level: Intermediate

Q. MySQL runs on which operating systems?

Q. Which of the following can add a row to a table?

Q. Internally information is held in tables. Which of these is NOT a valid format:

Q. In a LIKE clause, you can could ask for any value ending in "ton" by writing

Subject: Perl Programming, Level: Basics

Q. Which operating systems is Perl available on?

Q. Perl is

Q. The printf format "%6.2f" displays a number ...

Q. A (scalar) perl variable can store:

Q. How did Perl get its name?

Q. Perl was first released in:

Q. The function most used to write our from a Perl program is

Q. The chop function

Q. Perl programs cannot easily be distributed within an email, unless mime or base 64 encoding is used.

Q. The eq operator tests ...

Subject: Perl Programming, Level: Advanced

Q. Perl calls a subroutine called AUTOLOAD

Q. if $x contains the string:

<B>This is bold</B><EM> and this is emphasised</EM><BR>
and this is <FONT COLOR=green> bright</FONT>

which Perl command would remove all the HTML tags to give:

This is bold and this is emphasised
and this is bright

Q. If you are opening a file for read access, and you know that others may open it at the same time, possibly to modify its contents, you should:

Q. A quick and easy way to check the existence / status of a large number of objects in a directory structure is to use:

Q. If you're running a Perl script on your server via CGI and you wish to send back a reply page to the user immediately, then have the script go off, enquire of a database and email the answers back to the user, you would:

Q. You manage a workstation which collects log file data during the week which you want to automatically transfer to another system each weekend via the internet. You'll do this using a Perl program. Which Protocol is most suitable?

Q. What special use has the "=" character in URL encoding?

Q. If you're writing a program that will automatically download and search a site for some specific information, how do you know if your automatic program is welcome?

Q. Which of these is NOT a special subroutine name?

Subject: Perl Programming, Level: Intermediate

Q. Which animal appears on the front of the "Programming Perl" book co-written by Larry Wall?

Q. The maximum number of numbers that can be held in a scalar is

Q. If $d contains the value 2 when you run the following code, what is printed out?
$c = $d == 2;
print ++$c;

Q. If you refer to $vn[-1] in your program, you are referencing:

Q. if you run "perl -v"

Q. The $ operator means

Q. A Perl class inherits methods from:

Q. Release 5 of Perl can handle dates and times until the year:

Q. You can use $^T to find out the time your Perl program started to run:

Q. What would happen if the ran the following Perl statment:

$phone{7187511770} = "New York Office";

Subject: Java Programming, Level: Basics

Q. Java is:

Q. HotJava is

Q. RMI is

Q. The acronym "JAVA" stands for:

Q. Which Java platform "manages the infrastructure and supports the Web services to enable development of secure, robust and interoperable business applications."?

Subject: Java Programming, Level: Advanced

Q. Which layout manager would you use to lay out a regular set of buttons, such as a telephone dial pad?

Q. If you synchronise two methods, they

Q. Untrusted code (i.e. that has been downloaded by a browser) can ONLY do one of the following. Which?

Q. How do you obtain the IP address of the machine your Java program is running on?

Q. Which of the following regular expressions matches any lower case consonant?

Q. When would you use a Hashtable in preference to a Hashmap

Subject: Java Programming, Level: Intermediate

Q. An exception is always

Q. System.out.print('\u0066'); will display on your screen:

Q. Which of these is a reserved word in Java:

Q. Objects may be duplicated using:

Q. What is sent to System.out by this code:
int val = 11;
System.out.print("Result: "+val+1);

Subject: Tcl Programming, Level: Basics

Q. Tcl is available

Q. To read a user input from the keyboard to the variable inlinevar, you might use:

Q. A command in square brackets is:

Q. Most string handling is performed using a command called

Subject: Tcl Programming, Level: Advanced

Q. To specify the initial wording on a button widget, use

Q. Which of the following is not a valid resource priority level

Q. To allow you to break up your task into a series of more managable sections, Tcl provides you with:

Q. To get a list of the elements in an array, you would use:

Subject: Tcl Programming, Level: Intermediate

Q. Using Regular expression matching, under* would match:

Q. An array has five elements. The elements are called:

Q. Variables used in your main program:

Q. The -i option to the expect command allows you to


© WELL HOUSE CONSULTANTS LTD., 2008: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho