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. the remainder operator






2. a string method that removes last character






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






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






5. a way to describe patterns in text






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






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






8. returns ASCII value of x






9. (regular expression)any nondigit






10. sets a single character text delimiter for multi-line strings






11. Boolean OR operator






12. less than or equal to (comparison operator)






13. comparison operator for "not equal to"






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






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






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






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






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






19. (regular expression)any nondigit






20. a string method that uncapitalizes first character






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






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






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






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






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






26. a collection of objects with a defined order






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






28. assigns a key to a hash value






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






30. mixing expressions into strings






31. returns ASCII value of x






32. Boolean AND operator






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






34. used in an expression to manipulate objects






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






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






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






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






39. a string method that removes last character






40. Boolean not and or (lower preference)






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






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






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






44. a string method that capitalizes first character






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






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






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






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






49. class inheritance operator.






50. array assignment oprator






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