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. method that tells an argument's place value within an array






2. interpolation operator






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






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






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






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






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






8. array method that removes last item from an array






9. returns ASCII value of x






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






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






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






13. operator for "Boolean not"






14. string method that determines if a string starts with a defined string






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






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






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






18. a string method that makes string all caps.






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






20. array method that selects particular items from an array






21. assigns a key to a hash value






22. a collection of objects or values with associated keys






23. a module of classes and or functions






24. a placeholder for a single object that may be a number or string or list or instance of a defined class






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






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






27. a collection of objects with a defined order






28. comparison operator for "not equal to"






29. conditionally stops a loop






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






31. the remainder operator






32. a set of code within a class or object






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






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






35. (regular expression)any non-whitespace character






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






37. comparison operator for "equal to"






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






39. mixing expressions into strings






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






41. a string method that substituition. Requires 2 arguments.






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






43. (regular expression)any nondigit






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






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






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






47. sets a text delimiter






48. used in an expression to manipulate objects






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






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







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