perl - A General Purpose Tool - 2 Online Exam Quiz
perl - A General Purpose Tool - 2 GK Quiz. Question and Answers related to perl - A General Purpose Tool - 2. MCQ (Multiple Choice Questions with answers about perl - A General Purpose Tool - 2
___ function is used for joining lists.
Options
A : foreach
B : for
C : split
D : join
___ is known as range operator.
Options
A : . .
B : 1
C : $.
D : $_
___ operator is used for selecting current line number.
Options
A : 0
B : 1
C : $.
D : $_
For deleting the elements from the left of the array ___ function is used.
Options
A : pop
B : push
C : queue
D : shift
For deleting the elements from the right of the array ___ function is used.
Options
A : pop
B : push
C : queue
D : shift
For looping in a list, __ is used.
Options
A : for
B : fordo
C : foreach
D : while
For splitting a line or expression into fields, __ is used.
Options
A : foreach
B : for
C : split
D : join
perl is __ of grep, tr, sed and awk.
Options
A : subset
B : superset
C : child
D : parent
The ___ prefix to an array name signifies the last index of the array.
Options
A : 0
B : $#
C : #$
D : $_
The command @x=(1. .10) will assign first ten integer values to the array 'a'.
Options
A : TRUE
B : FALSE
C : -
D : -
perl - A General Purpose Tool - 2 more Online Exam Quiz
Triangulation - Satellite Station: Reduction to Centre
Steam Nozzles - Super Saturated Flow and Wilson's Line
Strategy for implementing Performance Measures
Traffic Volume Studies - AADT and ADT
Vectors and Cloning in Gram - Positive Bacteria - 3