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. string method that determines if a string ends with a defined string






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






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






4. a whole number






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






6. a string method that capitalizes first character






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






8. (regular expression)any digit






9. a string method that uncapitalizes first character






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






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






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






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






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






15. operator for "Boolean not"






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






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






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






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






20. Boolean AND operator






21. array assignment oprator






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






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






24. a set of code within a class or object






25. a string method that capitalizes first character






26. greater than or equal to (comparison operator)






27. assigns a key to a hash value






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






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






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






31. a way to describe patterns in text






32. a module of classes and or functions






33. a string method that removes last character






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






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






36. used in an expression to manipulate objects






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






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






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






40. interpolation operator






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






42. the remainder operator






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






44. returns ASCII value of x






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






46. a collection of objects with a defined order






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






48. comparison operator for "equal to"






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






50. comparison operator for "not equal to"