Which of these jump statements can skip processing remainder of code in its body for a particular iteration?
a) break
b) return
c) exit
d) continue
Ans: d) continue
You might also like to view...
If you do not know the directional property of a microphone, as a general rule, where do you place the sound source relative to the microphone?
What will be an ideal response?
Which major browser only needs to be tested for Mac?
a. Chrome b. Firefox c. Internet Explorer d. Safari e. Opera
Which symbol represents a permission that has not been granted?
A. Asterisk (*) B. Carrot (^) C. Hyphen (-) D. Forward slash (/)
The IRB lets you type in commands and small code snippets and to retrieve immediate results. The IRB command prompt consists of multiple parts separated by a colon as shown here: irb(main):001:0> Which of these parts is incorrectly described below?
A. (main) - Identifies the current class (in this case the main object) B. 001 - A three digit number showing Ruby's version number C. 0 - Represents the current queue depth when working with a class D. > - The end of the command prompt