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 that tells an argument's place value within an array






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






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






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






5. (regular expression)any nondigit






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






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






8. comparison operator for "not equal to"






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






10. method that sorts items alphabetically






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






12. a way to describe patterns in text






13. a number with a decimal point such as 1.0 or 3.1






14. (regular expression)any non-whitespace character






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






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






17. conditionally stops a loop






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






19. interpolation operator






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






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






22. a string method that removes last character






23. a string method that reverses capitalization






24. Boolean AND operator






25. a string method that uncapitalizes first character






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






27. (regular expression)any nondigit






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






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






30. the remainder operator






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






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






33. a collection of objects with a defined order






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






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






36. returns ASCII value of x






37. mixing expressions into strings






38. (regular expression)any non-whitespace character






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






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






41. operator for "Boolean not"






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






43. a string method that uncapitalizes first character






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






45. a string method that makes string all caps.






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






47. class inheritance operator.






48. used in an expression to manipulate objects






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






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







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests