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. interpolation operator






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






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






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






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






6. a collection of objects or values with associated keys






7. an array method that






8. a whole number






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






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






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






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






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






14. a string method that substitutes THE FIRST occurrence of a string within a string






15. assigns a key to a hash value






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






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






18. (regular expression)any non-whitespace character






19. Boolean AND operator






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






21. a string method that makes string all caps.






22. a string method that uncapitalizes first character






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






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






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






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






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






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






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






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






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






32. array method that removes last item from an array






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






34. a string method that capitalizes first character






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






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






37. array assignment oprator






38. a string method that removes last character






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






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






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






42. a way to describe patterns in text






43. greater than or equal to (comparison operator)






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






45. a module of classes and or functions






46. defines array of multiple elements seperated by a space






47. class inheritance operator.






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






49. method that sorts items alphabetically






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