Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Another set of Quiz questions
We've got questions on our web site that used formerly form part of our quizzes. Now, we publish each question along with the answers, so you can look up any of the questions below and find what the answer should be. After all - we're a company that prides iteslf in answering techincal questions in the open source arena! Link also to our general quiz index and to our directories of short articles on PHP, Lua, Perl, MySQL, Python and Latest items.

Page 1 - Page 2 - Page 3 - Page 4

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

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

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

Q. The hash called %INC:

Q. Tieing allows you to:

Q. To find out the name of the subroutine that called you, use

Q. If I start my perl program with

use Getopt::std;
getopts('vhf:') || die "You don't know how to run this command\n";

then:

Q. mod-perl is:

Q. You're writing a CGI program that you want to access via a link from an HTML page without the user having to complete a form. What must you ensure for your CGI program?

Q. What's the maximum number of characters that can be uploaded using the GET method?

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

Q. The kill function in Perl: 1. Sends a signal to another process 2. Kills another process 3. Deletes all child processes of the process that calls the function 4. Causes the Perl program to exit immediately without flushing any buffers 5. Iconises the current window

Q. The ~ operator

Subject: Perl Programming, Level: Basics

Q. If your perl program reports an error at line 16, what should you do?

Q. What does this program print out if you type in END when prompted?
print "What is this? "
$in = <STDIN>;
if ($in eq "end")
{
print "small ending\n";
}
if ($in eq "END")
{
print "big ending\n";
}

Q. If you run Perl with the "-w" option ...

Q. Perl is commonly used on the web for

Q. Perl is available for free with Linux

Q. Which of these is a good source of Perl modules?

Q. The program

print 7 x 8

would output

Q. What character is used to separate statements in Perl?

Q. The "%" operator returns:

Subject: Perl Programming, Level: Intermediate

Q. Which of the following is not a valid Perl scalar variable name?

Q. The variable $0 provides

Q. The CPAN is

Q. The chop function ...

Q. The number of elements in a list in perl is set:

Q. In a regular expression, the unprotected "." character means:

Q. If you provide a subroutine called INIT, it will be run:

Q. Which file test operator tells you if a plain file exists?

Q. To find the parameters that were passed into your Perl program from the command line, you could use

Q. The Perl function "time" returns:

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

Q. A jar is used:

Q. Java claims to be three of the following. Please select the false claim.

Q. An applet is

Q. Which of the following is a Java primitive variable type?

Subject: Java Programming, Level: Intermediate

Q. A variable of type char can take how may different values?

Q. If you want to print a number out to two decimal places, you would use:

Q. A member which is to be visible within the same class, other classes in the same package, and also subclasses, but NOT in other classes which are in different packages and are not subclasses, is declared as:

Q. Which of these is NOT a simple data type?

Q. Java was written by:

Q. You might use UML in the course of developing a Java application to

Subject: Tcl Programming, Level: Advanced

Q. Which of the following is NOT a standard geometry manager in Tk?

Q. To substitute with the variable demo in the namespace math, you would write:

Q. Expect can handle the following special conditions:

Q. The time command

Subject: Tcl Programming, Level: Basics

Q. To create a variable called demo containing the word "test", you would write

Q. Tcl variables can be used to hold

Q. The command incr today -1

Q. Curly Braces in Tcl are used to define:

Subject: Tcl Programming, Level: Intermediate

Q. lindex {Arthur Brenda Charles Doris Edward} 2
would return

Q. The string match command matches using

Q. To open a file called abc.txt for read, you could use

Q. To find out if a variable called abcd exists, you would write:

Subject: PHP Programming, Level: Advanced

Q. Which of these could be used to maintain a variable from one form to the next?

Q. The predefined __FILE__ variable contains

Q. What would you do with a "variable" command?

Q. The add_new_country function ...

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

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

Q. To read a file into an array, which function might you use?

Q. The uksort function

Q. By default, variables that you set in your PHP code are retained

Q. If you want to break out of a while loop, what statement would you use?

Q. How does eregi differ from ereg?


© 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