Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Ruby On Rails Interview Questions and Answers

  Difficulty Level: AllBeginnerIntermediateExperienced/Expert

Ques 1. What are Class Variables? How to define them?

Ques 2. How to define Instance variables?

Ques 3. What is the difference between ‘&&’, ‘AND’ and ‘&’ operators?

Ques 4. Does Ruby support Multiple Inheritence?

Ques 5. How can you define a Constant in Ruby on Rails?

Ques 6. What is the default access modifier for a method?

Ques 7. Define the Rails MVC implementation with an example.

Ques 8. What is Ruby On Rails?

Ques 9. Why Ruby on Rails?

Ques 10. Explain how (almost) everything is an object in Ruby.

Ques 11. What’s your favorite testing tool?

Ques 12. What are Gems and which are some of your favorites?

Ques 13. What is a class?

Ques 14. What is the difference between a class and a module?

Ques 15. What is an object?

Ques 16. How would you declare and use a constructor in Ruby?

Ques 17. How does a symbol differ from a string?

Ques 18. How and when would you declare a Global Variable?

Ques 19. How would you create getter and setter methods in Ruby?

Ques 20. Describe the difference between class and instance variables?

Ques 21. Example some of the looping structures available in Ruby?

Ques 22. What is a lambda?

©2022 WithoutBook