Ruby On Rails Interview Questions

10 Questions

Settings
Please wait...
Ruby On Rails Interview Questions

Ruby on Rails is a server-side model-view-controller web application framework written in Ruby. This quiz consists of questions usually asked when a company or client wants to hire a Ruby on Rails developer.


Questions and Answers
  • 1. 
    Rails application framework is called... 
    • A. 

      ActiveRecord

    • B. 

      ActivePack

    • C. 

      ActionPack

    • D. 

      Web page

  • 2. 
    Which of these is not a various components of rail?
    • A. 

      Action pack

    • B. 

      Action model

    • C. 

      Action mailer

    • D. 

      Action development

  • 3. 
    Representation of a resource is called... 
    • A. 

      Ruby make

    • B. 

      Camel case

    • C. 

      Web page

    • D. 

      Action pack

  • 4. 
    What is rails object-relational mapping library?
    • A. 

      Active record

    • B. 

      Camelcase

    • C. 

      Web page

    • D. 

      Underscores

  • 5. 
    What is naming convention for file names?
    • A. 

      ActiveRecords

    • B. 

      Underscores

    • C. 

      Web page

    • D. 

      Validate

  • 6. 
    Which of these is not a feature of Rails?
    • A. 

      Active Record

    • B. 

      Scaffolding

    • C. 

      Convention over Configuration

    • D. 

      Models

  • 7. 
    Which of these is not a naming convention in Rails?
    • A. 

      Variables

    • B. 

      Class and module

    • C. 

      Database table

    • D. 

      Three environments

  • 8. 
    One of these is not an advantage of using Ruby on Rails? 
    • A. 

      DRY Principal (Don’t Repeat Yourself)

    • B. 

      Convention over Configuration

    • C. 

      Active Support

    • D. 

      Scaffolding

  • 9. 
    How many types of relationships does a model have? 
    • A. 

      2

    • B. 

      3

    • C. 

      4

    • D. 

      5

  • 10. 
    Rail models are typically based on what design pattern? 
    • A. 

      Route

    • B. 

      Controller

    • C. 

      ActiveRecords

    • D. 

      Layout