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 reverses capitalization






3. operator for "Boolean not"






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






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






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






7. less than or equal to (comparison operator)






8. class inheritance operator.






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






10. greater than or equal to (comparison operator)






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






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






13. (regular expression)any nondigit






14. operator for "Boolean not"






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






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






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






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






19. a set of code within a class or object






20. returns ASCII value of x






21. a string method that removes last character






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






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






24. a whole number






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






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






27. returns ASCII value of x






28. a module of classes and or functions






29. (regular expression)any non-whitespace character






30. method that sorts items alphabetically






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






32. a single instance of a class.






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






34. (regular expression)any digit






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






36. comparison operator for "equal to"






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






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






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






40. array method that selects particular items from an array






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






42. Boolean not and or (lower preference)






43. a way to describe patterns in text






44. an array method that






45. (regular expression)any non-whitespace character






46. the ternary operator if?then:else






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






48. Boolean OR operator






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






50. array assignment oprator