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 digit






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






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






4. less than or equal to (comparison operator)






5. operator for "Boolean not"






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






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






8. a regular method that is the anchor for the end of a line






9. an array method that






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






11. returns ASCII value of x






12. the ternary operator if?then:else






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






14. a whole number






15. a string method that reverses capitalization






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






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






18. a collection of objects with a defined order






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






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






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






22. Boolean OR operator






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






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






25. array assignment oprator






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






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






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






29. class inheritance operator.






30. a string method that uncapitalizes first character






31. Boolean not and or (lower preference)






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






33. array method that selects particular items from an array






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






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






36. a single instance of a class.






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






38. the remainder operator






39. greater than or equal to (comparison operator)






40. a string method that uncapitalizes first character






41. a string method that capitalizes first character






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






43. (regular expression)any digit






44. operator for "Boolean not"






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






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






47. a set of code within a class or object






48. a way to describe patterns in text






49. a string method that capitalizes first character






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