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 sorts items alphabetically






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






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






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






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






6. the remainder operator






7. operator for "Boolean not"






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






9. the ternary operator if?then:else






10. a string method that makes string all caps.






11. comparison operator for "not equal to"






12. a placeholder for a single object that may be a number or string or list or instance of a defined class






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






14. (regular expression)any non-whitespace character






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






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






17. Boolean OR operator






18. Boolean AND operator






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






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






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






22. (regular expression)any non-whitespace character






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






24. operator for "Boolean not"






25. used in an expression to manipulate objects






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






27. array method that removes last item from an array






28. a set of code within a class or object






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






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






31. (regular expression)any nondigit






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






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






34. a collection of objects or values with associated keys






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






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






37. assigns a key to a hash value






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






39. a collection of objects with a defined order






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






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






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






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






44. sets a text delimiter






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






46. a module of classes and or functions






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






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






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






50. greater than or equal to (comparison 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