w3resource

Scala Exercises, Practice, Solution

The Scala Programming Language

Scala is a general-purpose programming language providing support for both object-oriented programming and functional programming. The language has a strong static type system. Designed to be concise, many of Scala's design decisions are aimed to address criticisms of Java

The best way we learn anything is by practice and exercise questions. Here you have the opportunity to practice the Scala programming language concepts by solving the exercises starting from basic to more complex exercises. A sample solution is provided for each exercise. It is recommended to do these exercises by yourself first before checking the solution.

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

List of Scala Programming Exercises:

More...

List of Exercises with Solutions :

Popularity of Programming Language
Worldwide, Nov 2020 compared to a year ago:

Rank Change Language Share Trend
1 Python 30.8 % +1.8 %
2 Java 16.79 % -2.3 %
3 Javascript 8.37 % +0.3 %
4 C# 6.42 % -0.9%
5 PHP 5.92 % -0.2 %
6 C/C++ 5.78 % -0.2 %
7 R 4.16 % +0.4 %
8 Objective-C 3.57 % +1.0 %
9 Swift 2.29 % -0.2 %
10 TypeScript 1.84 % -0.0 %
11 Matlab 1.65 % -0.1 %
12   Kotlin 1.64 % -0.0 %
13 up arrow Go 1.43 % +0.2 %
14 down arrow Ruby 1.2 % -0.2 %
15 down arrow VBA 1.11 % -0.2 %
16 up arrow Rust 0.97 % +0.3 %
17 down arrow Scala 0.87 % -0.2 %
18 down arrow Visual Basic 0.78 % -0.2 %
19 up arrow Ada 0.62 % +0.3 %
20 up arrow Lua 0.58 % +0.2 %
21 up arrow Dart 0.57 % +0.2 %
22 down arrow Perl 0.47 % -0.1 %
23 down arrow Abap 0.45 % -0.1 %
24 down arrow Groovy 0.43 % -0.0 %
25 up arrow Julia 0.41 % +0.1 %
26 down arrow Cobol 0.32 % -0.0 %
27 up arrow Haskell 0.29 % +0.0 %
28 Delphi 0.27 % +0.0 %

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

TIOBE Index for November 2020

Nov 2020 Nov 2019 Change Programming Language Ratings Change
1 2 up arrow C 16.21% +0.17%
2 3 up arrow Python 12.12% +2.27%
3 1 Java 11.68% -4.57%
4 4 C++ 7.60% +1.99%
5 5 C# 4.67% +0.36%
6 6 Visual Basic 4.01% -0.22%
7 7 JavaScript 2.03% +0.10%
8 8 PHP 1.79% +0.07%
9 16 up arrow R 1.64% +0.66%
10 9 down arrow SQL 1.54% -0.15%
11 14 up arrow Groovy 1.51% +0.41%
12 21 up arrow Perl 1.51% +0.68%
13 20 up arrow Go 1.36% +0.51%
14 10 down arrow Swift 1.35% -0.31%
15 11 down arrow Ruby 1.22% -0.04%
16 15 down arrow Assembly language 1.17% +0.14%
17 19 up arrow MATLAB 1.10% +0.21%
18 13 down arrow Delphi/Object Pascal 0.86% -0.28%
19 12 down arrow Objective-C 0.84% -0.35%
20 32 up arrow Transact-SQL 0.82% +0.44%

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

[ Want to contribute to Python exercises? Send your code (attached with a .zip file) to us at w3resource[at]yahoo[dot]com. Please avoid copyrighted materials.]