Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search 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: MySQL, Level: Advanced

Q. MySQL is

Q. To use MySQL on your computer, you'll need

Q. MySQL supports the complete SQL99 standard

Q. MySQL Access security is controlled through

Q. In a LIKE clause, you can ask for any 6 letter value by writing:

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: Intermediate

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: Perl Programming, Level: Advanced

Q. You can read the name of all the variables in use in your main package by reading the symbol table

Q. Which of the following regular expressions matches the first number in $_ and returns the whole part into $whole, and any part after a decimal point, into $deci?

Q. Rather than using the "dbmopen" function in new programs, you should use

Q. $=, $^ and $- are all concerned with

Q. If you wish to write a CGI script which returns a series of pages rather than disconnecting when the first page is completed, the script name:

Q. When writing an automatic mail responder program (such as vacation or a list server), how do you find out the name of the user to whom the email was sent?

Q. The === operator

Q. If you make an image into a link to a Perl program, and want that Perl program to know where abouts in the image the mouse was clicked, you must specify what in your tag?

Q. If you've got a Perl application that's running very slowly, and it uses a lot of regular expressions, which of these is most likely to speed things up without too much effort?

Subject: Perl Programming, Level: Basics

Q. Which of the following is NOT a comment line in a Perl program?

Q. The statement open (FH,"abc.txt");

Q. What's left in $result by this statement: $result = 3 + 4 * 5 + 6;

Q. Which of the following tests if the string held in $qn includes the word "perl"?

Q. What is a file handle used for?

Q. Perl is a subset of the Java language

Q. When you're pattern matching, you describe the pattern using:

Q. The Perl statement

$sed = <STDIN>;

Q. Many organisations are re-writing Perl programs in Cobol

Q. Perl was written by:

Subject: Perl Programming, Level: Intermediate

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

Q. In your program, if you include the line use English;

Q. What statement do you use to load a Perl module?

Q. print "matched" if ($xyz =~ /end/);

Q. Perl is best described as:

Q. In order to create an object, you would use:

Q. You would use a program that calls the Tk module to:

Q. The exists operator is used to check if an element exists in a hash

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

$phone[7187511770] = "New York Office";

Q. "POD" provides

Subject: Java Programming, Level: Advanced

Q. In order to use a bean, you need access to:

Q. Which of these is a predefined colour?

Q. How many methods does the MouseMotionListener interface define?

Q. WebSphere is:

Q. The lookingAt method (run on a java.util.regex.Matcher object)

Subject: Java Programming, Level: Basics

Q. A class file is:

Q. Java was written by:

Q. A Java program typically runs

Q. In order to distribute Java applets, you require

Q. Which of the following might you expect to run within a browser?

Subject: Java Programming, Level: Intermediate

Q. If you try to access beyond the end of an array, Java always:

Q. How many interfaces can you implement in a new class at one time?

Q. The statement int [] counts = new int [26];

Q. What would I use a StringBuffer for?

Q. What value is left in the variable ttimes after running this code?
String Quiz = "Some test text";
int ttimes = 0;
for (int stepper=0; stepper<Quiz.length()-1; stepper++)
  if (Quiz.charAt(stepper) == 't') ;
   &bsp;++ttimes;

Subject: Tcl Programming, Level: Advanced

Q. To create a button widget, you would use the command

Q. Graphics on a Tk canavas are:

Q. To use Tcl within your C program, you would:

Q. To sort a list, you would use the command

Subject: Tcl Programming, Level: Basics

Q. Tcl is:

Q. To output a message to the screen, you might use which command:

Q. To print out a line of text, but not a new line on the end, you would:

Q. Which of these is not a command in Tcl?

Subject: Tcl Programming, Level: Intermediate

Q. Using glob matching, under* would match

Q. The global scope applies to variables:

Q. In Tcl, blocks of code which can be called like your own command are called

Q. When developing an expect application, all the dialogue between your process and the process you have spawned is echoed onto the screen. In order to turn this off when the application goes live, you would:

Q. The wish program provides:

Subject: PHP Programming, Level: Advanced

Q. PHP is "Y2K" compliant. When might it have date problems?

Q. A static variable is

Q. If you try to print out the contents of a variable that hasn't had a value assigned to it ...

Q. To configure PHP to send emails on a Windows server, you need to:

Subject: PHP Programming, Level: Basics

Q. PHP statements are usually teminated by

Q. How does PHP interface to the web server

Q. The PHP Reference manual is

Q. what's the result of

1 + 2 * 3 + 4

Q. In PHP, the word "and" is used as

Subject: PHP Programming, Level: Intermediate

Q. The latest verstion of PHP is 4.0.5

Q. You can set a cookie (if the user is accepting them)

Q. If you want to change every occurrence of "Mary" to "Maria" in a variable, you would:

Q. What colour cables should you use to connect a server running PHP to your network?

Q. When would you use double quotes rather than single quotes to define a string of text?


© WELL HOUSE CONSULTANTS LTD., 2009: 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