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 special class that holds attributes and data but no methods.






2. conditionally stops a loop






3. comparison operator for "not equal to"






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






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






6. a string method that capitalizes first character






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






8. a collection of objects with a defined order






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






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






11. an array method that






12. Boolean OR operator






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






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






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






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






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






18. class inheritance operator.






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






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






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






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






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






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






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






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






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






28. a set of code within a class or object






29. (regular expression)any non-whitespace character






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






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






32. (regular expression)any non-whitespace character






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






34. Boolean not and or (lower preference)






35. returns ASCII value of x






36. operator for "Boolean not"






37. comparison operator for "not equal to"






38. operator for "Boolean not"






39. a module of classes and or functions






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






41. a string method that removes last character






42. a way to describe patterns in text






43. a string method that reverses capitalization






44. mixing expressions into strings






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






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






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






48. (regular expression)any nondigit






49. Boolean AND operator






50. a string method that uncapitalizes first character