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. method that tells if an argument is within the limits of two numbers






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






3. (regular expression)any non-whitespace character






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






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






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






7. (regular expression)any digit






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






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






10. used in an expression to manipulate objects






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






12. method that sorts items alphabetically






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






14. a string method that reverses capitalization






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






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






17. defines array of multiple elements seperated by a space






18. Boolean OR operator






19. a collection of objects or values with associated keys






20. a way to describe patterns in text






21. comparison operator for "equal to"






22. array assignment oprator






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






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






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






26. greater than or equal to (comparison operator)






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






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






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






30. interpolation operator






31. a string method that uncapitalizes first character






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






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






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






35. a module of classes and or functions






36. assigns a key to a hash value






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






38. returns ASCII value of x






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






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






41. a string method that makes string all caps.






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






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






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






45. Boolean not and or (lower preference)






46. operator for "Boolean not"






47. a string method that removes last character






48. (regular expression)any nondigit






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






50. array method that removes last item from an array