Log In
Join
for free
Back To Module Home
Ruby Classes
0% completed
Built-in Class: Numeric
Working with Numbers
Quiz on Numerics
Exercise 1: Playing with Numbers
Exercise 2: Finding Modulo
Exercise 3: Even or Odd?
Built-in Class: String
Working with Strings
String Interpolation
Quiz on Strings
Exercise 1: Concatenate Substrings
Exercise 2: Padding and Justifying
Exercise 3: Convert String to Float
Exercise 4: Prepend a String
Exercise 5: Remove Characters from a String
Built-in Classes: TrueClass, FalseClass and NILClass
The true, false, and nil Objects
Built-in Class: Symbol
Working with Symbols
Built-in Class: Array
Working with Arrays
Things We Can Do with Arrays
Quiz on Arrays
Exercise 1: Create an Array
Exercise 2: Interleaving
Exercise 3: Make an Expression
Exercise 4: Replace an Element in the Array
Exercise 5: Retrieve and Recombine Elements of an Array
Exercise 6: Reverse the Array
Exercise 7: Delete an Element
Built-in Class: Hash
Working with Hashes
Things We Can Do with Hashes
Hash Syntax Confusion
Quiz on Hashes
Exercise 1: Create a Hash
Exercise 2: Nested Hash
Exercise 3: Flip the Keys and Values
Conclusion
Final Remarks
Home
/
...
/
Quiz on Hashes
Quiz on Hashes
Take a quiz on some hash concepts.
Quiz scenario
Consider a hash named
...