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. a collection of objects or values with associated keys






2. a string method that uncapitalizes first character






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






4. the remainder operator






5. sets a text delimiter






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






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






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






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






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






11. using classes and objects to make real-world concepts in programming.






12. a module of classes and or functions






13. a string method that makes string all caps.






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






15. (regular expression)any nondigit






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






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






18. class inheritance operator.






19. sets a single character text delimiter for multi-line strings






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






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






22. (regular expression)any non-whitespace character






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






24. mixing expressions into strings






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






26. an array method that






27. defines array of multiple elements seperated by a space






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






29. a string method that substitutes THE FIRST occurrence of a string within a string






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






31. (regular expression)any non-whitespace character






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






33. comparison operator for "not equal to"






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






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






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






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






38. array method that removes last item from an array






39. a single instance of a class.






40. array method that removes last item from an array






41. comparison operator for "equal to"






42. assigns a key to a hash value






43. (regular expression)any digit






44. a collection of characters such as "Hello world!"






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






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






47. less than or equal to (comparison operator)






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






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






50. interpolation operator







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