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)any letter or digit or underscore






2. comparison operator for "not equal to"






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






4. Boolean OR operator






5. a set of code within a class or object






6. a single instance of a class.






7. method that sorts items alphabetically






8. a string method that makes string all caps.






9. comparison operator for "equal to"






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






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






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






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






14. a string method that removes last character






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






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






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






18. defines array of multiple elements seperated by a space






19. interpolation operator






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






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






22. array assignment oprator






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






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






25. the remainder operator






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






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






28. interpolation operator






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






30. a string method that capitalizes first character






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






32. a collection of objects or values with associated keys






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






34. a string method that removes last character






35. the ternary operator if?then:else






36. (regular expression)any nondigit






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






38. Boolean AND operator






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






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






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






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






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






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






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






46. (regular expression)any digit






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






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






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






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