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. data passed to methods in parenthesis after a method's name.






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






3. conditionally stops a loop






4. comparison operator for "equal to"






5. Boolean not and or (lower preference)






6. a collection of objects or values with associated keys






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






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






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






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






11. returns ASCII value of x






12. returns ASCII value of x






13. operator for "Boolean not"






14. a string method that capitalizes first character






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






16. Boolean OR operator






17. array method that removes last item from an array






18. a string method that uncapitalizes first character






19. comparison operator for "not equal to"






20. a string method that capitalizes first character






21. mixing expressions into strings






22. a module of classes and or functions






23. a collection of characters such as "Hello world!"






24. (regular expression)any digit






25. interpolation operator






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






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






28. interpolation operator






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






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






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






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






33. greater than or equal to (comparison operator)






34. the remainder operator






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






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






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






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






39. a string method that removes last character






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






41. variable that can be used only where it is defined within an application






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






43. string method that determines if a string ends with a defined string






44. a string method that removes last character






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






46. defines array of multiple elements seperated by a space






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






48. (regular expression)any non-whitespace character






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






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