Choose a topic to test your knowledge and improve your Perl skills
Which function is used by perl for reversing a string?
Scalar stores
When you're pattern matching, you describe the pattern using
When the "require" function loads?
Which of the following statement repeats a statement or group of statements until a given condition becomes true. It tests the condition before executing the loop body?
Select comparison operator from the options.
What will be printed by the code below? my $val = {}; print ref($val);
It is often more convenient to save perl program files with ____ extension
Which of the following is used in perl?
Language which features rich text processing capabilities and flexibility is
When a string is used for numeral computations, perl converts it into
Scalar is denoted by_______in Perl.
In Perl, the words function and subroutines are used interchangeably.
How do you perform a forward declaration of a subroutine performed?
What will display the list of warning messages regarding the code?
Which of these is NOT available for Perl
The "+=ย is which type of operator?
The getdir command
Select the option which allows the user to scroll through the entire program line by line in Perl.
What will be the value in the variable $a after these two statements: $a = "Happy"; $a = "Sunday";?
Which function is used by perl for displaying the length of a string?
When you create a variable, you may assume it starts off containing
Command line arguments in Perl are stored in
Which one of the following is the most powerful filter?
A perl program runs in a special interpretive mode.
To test whether perl is in your PATH, use ____
It is often more convenient to save perl program files with ____ extension.
___ function is used for removing the last character from the line.
perl variables have no type and no initialization.
When a string is used for numeral computations, perl converts it into ___
If a variable is undefined, its value is ____
Which of the following are concatenation operators?
To repeat a string, perl uses ___ operator.
___ function returns the first occurrence of a character in a string.
For extracting a substring, ____ function is used.
substr function is also used to alter an existing string.
Which function is used for handling substitutions in perl?
Which escape character is used for identifying a word character?
We can use find command for testing files with perl.
We can specify filenames in command line using perl.
Which of the following is referred to as default variable?
___ operator is used for selecting current line number.
___ is known as range operator.
The command @x=(1. .10) will assign first ten integer values to the array โaโ.
The ___ prefix to an array name signifies the last index of the array.
For deleting the elements from the left of the array ___ function is used.
For deleting the elements from the right of the array ___ function is used.
To add elements to the left side of the array ____ function is used.
To add elements to the right side of the array ____ function is used.
Which function can combine the functionalities of push, pop, unshift and shift?