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. method that tells an argument's place value within an array






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






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






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






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






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






7. a regular method that is the anchor for the end of a line






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






9. less than or equal to (comparison operator)






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






11. defines array of multiple elements seperated by a space






12. a string method that removes last character






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






14. (regular expression)any digit






15. operator for "Boolean not"






16. array assignment oprator






17. interpolation operator






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






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






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






21. a string method that capitalizes first character






22. a single instance of a class.






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






24. Boolean AND operator






25. interpolation operator






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






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






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






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






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






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






32. comparison operator for "not equal to"






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






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






35. (regular expression)any nondigit






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






37. a string method that capitalizes first character






38. returns ASCII value of x






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






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






41. a collection of objects with a defined order






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






43. class inheritance operator.






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






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






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






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






48. a string method that makes string all caps.






49. the ternary operator if?then:else






50. an array method that