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 section of code with no discrete name which is not a method by itself that can be called upon and can receive an argument.






2. a string method that removes last character






3. an array method that






4. a collection of objects or values with associated keys






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






6. comparison operator for "not equal to"






7. a string method that removes last character






8. less than or equal to (comparison operator)






9. (regular expression)any nondigit






10. the ternary operator if?then:else






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






12. operator for "Boolean not"






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






14. sets a text delimiter






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






16. returns ASCII value of x






17. a string method that reverses capitalization






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






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






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






21. array assignment oprator






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






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






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






25. used in an expression to manipulate objects






26. conditionally stops a loop






27. using classes and objects to make real-world concepts in programming.






28. returns ASCII value of x






29. Boolean AND operator






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






31. a string method that capitalizes first character






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






33. (regular expression)any digit






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






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






36. (regular expression)any nondigit






37. comparison operator for "not equal to"






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






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






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






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






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






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






44. operator for "Boolean not"






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






46. the remainder operator






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






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






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






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