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. conditionally stops a loop






2. greater than or equal to (comparison operator)






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






4. method that sorts items alphabetically






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






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






7. a string method that uncapitalizes first character






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






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






10. (regular expression)any non-whitespace character






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






12. (regular expression)any digit






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






14. assigns a key to a hash value






15. class inheritance operator.






16. (regular expression)any nondigit






17. comparison operator for "not equal to"






18. array method that removes last item from an array






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






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






21. a module of classes and or functions






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






23. an array method that






24. tells ruby a value to pass while iterating a block of code






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






26. a way to describe patterns in text






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






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






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






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






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






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






33. sets a text delimiter






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






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






36. comparison operator for "equal to"






37. an array method that






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






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






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






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






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






43. a string method that removes last character






44. interpolation operator






45. operator for "Boolean not"






46. a collection of objects with a defined order






47. a string method that removes last character






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






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






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