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. mixing expressions into strings






2. sets a text delimiter






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






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






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






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






7. (regular expression)any nondigit






8. returns ASCII value of x






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






10. operator for "Boolean not"






11. comparison operator for "equal to"






12. tells ruby a value to pass while iterating a block of code






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






14. (regular expression)any nondigit






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






16. a collection of objects with a defined order






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






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






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






20. array method that selects particular items from an array






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






22. operator for "Boolean not"






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






24. a set of code within a class or object






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






26. methods that step through lists element by element (like each or upto or times etc)






27. the remainder operator






28. a module of classes and or functions






29. less than or equal to (comparison operator)






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






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






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






33. a way to describe patterns in text






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






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






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






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






38. conditionally stops a loop






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






40. greater than or equal to (comparison operator)






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






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






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






44. defines array of multiple elements seperated by a space






45. a collection of objects or values with associated keys






46. an array method that






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






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






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






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