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. sets a single character text delimiter for multi-line strings






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






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






4. a single instance of a class.






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






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






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






8. array assignment oprator






9. a whole number






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






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






12. less than or equal to (comparison operator)






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






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






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






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






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






18. an array method that






19. a string method that capitalizes first character






20. a string method that makes string all caps.






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






22. a string method that removes last character






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






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






25. Boolean not and or (lower preference)






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






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






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






29. a string method that reverses capitalization






30. defines array of multiple elements seperated by a space






31. interpolation operator






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






33. class inheritance operator.






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






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






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






37. the ternary operator if?then:else






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






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






40. a collection of objects or values with associated keys






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






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






43. a string method that substitutes THE FIRST occurrence of a string within a string






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






45. a string method that capitalizes first character






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






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






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






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






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