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. operator for "Boolean not"






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






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






4. comparison operator for "equal to"






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






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






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






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






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






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






11. a string method (with /REGEX/ and starting_point separated by comma) that outputs the first string matching the defined regular expression from an optionally defined starting point






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






13. array assignment oprator






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






15. returns ASCII value of x






16. a special array made from arguments that were added to the command line at start up.






17. a string method that substitutes ALL occurrences of a string with another.






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






19. method that tells an argument's place value within an array






20. (regular expression)any digit






21. array method that removes last item from an array






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






23. array method that removes last item from an array






24. mixing expressions into strings






25. assigns a key to a hash value






26. a fixed value that begins with a capital letter such as Pi.






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






28. returns ASCII value of x






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






30. comparison operator for "not equal to"






31. a string method that removes last character






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






33. a set of code within a class or object






34. a string method that reverses capitalization






35. (regular expression)any non-whitespace character






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






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






38. a whole number






39. a way to describe patterns in text






40. array method that selects particular items from an array






41. a collection of objects or values with associated keys






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






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






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






45. (regular expression)any nondigit






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






47. operator for "Boolean not"






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






49. a variable that lists the directories where Ruby will look for libraries






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