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. comparison operator for "not equal to"






2. conditionally stops a loop






3. method that sorts items alphabetically






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






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






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






7. (regular expression)any digit






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






9. a string method that uncapitalizes first character






10. (regular expression)any nondigit






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






12. operator for "Boolean not"






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






14. an array method that






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






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






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






18. array method that removes last item from an array






19. array method that removes last item from an array






20. a string method that uncapitalizes first character






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






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






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






24. operator for "Boolean not"






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






26. a string method that removes last character






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






28. a string method that makes string all caps.






29. a string method that removes last character






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






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






32. a single instance of a class.






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






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






35. (regular expression)any digit






36. less than or equal to (comparison operator)






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






38. a way to describe patterns in text






39. a string method that capitalizes first character






40. class inheritance operator.






41. a set of code within a class or object






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






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






44. used in an expression to manipulate objects






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






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






47. a collection of objects or values with associated keys






48. the remainder operator






49. comparison operator for "equal to"






50. the ternary operator if?then:else