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. a string method that scans object for arguments - uses regular expressions.






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






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






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






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






6. interpolation operator






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






8. mixing expressions into strings






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






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






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






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






13. a string method that uncapitalizes first character






14. (regular expression)any non-whitespace character






15. (regular expression)any non-whitespace character






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






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






18. the remainder operator






19. array method that removes last item from an array






20. operator for "Boolean not"






21. a string method that capitalizes first character






22. (regular expression)any nondigit






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






24. a string method that removes last character






25. a string method that capitalizes first character






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






27. (regular expression)any digit






28. comparison operator for "not equal to"






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






30. a string method that makes string all caps.






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






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






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






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






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






36. array assignment oprator






37. a collection of characters such as "Hello world!"






38. Boolean OR operator






39. defines a class variable. Can be used anywhere within a class






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






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






42. a string method that reverses capitalization






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






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






45. conditionally stops a loop






46. comparison operator for "not equal to"






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






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






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






50. assigns a key to a hash value