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 definition of a concept in an object oriented language.






2. the ternary operator if?then:else






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






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






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






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






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






8. operator for "Boolean not"






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






10. a string method that removes last character






11. sets a text delimiter






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






13. Boolean not and or (lower preference)






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






15. a way to describe patterns in text






16. array method that removes last item from an array






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






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






19. conditionally stops a loop






20. an array method that






21. (regular expression)any digit






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






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






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






25. method that sorts items alphabetically






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






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






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






29. an array method that






30. used in an expression to manipulate objects






31. a string method that uncapitalizes first character






32. Boolean AND operator






33. interpolation operator






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






35. Boolean OR operator






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






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






38. a string method that removes last character






39. (regular expression)any digit






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






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






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






43. array method that selects particular items from an array






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






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






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






47. class inheritance operator.






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






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






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