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 collection of objects or values with associated keys






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






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






4. (regular expression)any digit






5. Boolean OR operator






6. method that sorts items alphabetically






7. Boolean AND operator






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






9. a string method that removes last character






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






11. (regular expression)any digit






12. comparison operator for "not equal to"






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






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






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






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






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






18. a set of code within a class or object






19. Boolean not and or (lower preference)






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






21. returns ASCII value of x






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






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






24. (regular expression)any nondigit






25. array method that removes last item from an array






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






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






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






29. a single instance of a class.






30. a collection of objects with a defined order






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






32. operator for "Boolean not"






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






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






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






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






37. used in an expression to manipulate objects






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






39. an array method that






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






41. a string method that makes string all caps.






42. (regular expression)any non-whitespace character






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






44. mixing expressions into strings






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






46. comparison operator for "not equal to"






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






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






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






50. array method that selects particular items from an array