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. (regular expression)any letter or digit or underscore






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






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






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






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






6. comparison operator for "not equal to"






7. a module of classes and or functions






8. array method that removes last item from an array






9. Boolean not and or (lower preference)






10. (regular expression)any digit






11. assigns a key to a hash value






12. a string method that reverses capitalization






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






14. defines array of multiple elements seperated by a space






15. mixing expressions into strings






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






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






18. Boolean AND operator






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






20. comparison operator for "not equal to"






21. operator for "Boolean not"






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






23. interpolation operator






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






25. array method that selects particular items from an array






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






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






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






29. a collection of objects or values with associated keys






30. a set of code within a class or object






31. Boolean OR operator






32. array assignment oprator






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






34. conditionally stops a loop






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






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






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






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






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






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






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






42. sets a text delimiter






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






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






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






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






47. method that sorts items alphabetically






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






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






50. a string method that makes string all caps.






Can you answer 50 questions in 15 minutes?



Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests