uz
Feedback
Ruby Interview | Ruby on Rails

Ruby Interview | Ruby on Rails

Kanalga Telegram’da o‘tish

The Ruby Interview channel is a resource for preparing for Ruby developer interviews. It features questions, problem-solving solutions, and interview tips.

Ko'proq ko'rsatish
425
Obunachilar
Ma'lumot yo'q24 soatlar
+57 kunlar
+930 kunlar
Postlar arxiv
Which of the following commands is used to create a new migration in Rails?
Anonymous voting

Which Ruby library is most commonly used for dependency injection?
Anonymous voting

Which SOLID principle is violated if a class is responsible for both data processing logic and data persistence?
Anonymous voting

Which of the following methods violates data encapsulation?
Anonymous voting

What is the name of the architectural style that separates responsibilities into models, views, and controllers?
Anonymous voting

Which design pattern is typically used to construct objects with complex creation logic?
Anonymous voting

What does the super keyword do in Ruby?
Anonymous voting

Which of the following methods converts a string to a number?
Anonymous voting

Which of the following methods adds an element to the end of an array?
Anonymous voting

What will the following code return?
Anonymous voting

Which method reverses a string in Ruby?
Anonymous voting

What does the following code do? hash = { a: 1, b: 2, c: 3 } hash.each_key { |key| puts key }
Anonymous voting

Which method is used to create a new instance of a class in Ruby?
Anonymous voting

What will the following code return? arr = [1, 2, 3] arr.map { |x| x * 2 }
Anonymous voting