Miscellaneous on Unix related Questions and Answers - Page 2

Question 11 : Which function is used for handling substitutions in perl?
1. tr
2. s
3. str
4. tr and s
View Answer   Discuss with Members

Question 12 : If a variable is undefined, its value is ____
1. 0
2. 1
3. NULL
4. garbage
View Answer   Discuss with Members

Question 13 : When a string is used for numeral computations, perl converts it into ___
1. character
2. floating point number
3. number
4. boolean value
View Answer   Discuss with Members

Question 14 : perl variables have no type and no initialization.
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 15 : ___ function is used for removing the last character from the line.
1. cut
2. chop
3. erase
4. split
View Answer   Discuss with Members

Question 16 : It is often more convenient to save perl program files with ____ extension.
1. .gp
2. .sh
3. .awk
4. .pl
View Answer   Discuss with Members

Question 17 : A perl program runs in a special interpretive mode.
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 18 : awk makes a distinction between numeric and string variables.
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 19 : The _____ function extracts a substring from a string.
1. length
2. index
3. size
4. substr
View Answer   Discuss with Members

Question 20 : Which of the following is a built-in function for awk?
1. length
2. index
3. size
4. length and index
View Answer   Discuss with Members


View 11 - 20 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