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 space or tab or newline or whitespace






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






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






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






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






6. a string method that uncapitalizes first character






7. operator for "Boolean not"






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






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






10. conditionally stops a loop






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






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






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






14. a set of code within a class or object






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






16. assigns a key to a hash value






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






18. defines array of multiple elements seperated by a space






19. a way to describe patterns in text






20. operator for "Boolean not"






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






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






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






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






25. array assignment oprator






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






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






28. greater than or equal to (comparison operator)






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






30. a collection of objects with a defined order






31. a string method that reverses capitalization






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






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






34. returns ASCII value of x






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






36. used in an expression to manipulate objects






37. interpolation operator






38. sets a text delimiter






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






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






41. comparison operator for "not equal to"






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






43. (regular expression)any digit






44. comparison operator for "equal to"






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






46. a string method that capitalizes first character






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






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






49. a string method that uncapitalizes first character






50. Boolean not and or (lower preference)