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. an array method that returns TRUE or FALSE if the array contains specified item






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






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






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






5. an array method that






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






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






8. a string method that makes string all caps.






9. a string method that uncapitalizes first character






10. a string method that reverses capitalization






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






12. operator for "Boolean not"






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






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






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






16. array method that removes last item from an array






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






18. a string method that uncapitalizes first character






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






20. array method that removes last item from an array






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






22. (regular expression)any nondigit






23. array method that selects particular items from an array






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






25. a string method that removes last character






26. a string method that removes last character






27. a collection of objects with a defined order






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






29. Boolean AND operator






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






31. returns ASCII value of x






32. comparison operator for "equal to"






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






34. array assignment oprator






35. a string method that capitalizes first character






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






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






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






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






40. (regular expression)any nondigit






41. (regular expression)any non-whitespace character






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






43. a single instance of a class.






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






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






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






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






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






49. (regular expression)any non-whitespace character






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