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. an array method that returns TRUE or FALSE if the array contains specified item






2. a string method that removes last character






3. (regular expression)any nondigit






4. Boolean OR operator






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






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






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






8. operator for "Boolean not"






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






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






11. sets a text delimiter






12. a string method that uncapitalizes first character






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






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






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






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






17. a string method that uncapitalizes first character






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






19. a module of classes and or functions






20. a string method that capitalizes first character






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






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






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






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






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






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






27. less than or equal to (comparison operator)






28. comparison operator for "equal to"






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






30. the remainder operator






31. greater than or equal to (comparison operator)






32. Boolean not and or (lower preference)






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






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






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






36. a collection of objects with a defined order






37. array assignment oprator






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






39. comparison operator for "not equal to"






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






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






42. returns ASCII value of x






43. defines array of multiple elements seperated by a space






44. returns ASCII value of x






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






46. interpolation operator






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






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






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






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







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