1. ___ is known as range operator.
2. The command @x=(1. .10) will assign first ten integer values to the array ‘a’.
3. The ___ prefix to an array name signifies the last index of the array.
4. For deleting the elements from the left of the array ___ function is used.
Correct Answer is : shift
5. For deleting the elements from the right of the array ___ function is used.
6. To add elements to the left side of the array ____ function is used.
Correct Answer is : unshift
7. To add elements to the right side of the array ____ function is used.
8. Which function can combine the functionalities of push, pop, unshift and shift?
Correct Answer is : splice
9. For looping in a list, ____ is used.
Correct Answer is : foreach
10. perl also supports use of for loop in the following manner.
for($i=0;$i<3;$i++){ }
11. For splitting a line or expression into fields, __ is used.
Correct Answer is : split
12. ___ function is used for joining lists.
13. perl is ____ of grep, tr, sed and awk.
Correct Answer is : superset
14. The following will display :
perl -e ‘print “UNIX” x 10 . “\n” ;’
Correct Answer is : UNIX 10 times
15. A process is an instance of _______ program.
Correct Answer is : executing
16. A process is said to be ____ when it starts its execution.
17. When the process has completed its execution it is called ______
18. Programs and process are synonymous.
Correct Answer is : FALSE
19. Which data structure is used to store information about a process?
Correct Answer is : process control block (pcb)
20. Some attributes of every process are maintained by the kernel in memory in a separate structure called the ______
Correct Answer is : process table