Keys of the hash are extracted using?
1.Index
2.Using key function
3.Converting to array
4.None of These
Posted Date:-2022-11-27 02:26:51
Length of string in Perl is calculated using ___.
1.len()
2.length()
3.size()
4.All of the these
Posted Date:-2022-11-27 02:45:03
List context of the returned value from a subroutine is extracted using ___.
1.#
2.$
3.@
4.None of These
Posted Date:-2022-11-26 05:17:59
The code blocks unless the statement is executed when the condition is ___.
1.True
2.False
3.Error
4.None of these
Posted Date:-2022-11-26 05:24:32
Which module is required to perform excel operation in Perl?
1.Excel::creator
2.Sheets::manager
3.Excel::Writer::XLSX
4.None of These
Posted Date:-2022-11-27 02:45:52
Which of the following methods is used to display expressions in Perl?
1.cout()
2.say()
3.println()
4.None of the above
Posted Date:-2022-11-26 05:19:58
A built-in subroutine which is used inside the method is?
1.Mutable parameter
2.Trait
3.Method
4.All of these
Posted Date:-2022-11-26 05:14:09
Array in Perl created using?
1.%
2. @
3.$
4.None of these
Posted Date:-2022-11-27 02:21:45
Automatic end of line is added using which statement?
1.print()
2.clear()
3.say()
4.None of these
Posted Date:-2022-11-26 05:20:55
Can a given-when statement be nested in Perl?
1.Yes
2.No
3.Error
4.None of these
Posted Date:-2022-11-27 02:11:46
foreach loop can iterate over __.
1.List
2.Integer
3.Class
4.None of These
Posted Date:-2022-11-26 05:30:19
Immutable parameters in Perl are?
1.Special immutable string parameters passed to the function
2.Values that cannot be modified within the function
3. Values that can be modified within the function
4.None of these
Posted Date:-2022-11-26 05:06:31
Is it possible to pass file handles to subroutines in Perl?
1.Yes
2.No
3.Error
4.None of these
Posted Date:-2022-11-26 05:05:18
Is the goto statement in Perl used to ___.
1.Iterate over statements
2.Jump from anywhere to anywhere within the block
3.Create an entry point in program
4.None of these
Posted Date:-2022-11-27 02:12:58
Is the Redo operator in Perl used?
1.Create a loop
2.Jump the flow to the given label skipping the current block execution
3.Repeat current block evaluation
4.All of the above
Posted Date:-2022-11-27 02:14:11
Is the Scalar keyword in Perl is used to?
1.Create a scalar value
2.Convert expression to scalar context
3.Perform forceful evaluation to scalar
4.All of the these
Posted Date:-2022-11-27 02:40:05
Operations of Perl hashes are ___.
1.Accessing value
2.Updating value
3.Iteration
4.All of these
Posted Date:-2022-11-27 02:37:09
STDIN in Perl stands for ___.
1.Standard input output stream
2.STandarD INput
3.Solo input
4.None of these
Posted Date:-2022-11-26 05:22:55
The '==' operation is not valid on string in Perl?
1.True
2.False
3.Error
4.None of These
Posted Date:-2022-11-27 02:38:45
The 'It' operator of string is used to ___.
1.Concatenate string
2.Check if the string to its left is stringwise less than string to its left
3.Substitute text
4.None of these
Posted Date:-2022-11-27 02:43:18
The % sign in Perl is used to ___.
1.Declare a hash
2.Accessing a hash value
3.Initialize a loop
4.All of the above
Posted Date:-2022-11-27 02:19:09
The $ in Perl is used to create ___.
1.Hash
2.Array
3.Scalar
4.All of the these
Posted Date:-2022-11-27 02:38:01
The elements of the array are ___.
1.Number
2.String
3.Characters
4.All of the these
Posted Date:-2022-11-27 02:20:13
The print method in Perl return ___.
1.boolean value
2.string
3.char
4.None of These
Posted Date:-2022-11-26 05:21:50
The return() function in Perl is ___.
1.a subroutine from return package
2.return value at the end of subroutines
3.return named subroutine
4.None of these
Posted Date:-2022-11-26 05:17:16
Unless_elsif statement contains ___.
1.elsif statement along with unless
2.if nested inside unless
3.unless nested inside elsif
4.None of these
Posted Date:-2022-11-26 05:25:49
Until loop in Perl is ___.
1.Opposite of while loop.
2.Used to execute code when condition is false
3.Entry controlled loop
4.All of the these
Posted Date:-2022-11-26 05:32:58
Valid loops in Perl are ___.
1.for
2.foreach
3.do while
4.All of the mentioned
Posted Date:-2022-11-26 05:26:50
What are reference in Perl?
1.A way to access data with another variable
2.Referring a function
3.Class variable
4.None of these
Posted Date:-2022-11-26 05:15:48
What is a given-when statement in Perl?
1.loop
2.Multiway branch statement
3.function
4.None of these
Posted Date:-2022-11-27 02:11:08
What is a hash in Perl?
1.Set of key-value pair
2.Collection storing scalar
3.Collection sorting array
4.None of these
Posted Date:-2022-11-27 02:25:56
What is recursion in Perl?
1.Mechanism of a function calling itself again from its body
2.Looping over function with different values
3.Calling overloaded function
4.All of the these
Posted Date:-2022-11-26 05:19:09
What will be the output of the following Perl code? $a = 8; until ($a <= 7){ print "Value of a = $a "; $a = $a - 1; }
1.Value of a = 8
2.Infinite loop
3.No run
4.None
Posted Date:-2022-11-27 02:10:09
What will be the output of the following Perl code?%lang = ('Perl' => 4, 'Python' => 2, 'Javascript' => 5); @arr = values %lang; print @arr
1.PerlPythonJavascript
2. 245
3.425
4.None of these
Posted Date:-2022-11-27 02:35:50
Which is a valid way to extract the size of an array in Perl?
1._len(@array_name)
2.@array_name.length()
3.$size = scalar @array_name
4.All of the these
Posted Date:-2022-11-27 02:23:52
Which keyword is used to make the current iteration last one?
1.end
2.exit
3.last
4. None of these
Posted Date:-2022-11-27 02:15:18
Which of the following is a trait in Perl?
1.is cached
2.is rw
3.is copy
4.All of these
Posted Date:-2022-11-26 05:14:49
Which of these is a data type in Perl?
1.Scalars
2.Array
3.Hashes
4.All of these
Posted Date:-2022-11-27 02:15:59
Which of these is a decision-making statement in Perl?
1.if unless
2. if-else
3.ladder
4.All of the above
Posted Date:-2022-11-26 05:23:44
Which of these is a type of the scalar in Perl?
1.Array
2.String
3.Hash
4.All of these
Posted Date:-2022-11-27 02:17:38
Which of these types of string are interpolated?
1.Quote less
2.Single quoted
3.Double quoted
4.None of these
Posted Date:-2022-11-27 02:40:54
While in Perl is entry controlled?
1.Yes
2.No
3.Error
4.None of these
Posted Date:-2022-11-26 05:30:51