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 to determine if an object is an even number






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






3. sets a text delimiter






4. a string method that substituition. Requires 2 arguments.






5. used in an expression to manipulate objects






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






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






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






9. returns ASCII value of x






10. array method that removes last item from an array






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






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






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






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






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






16. method that sorts items alphabetically






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






18. array method that selects particular items from an array






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






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






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






22. operator for "Boolean not"






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






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






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






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






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






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






29. (regular expression)any nondigit






30. symbol for a global variable which can be called from anywhere in an application.






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






32. Boolean not and or (lower preference)






33. a set of code within a class or object






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






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






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






37. a string method that capitalizes first character






38. class inheritance operator.






39. comparison operator for "not equal to"






40. a collection of objects or values with associated keys






41. (regular expression)any non-whitespace character






42. a collection of objects with a defined order






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






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






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






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






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






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






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






50. interpolation operator