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. used in an expression to manipulate objects






2. assigns a key to a hash value






3. a module of classes and or functions






4. the ternary operator if?then:else






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






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






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






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






9. a way to describe patterns in text






10. comparison operator for "not equal to"






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






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






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






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






15. the remainder operator






16. mixing expressions into strings






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






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






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






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






21. a string method that makes string all caps.






22. comparison operator for "equal to"






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






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






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






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






27. a collection of objects or values with associated keys






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






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






30. a collection of objects with a defined order






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






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






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






34. a string method that uncapitalizes first character






35. (regular expression)any nondigit






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






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






38. pushes a new item onto the end of an array.






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






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






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






42. array method that removes last item from an array






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






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






45. array method that removes last item from an array






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






47. a set of code within a class or object






48. defines array of multiple elements seperated by a space






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






50. comaprison operator that will read 0 if = or 1 if higher or -1 if lower.







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