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. a special class that holds attributes and data but no methods.






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






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






4. comparison operator for "not equal to"






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






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






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






8. a collection of objects with a defined order






9. an array method that






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






11. array method that removes last item from an array






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






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






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






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






16. a way to describe patterns in text






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






18. a collection of objects or values with associated keys






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






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






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






22. conditionally stops a loop






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






24. class inheritance operator.






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






26. (regular expression)any non-whitespace character






27. comparison operator for "equal to"






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






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






30. returns ASCII value of x






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






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






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






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






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






36. interpolation operator






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






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






39. (regular expression)any non-whitespace character






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






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






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






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






44. a string method that uncapitalizes first character






45. comparison operator for "not equal to"






46. sets a text delimiter






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






48. assigns a key to a hash value






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






50. comaprison operator that will read 0 if = or 1 if higher or -1 if lower.