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. array method that transforms the contents of an array according to a specified set of rules






2. a collection of objects with a defined order






3. data passed to methods in parenthesis after a method's name.






4. array method that removes last item from an array






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






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






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






8. (regular expression)any non-whitespace character






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






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






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






12. Boolean OR operator






13. a string method that reverses capitalization






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






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






16. method that sorts items alphabetically






17. (regular expression)any non-whitespace character






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






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






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






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






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






23. comparison operator for "equal to"






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






25. less than or equal to (comparison operator)






26. interpolation operator






27. the remainder operator






28. operator for "Boolean not"






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






30. a single instance of a class.






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






32. a string method that removes last character






33. comparison operator for "not equal to"






34. a set of code within a class or object






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






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






37. data passed to methods in parenthesis after a method's name.






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






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






40. an array method that






41. a collection of objects or values with associated keys






42. returns ASCII value of x






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






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






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






46. sets a text delimiter






47. (regular expression)any digit






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






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






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







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