programming languages Online Quiz - 218
Description: programming languages Online Quiz - 218 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Which modifier can be used when matching in Perl to ignore case?
Which function can be used to break up a string into more than one part based upon a separator?
Within a loop, which operator immediately ends execution of the loop?
You want to close the directory handle EVAN. Which of the following should you use to accomplish this?
Your script has just read in a variable from the keyboard and you want to strip that variable of the newline character that came in. What operator should you use to perform this operation?
Which Perl function can be used to launch a child process to run a program?
Within Perl, which operator is used to change the working directory?
Consider the following program code: $y = 1; $x = 2; $z = 3; do { print ($y ); } while ($y eq 2); do { print ($x ); } until ($x eq 2); print ($z ); What is the result of executing this program code?
What do the variable $? contains?
What argument to splice is equivalent to push (@array, @sublist) function call?
Which function can be used to make sure your program exits with a nonzero status even if there a standard error?