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. mixing expressions into strings






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






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






4. used in an expression to manipulate objects






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






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






7. a single instance of a class.






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






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






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






11. a whole number






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






13. a string method that removes last character






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






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 string method that changes last character to next alphabetical character






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






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






19. (regular expression)any non-whitespace character






20. a string method that uncapitalizes first character






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






22. array method that removes last item from an array






23. greater than or equal to (comparison operator)






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






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






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






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






28. Boolean OR operator






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






30. interpolation operator






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






32. a collection of objects with a defined order






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






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






35. conditionally stops a loop






36. Boolean AND operator






37. a set of code within a class or object






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






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






40. (regular expression)any non-whitespace character






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






42. pushes a new item onto the end of an array.






43. returns ASCII value of x






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






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






46. a string method that capitalizes first character






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






48. (regular expression)any digit






49. operator for "Boolean not"






50. a fixed value that begins with a capital letter such as Pi.