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. a number with a decimal point such as 1.0 or 3.1






2. comparison operator for "equal to"






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






4. (regular expression)any non-whitespace character






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






6. array method that removes last item from an array






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






8. returns ASCII value of x






9. (regular expression)any nondigit






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






11. mixing expressions into strings






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






13. interpolation operator






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






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






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






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






18. an array method that






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






20. conditionally stops a loop






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






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






23. a collection of objects with a defined order






24. Boolean OR operator






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






26. an array method that






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






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






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






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






31. a string method that makes string all caps.






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






33. a string method that capitalizes first character






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






35. a single instance of a class.






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






37. comparison operator for "not equal to"






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






39. array method that removes last item from an array






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






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






42. returns ASCII value of x






43. array assignment oprator






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






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






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






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






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






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






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







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