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. interpolation operator






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






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






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






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






6. an array method that






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






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






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






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






11. defines array of multiple elements seperated by a space






12. a collection of objects or values with associated keys






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






14. an array method that






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






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






17. a string method that uncapitalizes first character






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






19. interpolation operator






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






21. tells ruby a value to pass while iterating a block of code






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






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






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






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






26. used in an expression to manipulate objects






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






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






29. comparison operator for "not equal to"






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






31. a collection of objects with a defined order






32. (regular expression)any non-whitespace character






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






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






35. a string method that capitalizes first character






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






37. array assignment oprator






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






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






40. Boolean OR operator






41. a way to describe patterns in text






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






43. a string method that removes last character






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






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






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






47. mixing expressions into strings






48. comparison operator for "not equal to"






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






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






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