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. the remainder operator






3. string method that determines if a string starts with a defined string






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






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






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






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






8. a string method that substituition. Requires 2 arguments.






9. a special array made from arguments that were added to the command line at start up.






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






11. array method that selects particular items from an array






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






13. array method that removes last item from an array






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






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






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






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






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






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






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






21. mixing expressions into strings






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






23. sets a text delimiter






24. array assignment oprator






25. a set of code within a class or object






26. a collection of objects with a defined order






27. a string method that capitalizes first character






28. interpolation operator






29. operator for "Boolean not"






30. used in an expression to manipulate objects






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






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






33. comparison operator for "not equal to"






34. a string method that uncapitalizes first character






35. Boolean OR operator






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






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






38. Boolean AND operator






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






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






41. a module of classes and or functions






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






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






44. an array method that






45. array method that removes last item from an array






46. comparison operator for "equal to"






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






48. a string method that capitalizes first character






49. (regular expression)any non-whitespace character






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