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