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. (regular expression)anchor for the start of a string






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






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






4. less than or equal to (comparison operator)






5. a string method that makes string all caps.






6. a collection of objects with a defined order






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






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






9. a set of code within a class or object






10. a string method that capitalizes first character






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






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






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






14. a whole number






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






16. a single instance of a class.






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






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






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






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






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






22. greater than or equal to (comparison operator)






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






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






25. returns ASCII value of x






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






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






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






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






30. Boolean AND operator






31. a way to describe patterns in text






32. array method that removes last item from an array






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






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






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






36. a string method that reverses capitalization






37. array method that removes last item from an array






38. a string method that uncapitalizes first character






39. Boolean OR operator






40. array method that selects particular items from an array






41. a module of classes and or functions






42. a string method that removes last character






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






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






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






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






47. (regular expression)any digit






48. the remainder operator






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






50. comparison operator for "not equal to"







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