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 non-whitespace character






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






3. array assignment oprator






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






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






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






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






8. (regular expression)any nondigit






9. (regular expression)any non-whitespace character






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






11. class inheritance operator.






12. Boolean AND operator






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






14. the remainder operator






15. comparison operator for "not equal to"






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






17. a string method that removes last character






18. less than or equal to (comparison operator)






19. a string method that uncapitalizes first character






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






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






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






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






24. a way to describe patterns in text






25. interpolation operator






26. defines array of multiple elements seperated by a space






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






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






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






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






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






32. array method that removes last item from an array






33. an array method that






34. an array method that






35. returns ASCII value of x






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






37. a string method that capitalizes first character






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






39. the ternary operator if?then:else






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






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






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






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






44. comparison operator for "equal to"






45. method that sorts items alphabetically






46. sets a text delimiter






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






48. returns ASCII value of x






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






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







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