Which of the following is not a loop modifier supported by Ruby?
A. while
B. each
C. until
D. None of the above
Answer: B
You might also like to view...
Answer the following statements true (T) or false (F)
1. A constructor method is invoked each time an object of the class is instantiated. 2. Within a class’s scope, class members are immediately accessible only to certain methods of that class. 3. Outside a class’s scope, class members cannot be referenced directly by name. 4. Outside a class’ scope, Public members can be accessed only by using the dot (.) operator. 5. While shadowing, programmers could use the This keyword and the dot separator to access the instance variable.
Answer the following statements true (T) or false (F)
1) A postfix expression can be easily evaluated using a stack. 2) A stack is a LIFO structure. 3) The peek operation on a stack returns a reference to the element at the bottom of the stack. 4) An abstract datatype is a data type that is not known to the programmer 5) Creating a data structure that holds Objects makes a lot of sense, since all objects inherit from the Object class.
What is Importance?
What will be an ideal response?
The ________ function will find the highest value in a range
A) MIN B) AVERAGE C) SUM D) MAX