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. passes value into block of code and assigns it the label of "x"






2. a string method that uncapitalizes first character






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






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






5. a single instance of a class.






6. conditionally stops a loop






7. a string method that removes last character






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






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






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






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






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






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






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






15. comparison operator for "not equal to"






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






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






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






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






20. array assignment oprator






21. returns ASCII value of x






22. operator for "Boolean not"






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






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






25. a module of classes and or functions






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






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






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






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






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






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






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






33. (regular expression)any digit






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






35. assigns a key to a hash value






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






37. a set of code within a class or object






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






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






40. a string method that reverses capitalization






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






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






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






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






45. defines array of multiple elements seperated by a space






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






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






48. the remainder operator






49. Boolean not and or (lower preference)






50. a collection of objects or values with associated keys







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