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 nonletter or nondigit or nonunderscore.






2. greater than or equal to (comparison operator)






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






4. returns ASCII value of x






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






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






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






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






9. array method that removes last item from an array






10. a string method that uncapitalizes first character






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






12. method that tells an argument's place value within an array






13. defines an instance variable which only exists within the object it was created in.






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






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






16. returns ASCII value of x






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






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






19. (regular expression)any digit






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






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






22. a string method that uncapitalizes first character






23. a string method that reverses capitalization






24. operator for "Boolean not"






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






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






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






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






29. (regular expression)any non-whitespace character






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






31. a way to describe patterns in text






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






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






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






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






36. a single instance of a class.






37. array assignment oprator






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






39. interpolation operator






40. an array method that






41. comparison operator for "equal to"






42. a string method that removes last character






43. (regular expression)any non-whitespace character






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






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






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






47. class inheritance operator.






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






49. less than or equal to (comparison operator)






50. array method that selects particular items from an array