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. using classes and objects to make real-world concepts in programming.






2. defines a class variable. Can be used anywhere within a class






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






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






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






6. string method that "cleans" extra spaces from strings






7. used in an expression to manipulate objects






8. an array method that






9. a module of classes and or functions






10. operator for "Boolean not"






11. comparison operator for "not equal to"






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






13. interpolation operator






14. a whole number






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






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






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






18. a collection of objects with a defined order






19. greater than or equal to (comparison operator)






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






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






22. (regular expression)any digit






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






24. pushes a new item onto the end of an array.






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






26. array method that selects particular items from an array






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






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






29. 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.






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






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






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






33. assigns a key to a hash value






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






35. Boolean not and or (lower preference)






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






37. Boolean AND operator






38. a string method that removes last character






39. a number with a decimal point such as 1.0 or 3.1






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






41. allows for classes to relate to each other in a hierarchy






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






43. (regular expression)any nondigit






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






45. a string method that makes string all caps.






46. (regular expression)any non-whitespace character






47. a single instance of a class.






48. a string method that removes last character






49. 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






50. Boolean OR operator