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?