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 with a defined order






2. (regular expression)any digit






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






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






5. Boolean AND operator






6. a collection of objects or values with associated keys






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






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






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






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






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






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






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






14. greater than or equal to (comparison operator)






15. Boolean not and or (lower preference)






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






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






18. a string method that removes last character






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






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






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






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






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






24. a string method that capitalizes first character






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






26. a string method that uncapitalizes first character






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






28. the ternary operator if?then:else






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






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






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






32. a module of classes and or functions






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






34. a set of code within a class or object






35. a string method that makes string all caps.






36. the remainder operator






37. Boolean OR operator






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






39. array method that removes last item from an array






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






41. array assignment oprator






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






43. a string method that removes last character






44. interpolation operator






45. comparison operator for "not equal to"






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






47. an array method that






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






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






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







Sorry!:) No result found.

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