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. (regular expression)any space or tab or newline or whitespace






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






3. mixing expressions into strings






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






5. defines array of multiple elements seperated by a space






6. a string method that capitalizes first character






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






8. (regular expression)any digit






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






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






11. (regular expression)any non-whitespace character






12. a string method that uncapitalizes first character






13. a whole number






14. method that sorts items alphabetically






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






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






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






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






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






20. (regular expression)any nondigit






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






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






23. array method that selects particular items from an array






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






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






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






27. comparison operator for "equal to"






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






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






30. a string method that makes string all caps.






31. an array method that






32. assigns a key to a hash value






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






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






35. Boolean AND operator






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






37. class inheritance operator.






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






39. greater than or equal to (comparison operator)






40. a collection of objects with a defined order






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






42. a string method that reverses capitalization






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






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






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






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






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






48. array method that removes last item from an array






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






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







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