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. array assignment oprator






2. class inheritance operator.






3. Boolean AND operator






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






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






6. (regular expression)any nondigit






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






8. defines array of multiple elements seperated by a space






9. a string method that removes last character






10. sets a text delimiter






11. Boolean not and or (lower preference)






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






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






14. conditionally stops a loop






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






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






17. array method that removes last item from an array






18. a string method that uncapitalizes first character






19. the remainder operator






20. a single instance of a class.






21. the ternary operator if?then:else






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






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






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






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






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






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






28. a variable that lists the directories where Ruby will look for libraries






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






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






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






32. returns ASCII value of x






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






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






35. array method that removes last item from an array






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






37. Boolean OR operator






38. assigns a key to a hash value






39. a string method that makes string all caps.






40. (regular expression)any nondigit






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






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






43. a way to describe patterns in text






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






45. a string method that removes last character






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






47. greater than or equal to (comparison operator)






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






49. (regular expression)any digit






50. a string method that capitalizes first character







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