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. (regular expression)any space or tab or newline or whitespace






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






3. the representation of data from a start to end point






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






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






6. comparison operator for "not equal to"






7. sets a text delimiter






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






9. a way to describe patterns in text






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






11. a module of classes and or functions






12. the remainder operator






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






14. a string method that capitalizes first character






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






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






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






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






19. interpolation operator






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






21. a string method that removes last character






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






23. array method that removes last item from an array






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






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






26. (regular expression)any non-whitespace character






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






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






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






30. interpolation operator






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






32. a string method that makes string all caps.






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






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






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






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






37. a string method that removes last character






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






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






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






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






42. an array method that






43. a collection of objects or values with associated keys






44. a string method that uncapitalizes first character






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






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






47. Boolean not and or (lower preference)






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






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






50. used in an expression to manipulate objects