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. a module of classes and or functions






2. (regular expression)any nondigit






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






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






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






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






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






8. (regular expression)any non-whitespace character






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






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






11. (regular expression)any digit






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






13. (regular expression)any non-whitespace character






14. (regular expression)any digit






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






16. interpolation operator






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






18. a string method that capitalizes first character






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






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






21. returns ASCII value of x






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






23. a whole number






24. a single instance of a class.






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






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






27. an array method that






28. a string method that removes last character






29. a string method that uncapitalizes first character






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






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






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






33. comparison operator for "equal to"






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






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






36. conditionally stops a loop






37. mixing expressions into strings






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






39. sets a text delimiter






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






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






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






43. operator for "Boolean not"






44. used in an expression to manipulate objects






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






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






47. array method that removes last item from an array






48. less than or equal to (comparison operator)






49. a string method that reverses capitalization






50. a string method that substitutes THE FIRST occurrence of a string within a string