Miscellaneous on Unix related Questions and Answers

Question 1 : perl is ____ of grep, tr, sed and awk.
1. subset
2. superset
3. child
4. parent
View Answer   Discuss with Members

Question 2 : For splitting a line or expression into fields, __ is used.
1. foreach
2. for
3. split
4. join
View Answer   Discuss with Members

Question 3 : For looping in a list, ____ is used.
1. for
2. fordo
3. foreach
4. while
View Answer   Discuss with Members

Question 4 : To add elements to the right side of the array ____ function is used.
1. pop
2. push
3. queue
4. unshift
View Answer   Discuss with Members

Question 5 : To add elements to the left side of the array ____ function is used.
1. pop
2. push
3. queue
4. unshift
View Answer   Discuss with Members

Question 6 : For deleting the elements from the right of the array ___ function is used.
1. pop
2. push
3. queue
4. shift
View Answer   Discuss with Members

Question 7 : For deleting the elements from the left of the array ___ function is used.
1. pop
2. push
3. queue
4. shift
View Answer   Discuss with Members

Question 8 : Which of the following is referred to as default variable?
1. $0
2. $1
3. $!
4. $_
View Answer   Discuss with Members

Question 9 : We can specify filenames in command line using perl.
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 10 : Which escape character is used for identifying a word character?
1. \s
2. \d
3. \w
4. \n
View Answer   Discuss with Members


View 1 - 10 of 37 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter