MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Unix
Tough Unix
Quiz 1
1
2
3
4
5
6
7
8
9
10
Q.1
____ function breaks up a string on the basis of delimiter.
a) length
b) substr
c) system
d) split
Q.2
For running a UNIX command within awk, we’ve to use ____ function.
a) length
b) substr
c) system
d) split
Q.3
sqroot(x) function returns the square root of x.
a) True
b) False
Q.4
Which of the following is supported by awk?
a) if
b) while
c) for
d) if, while, for
Q.5
print statement is necessary for printing a line.
a) True
b) False
Q.6
awk uses _____ dimensional arrays.
a) one
b) two
c) multi
d) three
Q.7
awk has some built-in functions which are used for arithmetic and string operations.
a) True
b) False
Q.8
Which of the following is a built-in function for awk?
a) length
b) index
c) size
d) length and index
Q.9
The _____ function extracts a substring from a string.
a) length
b) index
c) size
d) substr
Q.10
awk makes a distinction between numeric and string variables.
a) True
b) False
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page