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