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. comparison operator for "not equal to"






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






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






4. used in an expression to manipulate objects






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






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






7. mixing expressions into strings






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 capitalizes first character






11. comparison operator for "equal to"






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






13. greater than or equal to (comparison operator)






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






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






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






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






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






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






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






21. Boolean not and or (lower preference)






22. class inheritance operator.






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






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






25. (regular expression)any digit






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






27. a module that works everywhere within ruby without being refereed to. Contains many common ruby methods.






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






29. Boolean OR operator






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






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






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






33. a string method that uncapitalizes first character






34. (regular expression)any nonletter or nondigit or nonunderscore.






35. array method that removes last item from an array






36. (regular expression)any digit






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






38. interpolation operator






39. sets a text delimiter






40. an array method that






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






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






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






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






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






46. method that sorts items alphabetically






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






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






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






50. interpolation operator







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests