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 string method that makes string all caps.






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






3. (regular expression)any nondigit






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






5. a string method that removes last character






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






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






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






9. a module of classes and or functions






10. a string method that uncapitalizes first character






11. returns ASCII value of x






12. (regular expression)any nondigit






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






14. a variable that lists the directories where Ruby will look for libraries






15. a string method that reverses capitalization






16. comparison operator for "not equal to"






17. a placeholder for a single object that may be a number or string or list or instance of a defined class






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






19. mixing expressions into strings






20. assigns a key to a hash value






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






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






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






24. a collection of objects with a defined order






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






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






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






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






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






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






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






32. comparison operator for "equal to"






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






34. array assignment oprator






35. a string method that uncapitalizes first character






36. an array method that






37. conditionally stops a loop






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






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






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






41. a string method that capitalizes first character






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






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






44. the remainder operator






45. interpolation operator






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






47. Boolean not and or (lower preference)






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






49. array method that selects particular items from an array






50. methods that step through lists element by element (like each or upto or times etc)