programming languages Online Quiz - 219
Description: programming languages Online Quiz - 219 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
If $string contains abcdabcd , what will the following call return? index ($string, “cd”, 3);
Which operator can be used to access the first item in an array?
Assume that $var has the value hello . What is the value of the following sting?qq(It’s time to say $var);
Which modifier can be used when matching in Perl to match any character?
Which of the following operators work most like substitution?
Running your Perl scripts with a d switch will perform which task?
Which file test can be done to see if a file is a socket?
How can you include code from another file in your program?
What will the following statement return?
What is the default sort order in Perl?
Rather than using print, what is often used in Perl when formatting is important?
Which of the following will call a subroutine named "mom"?
Which operator can be used to create private variables within a subroutine?
Within a loop, which operator jumps to the end of the loop but does not exit the loop?
To convert a timestamp into a format more readable by a user, which function should you use?
What value do variables have before they are first assigned?
Which Perl function is used to change the name of a file?
Which of the following commands should be used to open a filehandle named KAREN to an existing file named sw?
Which command should be used to close the filehandle KAREN?
Which function can be used to return such information about a file as its UID, GID, CTIME, etc.?