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. an array method that






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






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






4. runs a proc that has been stored to a variable






5. (regular expression)any non-whitespace character






6. an array method that






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






8. greater than or equal to (comparison operator)






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






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






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






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






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






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






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






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






17. defines array of multiple elements seperated by a space






18. a collection of objects or values with associated keys






19. a collection of objects with a defined order






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






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






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






23. the remainder operator






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






25. mixing expressions into strings






26. (regular expression)any digit






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






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






29. a way to describe patterns in text






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






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






32. array assignment oprator






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






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






35. array method that removes last item from an array






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






37. a string method that uncapitalizes first character






38. a string method that removes last character






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






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






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






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






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






44. the ternary operator if?then:else






45. comparison operator for "not equal to"






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






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






48. operator for "Boolean not"






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






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