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 letter or digit or underscore






2. (regular expression)any nondigit






3. string method that determines if a string ends with a defined string






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






5. (regular expression)any non-whitespace character






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






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






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






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






10. (regular expression)any non-whitespace character






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






12. comparison operator for "equal to"






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






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






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






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






17. Boolean not and or (lower preference)






18. class inheritance operator.






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






20. (regular expression)any nondigit






21. operator for "Boolean not"






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






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






24. assigns a key to a hash value






25. a single instance of a class.






26. a string method that uncapitalizes first character






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






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






29. the process of deciding which sections of code to execute based on conditions






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






31. mixing expressions into strings






32. a collection of objects with a defined order






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






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






35. an array method that






36. operator for "Boolean not"






37. method that sorts items alphabetically






38. Boolean AND operator






39. conditionally stops a loop






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






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






42. (regular expression)any digit






43. a string method that removes last character






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






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






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






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






48. less than or equal to (comparison operator)






49. array method that removes last item from an array






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







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