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. method that tells an argument's place value within an array






2. a string method that removes last character






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






4. assigns a key to a hash value






5. conditionally stops a loop






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






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






8. returns ASCII value of x






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






10. comparison operator for "not equal to"






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






12. a single instance of a class.






13. a collection of objects with a defined order






14. a string method that makes string all caps.






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






16. a string method that removes last character






17. a string method that capitalizes first character






18. used in an expression to manipulate objects






19. (regular expression)any digit






20. (regular expression)any nondigit






21. comparison operator for "not equal to"






22. mixing expressions into strings






23. (regular expression)any digit






24. a string method that reverses capitalization






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






26. (regular expression)any nondigit






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






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






29. (regular expression)any non-whitespace character






30. interpolation operator






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






32. defines array of multiple elements seperated by a space






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






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






35. variable that can be used only where it is defined within an application






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






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






38. array method that removes last item from an array






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






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






41. array method that selects particular items from an array






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






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






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






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






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






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






48. a collection of objects or values with associated keys






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






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