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. comaprison operator that will read 0 if = or 1 if higher or -1 if lower.






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






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






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






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






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






7. (regular expression)any digit






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






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






10. conditionally stops a loop






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






12. interpolation operator






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






14. a single instance of a class.






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






16. a string method that makes string all caps.






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






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






19. a string method that uncapitalizes first character






20. assigns a key to a hash value






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






22. an array method that






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






24. operator for "Boolean not"






25. (regular expression)any letter or digit or underscore






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






27. method that sorts items alphabetically






28. interpolation operator






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






30. an array method that






31. a whole number






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






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






34. comparison operator for "equal to"






35. greater than or equal to (comparison operator)






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






37. mixing expressions into strings






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






39. a string method that capitalizes first character






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






41. array method that removes last item from an array






42. (regular expression)any digit






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






44. (regular expression)any nondigit






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






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






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






48. a string method that removes last character






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






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