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. sets a single character text delimiter for multi-line strings






2. Boolean OR operator






3. array method that selects particular items from an array






4. method that sorts items alphabetically






5. interpolation operator






6. returns ASCII value of x






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






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






9. comparison operator for "equal to"






10. the remainder operator






11. mixing expressions into strings






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






13. (regular expression)any non-whitespace character






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






15. a set of code within a class or object






16. array assignment oprator






17. array method that removes last item from an array






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






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






20. used in an expression to manipulate objects






21. a string method that capitalizes first character






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






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






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






25. interpolation operator






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






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






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






29. (regular expression)any nondigit






30. a collection of objects or values with associated keys






31. the ternary operator if?then:else






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






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






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






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






36. (regular expression)any digit






37. (regular expression)any non-whitespace character






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






39. defines array of multiple elements seperated by a space






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






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






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






43. a string method that uncapitalizes first character






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






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






46. comparison operator for "not equal to"






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






48. operator for "Boolean not"






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






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