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. comparison operator for "not equal to"






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






3. array method that removes last item from an array






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






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






6. array method that removes last item from an array






7. returns ASCII value of x






8. a module of classes and or functions






9. less than or equal to (comparison operator)






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






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






12. an array method that






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






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






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






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






17. (regular expression)any digit






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






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






20. (regular expression)any nondigit






21. interpolation operator






22. (regular expression)any nondigit






23. Boolean not and or (lower preference)






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






25. array method that selects particular items from an array






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






27. (regular expression)any non-whitespace character






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






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






30. (regular expression)any digit






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






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






33. greater than or equal to (comparison operator)






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






35. a string method that uncapitalizes first character






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






37. conditionally stops a loop






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






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






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






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






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






43. the ternary operator if?then:else






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






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






46. a way to describe patterns in text






47. operator for "Boolean not"






48. a collection of objects or values with associated keys






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






50. a module that works everywhere within ruby without being refereed to. Contains many common ruby methods.