1.
Which method acts as a natural way to get from strings to arrays?
2.
Which of the following statements is true for this Ruby on Rails code:
#!/usr/bin/ruby
class Example
VARx = 100
VARy = 200
def show
puts "Value of first the constant is #{VARx}"
puts "Value of the second constant is #{VARy}"
end
end
 

# Create Objects
object=Example.new()
object.show
3.
In Ruby on Rails, when a user creates a form using the form_for(@user) function, _________ and _________ are used when @user.new_-record is true and false respectively.
4.
In Ruby on Rails, the ______________ optimization technique is used to avoid recurred function calls.
5.
In Ruby on Rails, when a form submission is reviewed, which of the following hash contains the email and password as the key?
6.
In the following Ruby on Rails code, the do keyword contains ____________________________________.
<%= form_for(@user) do |f| %>
 

<%= f.label :name %>
<%= f.text_field :name %>
7.
In Ruby on Rails, in a page containing rollover images, ____________________ is the process of loading every image required before the page is rendered.
8.
Which of the following cryptographic hash functions is used in Ruby on Rails?
9.
In Ruby on Rails, what is the length of a valid password?
10.
In Ruby on Rails, which of the following methods corresponds to the updated action of the REST design style?