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 if an argument is within the limits of two numbers






2. methods that step through lists element by element (like each or upto or times etc)






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






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






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






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






7. array method that removes last item from an array






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






9. Boolean not and or (lower preference)






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






11. interpolation operator






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






13. an array method that






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






15. the ternary operator if?then:else






16. a collection of objects with a defined order






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






18. array method that removes last item from an array






19. interpolation operator






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






21. a string method that reverses capitalization






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






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






24. (regular expression)any nondigit






25. a set of code within a class or object






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






27. sets a text delimiter






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






29. a way to describe patterns in text






30. array method that selects particular items from an array






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






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






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






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






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






36. a whole number






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






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






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






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






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






42. a string method that capitalizes first character






43. a collection of objects or values with associated keys






44. array assignment oprator






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






46. assigns a key to a hash value






47. (regular expression)any nondigit






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






49. operator for "Boolean not"






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







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