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. array assignment oprator






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






3. a collection of objects or values with associated keys






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






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






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






7. a string method that capitalizes first character






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






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






10. (regular expression)any digit






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






12. a collection of objects with a defined order






13. conditionally stops a loop






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






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






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






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






18. a single instance of a class.






19. an array method that






20. operator for "Boolean not"






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






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






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






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






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






26. Boolean not and or (lower preference)






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






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






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






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






31. a string method that uncapitalizes first character






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






33. mixing expressions into strings






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






35. a whole number






36. Boolean OR operator






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






38. comparison operator for "not equal to"






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






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






41. (regular expression)any non-whitespace character






42. Boolean AND operator






43. a set of code within a class or object






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






45. less than or equal to (comparison operator)






46. array method that removes last item from an array






47. (regular expression)any nondigit






48. method that sorts items alphabetically






49. array method that removes last item from an array






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