Ruby Programming Interview Questions and Answers

Ruby Programming Interview Questions and Answers

Ruby is a general-purpose, dynamic programming language. Ruby was created by Yukihiro Matsumoto, or “Matz”, in Japan in the mid 1990’s. Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp. It runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. It supports multiple programming paradigms, including functional, object-oriented, and imperative. It also has a dynamic type system and automatic memory management. First version release of Ruby 0.95 in 1995, several stable versions of Ruby were released.  Current version is Ruby 2.5.1(March 28, 2018).

What is Ruby?

What are the features of Ruby?

Why Ruby?

What is RubyGems in Ruby?

What is Rails?

What is an iterator in Ruby?

What is portability in Ruby?

What is the scope of a constant?

What is the difference between nil and false in Ruby?

What is the primary difference in these two code things?

How you define an Instance Variable, Global Variable and Class Variable in Ruby?

What is Float, MAX, MIN, NAN and DIG in Ruby?

What is the difference between .. and ...?

How can you declare a block in Ruby?

Where are + + and - - operators in Ruby?

What are the common I/O port modes in Ruby?

What is self in Ruby?

What is the main difference between load and require in Ruby?

What is the use trap in Ruby?

How would you create getter and setter methods in Ruby?

What are levels of method access control for classes in Ruby?

In how many ways items can be removed from array in Ruby?

How can I process a file and update its contents in Ruby?

What do MatchData#begin and MatchData#end return in Ruby?

What is Ruby Hashes?

Can you explain command line executed in Ruby?

What are class libraries in Ruby language?

How to create a new time instance in Ruby?

Name different methods for IO console in Ruby?

See more: Ruby on Rails Interview Questions and Answers

What is sysread method in Ruby?

How do you write to STDOUT in Ruby?

Explain about ruby names?

Explain using comments in Ruby?

What is Ruby code blocks?

See more: Ruby on Rails Interview Questions and Answers

Follow us on Social Media

Related Posts

No Comments

Post a Reply