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. a string method that capitalizes first character






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






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






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






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






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






7. defines a class variable. Can be used anywhere within a class






8. a string method that makes string all caps.






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






10. an array method that






11. (regular expression)any nondigit






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






13. a string method that removes last character






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






15. method that sorts items alphabetically






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






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






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






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






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






21. a module of classes and or functions






22. (regular expression)any digit






23. greater than or equal to (comparison operator)






24. interpolation operator






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






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






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






28. a string method that uncapitalizes first character






29. pushes a new item onto the end of an array.






30. operator for "Boolean not"






31. a whole number






32. a collection of objects or values with associated keys






33. array method that removes last item from an array






34. used in an expression to manipulate objects






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






36. returns ASCII value of x






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






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






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






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






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






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






43. class inheritance operator.






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






45. string method that determines if a string ends with a defined string






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






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






48. array method that removes last item from an array






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






50. a set of code within a class or object