Ruby Intermediate Quiz 1

q L quizLearn
Select your answers and check your results. Use Reset to start again. Practice Pronunciation (Merriam-Webster)
Navigation
Quiz 1
1. The method used to create a shallow copy of an object.
2. Used to execute a block of code within the context of an object.
3. How are class methods traditionally defined in Ruby to be explicitly "singleton" to that class?
4. A method that accepts a block as an argument and executes it.
5. The difference between a Proc and a Lambda regarding argument count.
6. A module method used to extend an object with methods from a module.
7. Used to dynamically call a method by name.
8. How to prevent an object from being modified.
9. Used to get the ancestors of a class.
10. A way to iterate over a hash returning an array of transformed values.
Previous Next
Other
Timer
00:00

Vocabulary Quiz
Score: 0

Spin the Wheel
Promo's

Explore More