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 returns TRUE or FALSE if the array contains specified item






2. defines array of multiple elements seperated by a space






3. comparison operator for "not equal to"






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






5. interpolation operator






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






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






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






9. (regular expression)any non-whitespace character






10. comparison operator for "not equal to"






11. (regular expression)any digit






12. a string method that makes string all caps.






13. (regular expression)any nondigit






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






15. Boolean not and or (lower preference)






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






17. less than or equal to (comparison operator)






18. (regular expression)any non-whitespace character






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






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






21. (regular expression)any digit






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






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






24. array method that removes last item from an array






25. string method that determines if a string ends with a defined string






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






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






28. an array method that






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






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






31. pushes a new item onto the end of an array.






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






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






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






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






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






37. returns ASCII value of x






38. a string method that capitalizes first character






39. assigns a key to a hash value






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






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






42. a collection of objects or values with associated keys






43. array assignment oprator






44. class inheritance operator.






45. sets a text delimiter






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






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






48. mixing expressions into strings






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






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