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. returns ASCII value of x






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






3. assigns a key to a hash value






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






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






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






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






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






9. sets a text delimiter






10. a string method that uncapitalizes first character






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






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






13. operator for "Boolean not"






14. a collection of objects or values with associated keys






15. greater than or equal to (comparison operator)






16. a string method that removes last character






17. array assignment oprator






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






19. Boolean not and or (lower preference)






20. a string method that makes string all caps.






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






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






23. a whole number






24. Boolean AND operator






25. a string method (with /REGEX/ and starting_point separated by comma) that outputs the first string matching the defined regular expression from an optionally defined starting point






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






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






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






29. methods that step through lists element by element (like each or upto or times etc)






30. (regular expression)any nondigit






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






32. a collection of objects with a defined order






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






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






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






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






37. used in an expression to manipulate objects






38. returns ASCII value of x






39. conditionally stops a loop






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






41. array method that selects particular items from an array






42. (regular expression)any non-whitespace character






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






44. an array method that






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






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






47. an array method that






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






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






50. a string method that reverses capitalization