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 capitalizes first character






2. a string method that uncapitalizes first character






3. returns ASCII value of x






4. a module that works everywhere within ruby without being refereed to. Contains many common ruby methods.






5. (regular expression)any non-whitespace character






6. a collection of objects with a defined order






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






8. a way to describe patterns in text






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






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






11. (regular expression)any digit






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






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






14. a whole number






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






16. a set of code within a class or object






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






18. a module of classes and or functions






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






20. a string method that removes last character






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






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






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






24. (regular expression)any non-whitespace character






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






26. a string method that reverses capitalization






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






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






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






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






31. operator for "Boolean not"






32. (regular expression)any nondigit






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






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






35. a single instance of a class.






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






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






38. a string method that removes last character






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






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






41. a collection of objects or values with associated keys






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






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






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






45. array method that removes last item from an array






46. an array method that






47. array assignment oprator






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






49. tells ruby a value to pass while iterating a block of code






50. operator for "Boolean not"