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 letter or digit or underscore






2. a single instance of a class.






3. an array method that






4. a collection of objects or values with associated keys






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






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






7. an array method that






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






9. conditionally stops a loop






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






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






12. comparison operator for "not equal to"






13. the ternary operator if?then:else






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






15. sets a text delimiter






16. interpolation operator






17. array assignment oprator






18. (regular expression)any digit






19. a string method that uncapitalizes first character






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






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






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






23. (regular expression)any nondigit






24. the remainder operator






25. comaprison operator that will read 0 if = or 1 if higher or -1 if lower.






26. greater than or equal to (comparison operator)






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






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






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






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






31. less than or equal to (comparison operator)






32. (regular expression)any nondigit






33. method that sorts items alphabetically






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






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






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






37. a whole number






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






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






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






41. a string method that reverses capitalization






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






43. a regular method that is the anchor for the end of a line






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






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






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






47. defines array of multiple elements seperated by a space






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






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






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







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