adplus-dvertising
frame-decoration

Question

For looping in a list, ____ is used.

a.

for

b.

fordo

c.

foreach

d.

while

Posted under UNIX

Answer: (a).for

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. For looping in a list, ____ is used.

Similar Questions

Discover Related MCQs

Q. We can specify filenames in command line using perl.

Q. To repeat a string, perl uses ___ operator.

Q. Which of the following are concatenation operators?

Q. If a variable is undefined, its value is ____

Q. When a string is used for numeral computations, perl converts it into ___

Q. perl variables have no type and no initialization.

Q. ___ function is used for removing the last character from the line.

Q. It is often more convenient to save perl program files with ____ extension.

Q. To test whether perl is in your PATH, use ____

Q. A perl program runs in a special interpretive mode.

Q. Which one of the following is the most powerful filter?

Q. awk makes a distinction between numeric and string variables.

Q. The _____ function extracts a substring from a string.

Q. Which of the following is a built-in function for awk?

Q. awk has some built-in functions which are used for arithmetic and string operations.

Q. awk uses _____ dimensional arrays.

Q. print statement is necessary for printing a line.

Q. Which of the following is supported by awk?

Q. sqroot(x) function returns the square root of x.

Q. For running a UNIX command within awk, we’ve to use ____ function.