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. allows for classes to relate to each other in a hierarchy






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






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






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






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






6. operator for "Boolean not"






7. Data type that is assigned at initialization and typically does not change. Starts with a capital letter.






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






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






10. the ternary operator if?then:else






11. comparison operator for "equal to"






12. less than or equal to (comparison operator)






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






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






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






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






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






18. (regular expression)any digit






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






20. mixing expressions into strings






21. a regular method that is the anchor for the end of a line






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






23. (regular expression)any non-whitespace character






24. a single instance of a class.






25. returns ASCII value of x






26. a collection of objects with a defined order






27. pushes a new item onto the end of an array.






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






29. used in an expression to manipulate objects






30. a string method that capitalizes first character






31. assigns a key to a hash value






32. method that sorts items alphabetically






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






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






35. a string method that capitalizes first character






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






37. a string method that uncapitalizes first character






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






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






40. a way to describe patterns in text






41. conditionally stops a loop






42. array assignment oprator






43. Boolean AND operator






44. greater than or equal to (comparison operator)






45. class inheritance operator.






46. a module of classes and or functions






47. a string method that reverses capitalization






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






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






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







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