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 special array made from arguments that were added to the command line at start up.






2. sets a text delimiter






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






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






5. a single instance of a class.






6. an array method that






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






8. the remainder operator






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






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






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






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






13. array method that removes last item from an array






14. (regular expression)any digit






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






16. the ternary operator if?then:else






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






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






19. a string method that capitalizes first character






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






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






22. a string method that removes last character






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






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






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






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






27. Boolean not and or (lower preference)






28. comparison operator for "not equal to"






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






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






31. assigns a key to a hash value






32. less than or equal to (comparison operator)






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






34. comaprison operator that will read 0 if = or 1 if higher or -1 if lower.






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






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






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






38. an array method that






39. operator for "Boolean not"






40. returns ASCII value of x






41. a set of code within a class or object






42. used in an expression to manipulate objects






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






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






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






46. a way to describe patterns in text






47. a string method that uncapitalizes first character






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






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






50. Boolean OR operator