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 number with a decimal point such as 1.0 or 3.1






2. (regular expression)any nondigit






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






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






5. defines an instance variable which only exists within the object it was created in.






6. a string method that capitalizes first character






7. class inheritance operator.






8. (regular expression)any non-whitespace character






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






10. the ternary operator if?then:else






11. returns ASCII value of x






12. used in an expression to manipulate objects






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






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






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






16. (regular expression)any non-whitespace character






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






18. defines array of multiple elements seperated by a space






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






20. interpolation operator






21. array method that removes last item from an array






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






23. a string method that uncapitalizes first character






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






25. less than or equal to (comparison operator)






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






27. array method that selects particular items from an array






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






29. a string method that makes string all caps.






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






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






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






33. assigns a key to a hash value






34. array method that removes last item from an array






35. a fixed value that begins with a capital letter such as Pi.






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






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






38. interpolation operator






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






40. Boolean OR operator






41. conditionally stops a loop






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






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






44. a variable that lists the directories where Ruby will look for libraries






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






46. a way to describe patterns in text






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






48. an array method that






49. a string method that reverses capitalization






50. method that sorts items alphabetically






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