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. the representation of data from a start to end point






2. a collection of objects or values with associated keys






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






4. comparison operator for "equal to"






5. (regular expression)any non-whitespace character






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






7. comparison operator for "not equal to"






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






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






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






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






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






13. interpolation operator






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






15. assigns a key to a hash value






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






17. class inheritance operator.






18. a string method that uncapitalizes first character






19. sets a text delimiter






20. the remainder operator






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






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






23. a string method that makes string all caps.






24. a string method that reverses capitalization






25. array method that removes last item from an array






26. operator for "Boolean not"






27. Boolean AND operator






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






29. (regular expression)any nondigit






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






31. a whole number






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






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






34. array method that selects particular items from an array






35. array method that removes last item from an array






36. method that sorts items alphabetically






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






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






39. a string method that capitalizes first character






40. a string method that uncapitalizes first character






41. Boolean OR operator






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






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






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






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






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






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






48. a way to describe patterns in text






49. (regular expression)any digit






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