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 string method that uncapitalizes first character






2. a string method that capitalizes first character






3. comparison operator for "not equal to"






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






5. a single instance of a class.






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






7. array method that removes last item from an array






8. array assignment oprator






9. interpolation operator






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






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






12. array method that removes last item from an array






13. Boolean not and or (lower preference)






14. defines array of multiple elements seperated by a space






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






16. mixing expressions into strings






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






18. a collection of objects with a defined order






19. returns ASCII value of x






20. a whole number






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






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






23. assigns a key to a hash value






24. a module of classes and or functions






25. comparison operator for "equal to"






26. a set of code within a class or object






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






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






29. an array method that






30. an array method that






31. returns ASCII value of x






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






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






34. a string method that capitalizes first character






35. runs a proc that has been stored to a variable






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






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






38. a special class that holds attributes and data but no methods.






39. Boolean OR operator






40. a special array made from arguments that were added to the command line at start up.






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






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






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






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






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






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






47. used in an expression to manipulate objects






48. a string method that removes last character






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






50. (regular expression)any nondigit