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 uncapitalizes first character






2. comparison operator for "equal to"






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






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






5. a string method that reverses capitalization






6. conditionally stops a loop






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






8. Boolean not and or (lower preference)






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






10. comparison operator for "not equal to"






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






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






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






14. a string method that uncapitalizes first character






15. a collection of objects or values with associated keys






16. a collection of objects with a defined order






17. mixing expressions into strings






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






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






20. a fixed value that begins with a capital letter such as Pi.






21. interpolation operator






22. (regular expression)any digit






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






24. (regular expression)any nondigit






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






26. a string method that capitalizes first character






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






28. operator for "Boolean not"






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






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






31. (regular expression)any nondigit






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






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






34. a way to describe patterns in text






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






36. class inheritance operator.






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






38. (regular expression)any digit






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






40. operator for "Boolean not"






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






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






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






44. the remainder operator






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






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






47. interpolation operator






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






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






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