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 string method that capitalizes first character






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






3. a set of code within a class or object






4. array method that removes last item from an array






5. a way to describe patterns in text






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






7. an array method that






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






9. (regular expression)any non-whitespace character






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






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






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






13. a string method that removes last character






14. sets a text delimiter






15. comparison operator for "not equal to"






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






17. class inheritance operator.






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






19. array assignment oprator






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






21. a whole number






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






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






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






25. used in an expression to manipulate objects






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






27. returns ASCII value of x






28. a single instance of a class.






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






30. a string method that removes last character






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






32. defines array of multiple elements seperated by a space






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






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






35. assigns a key to a hash value






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






37. operator for "Boolean not"






38. method that sorts items alphabetically






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






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






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






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






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






44. a string method that uncapitalizes first character






45. conditionally stops a loop






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






47. Boolean AND operator






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






49. greater than or equal to (comparison operator)






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







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