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. runs a proc that has been stored to a variable






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






3. a whole number






4. a string method that uncapitalizes first character






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






6. used in an expression to manipulate objects






7. assigns a key to a hash value






8. (regular expression)any nondigit






9. method that sorts items alphabetically






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






11. greater than or equal to (comparison operator)






12. a set of code within a class or object






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






14. returns ASCII value of x






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






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






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






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






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






20. conditionally stops a loop






21. class inheritance operator.






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






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






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






25. comparison operator for "not equal to"






26. the ternary operator if?then:else






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






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






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






30. a string method that capitalizes first character






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






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






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






34. a string method that removes last character






35. a string method that reverses capitalization






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






37. array method that removes last item from an array






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






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






40. array method that selects particular items from an array






41. a way to describe patterns in text






42. (regular expression)any nondigit






43. Boolean not and or (lower preference)






44. an array method that






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






46. Boolean OR operator






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






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






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






50. a string method that capitalizes first 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