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. array method that transforms the contents of an array according to a specified set of rules






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






3. a module of classes and or functions






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






5. a collection of objects with a defined order






6. mixing expressions into strings






7. interpolation operator






8. array assignment oprator






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






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






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






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






13. class inheritance operator.






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






15. greater than or equal to (comparison operator)






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






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






18. (regular expression)any nondigit






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






20. Boolean OR operator






21. a collection of objects or values with associated keys






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






23. defines an instance variable which only exists within the object it was created in.






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






25. a single instance of a class.






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






27. returns ASCII value of x






28. (regular expression)any digit






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






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






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






32. comparison operator for "not equal to"






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






34. an array method that






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






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






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






38. a module that works everywhere within ruby without being refereed to. Contains many common ruby methods.






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






40. operator for "Boolean not"






41. operator for "Boolean not"






42. a string method that makes string all caps.






43. (regular expression)any nondigit






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






45. returns ASCII value of x






46. conditionally stops a loop






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






48. an array method that






49. a string method that uncapitalizes first character






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