Test your basic knowledge |

Ruby Programming Vocab

Subject : it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. method that tells if an argument is within the limits of two numbers






2. tells you all methods that an object may invoke.






3. operator for "Boolean not"






4. (regular expression)any nondigit






5. an array method that






6. a placeholder for a single object that may be a number or string or list or instance of a defined class






7. (regular expression)any non-whitespace character






8. a set of code within a class or object






9. tells ruby a value to pass while iterating a block of code






10. passes value into block of code and assigns it the label of "x"






11. a whole number






12. array method that transforms the contents of an array according to a specified set of rules






13. a string method that uncapitalizes first character






14. a string method that scans object for arguments - uses regular expressions.






15. a special class that holds attributes and data but no methods.






16. Boolean not and or (lower preference)






17. an array method that






18. sets a single character text delimiter for multi-line strings






19. method that sorts items alphabetically






20. a section of code with no discrete name which is not a method by itself that can be called upon and can receive an argument.






21. comparison operator for "not equal to"






22. a string method that capitalizes first character






23. a string method that uncapitalizes first character






24. a regular method that is the anchor for the end of a line






25. sets a text delimiter






26. method to determine if an object is an even number






27. a regular method that is the anchor for the beggining of a line






28. a definition of a concept in an object oriented language.






29. array assignment oprator






30. (regular expression)any letter or digit or underscore






31. returns ASCII value of x






32. data passed to methods in parenthesis after a method's name.






33. a string method that substitutes THE FIRST occurrence of a string within a string






34. returns ASCII value of x






35. string method that determines if a string starts with a defined string






36. an array method that returns TRUE or FALSE if the array contains specified item






37. a collection of objects or values with associated keys






38. a collection of objects with a defined order






39. defines an instance variable which only exists within the object it was created in.






40. (regular expression)any nonletter or nondigit or nonunderscore.






41. Boolean OR operator






42. comparison operator for "equal to"






43. assigns a key to a hash value






44. (regular expression)any nondigit






45. a module that works everywhere within ruby without being refereed to. Contains many common ruby methods.






46. greater than or equal to (comparison operator)






47. passes value into block of code and assigns it the label of "x"






48. a string method that makes string all caps.






49. a string method that reverses capitalization






50. using classes and objects to make real-world concepts in programming.