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. array method that removes last item from an array






2. a collection of objects with a defined order






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






4. class inheritance operator.






5. (regular expression)any nondigit






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






7. (regular expression)any digit






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






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






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






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






12. an array method that






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






14. (regular expression)any nondigit






15. a string method that capitalizes first character






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






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






18. a string method that uncapitalizes first character






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






20. a way to describe patterns in text






21. less than or equal to (comparison operator)






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






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






24. a module of classes and or functions






25. sets a single character text delimiter for multi-line strings






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






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






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






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






30. the remainder operator






31. greater than or equal to (comparison operator)






32. a string method that capitalizes first character






33. a string method that makes string all caps.






34. array assignment oprator






35. a section of code with no discrete name which is not a method by itself that can be called upon and can receive an argument.






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






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






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






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






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






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






42. mixing expressions into strings






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






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






45. returns ASCII value of x






46. a single instance of a class.






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






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






49. defines array of multiple elements seperated by a space






50. conditionally stops a loop