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. (regular expression)any non-whitespace character






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






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






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






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






6. (regular expression)any non-whitespace character






7. greater than or equal to (comparison operator)






8. used in an expression to manipulate objects






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






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






11. a string method that capitalizes first character






12. the remainder operator






13. Boolean not and or (lower preference)






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






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






16. interpolation operator






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






18. a single instance of a class.






19. comparison operator for "not equal to"






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






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






22. sets a text delimiter






23. (regular expression)any digit






24. a string method (with /REGEX/ and starting_point separated by comma) that outputs the first string matching the defined regular expression from an optionally defined starting point






25. interpolation operator






26. a way to describe patterns in text






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






28. a string method that removes last character






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






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






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






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






33. returns ASCII value of x






34. array method that removes last item from an array






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






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






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






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






39. Boolean OR operator






40. a string method that uncapitalizes first character






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






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






43. operator for "Boolean not"






44. a string method that reverses capitalization






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






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






47. a string method that removes last character






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






49. an array method that






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