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. tells ruby a value to pass while iterating a block of code






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






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






4. a string method that makes string all caps.






5. class inheritance operator.






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






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






8. operator for "Boolean not"






9. (regular expression)any digit






10. a string method that changes last character to next alphabetical character






11. assigns a key to a hash value






12. (regular expression)any non-whitespace character






13. sets a text delimiter






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






15. (regular expression)any space or tab or newline or whitespace






16. (regular expression)any space or tab or newline or whitespace






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






18. array method that selects particular items from an array






19. (regular expression)any nondigit






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






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






22. (regular expression)any nondigit






23. a string method that capitalizes first character






24. defines array of multiple elements seperated by a space






25. (regular expression)anchor for the start of a string






26. method that tells if an argument is within the limits of two numbers






27. the process of deciding which sections of code to execute based on conditions






28. a way to describe patterns in text






29. a string method that splits a string into an array






30. symbol for a global variable which can be called from anywhere in an application.






31. array method that removes last item from an array






32. (regular expression)any non-whitespace character






33. runs a proc that has been stored to a variable






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






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






36. (regular expression)anchor for the end of a string






37. a string method that removes last character






38. an array method that






39. an array method that






40. conditionally stops a loop






41. comparison operator for "equal to"






42. returns ASCII value of x






43. operator for "Boolean not"






44. mixing expressions into strings






45. a string method that reverses capitalization






46. Data type that is assigned at initialization and typically does not change. Starts with a capital letter.






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






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






49. greater than or equal to (comparison operator)






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