Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Further Quiz Questions
We've got some questions on our web site that used to form part of our quizzes. These days, 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 Java, Python, Linux, Apache Tomcat, Apache httpd, C and C++ and Latest items.

Page 1 - Page 2 - Page 3 - Page 4

Subject: MySQL, Level: Advanced

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

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

Q. A class of objects in Perl 5 is:

Q. To allow a constructor to be inherited, you should

Q. The "multiline mode" modifier effects:

Q. When developing a module, you'll often use "die" to flag errors, but when you release your module for others to use, you'll want the error message to reflect where abouts in *their* code the failing call was made. You should replace die with:

Q. If you declare a subroutine specifying

sub demo () {

(etc)

}

then:

Q. Which of these is true about a UDP client you write?

Q. When writing a CGI script and generating an HTML page, how must you start your response?

Q. Which of these is not a suitable use of Perl?

Q. If you're looking to transfer to another computer using FTP from within your Perl program, the best way to do it is:

Q. The assignment statement

$j = 80.101.114.108;
sets the variable $j to contain:

Subject: Perl Programming, Level: Basics

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

Q. What does this program print out?
$x = 1;
while ($x < 20) {
$x = $x * 2; }
print $x,"\n";

Q. Which of these is NOT available for Perl:

Q. When you create a variable, you may assume it starts off containing:

Q. The most recent version of Perl is 5.6.2

Q. Perlscript is

Q. Which brackets do you use to change the order of precedence of operations?

Q. The "-c" option to Perl

Q. Which of these is a NOT an operator or keyword in Perl:

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

Q. Which of the following is a valid name for a method if you are writing a bean?

Q. In the Abstract Windowing Toolkit, the origin of a frame is always at:

Q. If you write an interactive applet that uses "MouseMoved" rather than "MouseMove", how do you restrict your audience?

Q. Resource bundles are a convenient way to:

Q. Which of the following is NOT a correct statement

Q. The java.nio package is

Subject: Java Programming, Level: Basics

Q. Which of these products always produces pure Java output?

Q. If you extend a class, you are

Q. Threads are used:

Q. If you write a piece of Java ...

Q. JavaScript is

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

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

Q. To start a new line on the browser, you might

Q. Who do you need to contact to obtain a license if you want to use PHP?

Q. As of summer 2001, how many internet web sites were PHP enabled?

Q. Comments in your PHP

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

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


You can Add a comment or ranking to this page

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