w3resource
Ruby Exercises

Ruby Exercise practice with solution

Ruby Programming Language

Ruby is a simple and powerful object-oriented programming language, created by Yukihiro Matsumoto.

Like Perl, Ruby is good at text processing. Like Smalltalk, everything in Ruby is an object, and Ruby has blocks, iterators, meta-classes and other good stuff.

You can use Ruby to write servers, experiment with prototypes, and for everyday programming tasks. As a fully-integrated object-oriented language, Ruby scales well.

The best way we learn anything is by practice and exercise questions. We have started this section for those (beginner to intermediate) who are familiar with Ruby.

Hope, these exercises help you to improve your Ruby coding skills. Currently, following sections are available, we are working hard to add more exercises .... Happy Coding!

List of Ruby Exercises

More to Come !

Popularity of Programming Language
Worldwide, Feb 2019 compared to a year ago:

Rank Change Language Share Trend
1 up arrow Python 26.42 % +5.2%
2 down arrow Java 21.2 % -1.3 %
3 up arrow Javascript 8.21% -0.3 %
4 up arrow C# 7.57 % -0.5 %
5 down arrow PHP 7.34 % -1.2 %
6 C/C++ 6.23 % -0.3 %
7 R 4.13 % -0.1 %
8 Objective-C 3.04% -0.8 %
9 Swift 2.56 % -0.6%
10 Matlab 1.98 % -0.4 %
11 up arrow TypeScript 1.61 % +0.2 %
12 down arrow Ruby 1.54 % -0.2 %
13 down arrow VBA 1.44% -0.0 %
14 up arrow Scala 1.17% -0.1 %
15 up arrow Kotlin 1.15 % +0.3 %
16 down arrow Visual Basic 1.15 % -0.1 %
17 up arrow Go 1.05 % +0.3 %
18 down arrow Perl 0.58 % -0.2 %
19 Rust 0.43 % +0.1 %
20 Lua 0.35 % +0.0 %
21 up arrow Julia 0.3% +0.1 %
22 up arrow Haskell 0.3% +0.0 %
23 down arrow Delphi 0.25% -0.1 %

Source : http://pypl.github.io/PYPL.html

TIOBE Index for February 2019

Feb 2019 Feb 2018 Change Programming Language Ratings Change
1 1 Java 15.876% +0.89%
2 2 C 12.424% +0.57%
3 4 up arrow Python 7.574% +2.41%
4 3 down arrow C++ 7.444% +1.72%
5 6 up arrow Visual Basic .NET 7.095% +3.02%
6 8 up arrow JavaScript 2.848% -0.32%
7 5 down arrow C# 2.846% -1.61%
8 7 down arrow PHP 2.271% -1.15
9 11 up arrow SQL 1.900% -0.46%
10 20 up arrow Objective-C 1.447% +0.32%
11 15 up arrow Assembly language 1.377% -0.46%
12 19 up arrow MATLAB 1.196% -0.03%
13 17 up arrow Perl 1.102% -0.66%
14 9 down arrow Delphi/Object Pascal 1.066% -1.52%
15 13 down arrow R 1.043% -1.04%
16 10 down arrow Ruby 1.037% -1.50%
17 12 down arrow Visual Basic 0.991% -1.19%
18 18 Go 0.960% -0.46%
19 49 up arrow Groovy 0.936% +0.75%
20 16 down arrow Swift 0.918% -0.88%

Source : https://www.tiobe.com/tiobe-index/



New Content: Composer: Dependency manager for PHP, R Programming