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 sorts items alphabetically






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






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






4. array method that removes last item from an array






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






6. (regular expression)any digit






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






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






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






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






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






12. a collection of objects with a defined order






13. a string method that removes last character






14. a whole number






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






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






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






18. used in an expression to manipulate objects






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






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






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






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






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






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






25. assigns a key to a hash value






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






27. array method that removes last item from an array






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






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






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






31. a string method that makes string all caps.






32. comaprison operator that will read 0 if = or 1 if higher or -1 if lower.






33. a single instance of a class.






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






35. a way to describe patterns in text






36. (regular expression)any non-whitespace character






37. greater than or equal to (comparison operator)






38. returns ASCII value of x






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






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






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






42. defines array of multiple elements seperated by a space






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






44. class inheritance operator.






45. mixing expressions into strings






46. an array method that






47. comparison operator for "equal to"






48. less than or equal to (comparison operator)






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






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