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. an array method that






2. conditionally stops a loop






3. comparison operator for "not equal to"






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






5. a whole number






6. comparison operator for "equal to"






7. comparison operator for "not equal to"






8. (regular expression)any nondigit






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






10. method that sorts items alphabetically






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






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






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






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






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






16. (regular expression)any non-whitespace character






17. defines array of multiple elements seperated by a space






18. sets a text delimiter






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






20. a string method that capitalizes first character






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






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






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






24. (regular expression)any digit






25. a set of code within a class or object






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






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






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






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






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






31. greater than or equal to (comparison operator)






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






33. a string method that uncapitalizes first character






34. a module of classes and or functions






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






36. a collection of objects with a defined order






37. interpolation operator






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






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






40. an array method that






41. array assignment oprator






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






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






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






45. a string method that removes last character






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






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






48. array method that selects particular items from an array






49. used in an expression to manipulate objects






50. the remainder operator