w3resource
Swift Programming Exercises

Swift Programming Exercises, Practice, Solution

Swift Programming Exercises with solution

Swift is a powerful general-purpose, multi-paradigm, compiled programming language developed by Apple Inc. for iOS, macOS, watchOS, tvOS, and Linux. Writing Swift code is interactive and fun and Swift includes modern features developers love. Swift is designed to work with Apple's Cocoa and Cocoa Touch frameworks and the large body of existing Objective-C (ObjC) code written for Apple products.

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 Swift language. Exercises are designed to enhance your ability to write well-structured Swift programs. Hope, these exercises help you to improve your Swift programming skills. Currently following sections are available, we are working hard to add more exercises. Happy Coding!

List of Swift Exercises:

Popularity of Programming Language
Worldwide, Jul 2018 compared to a year ago:

Rank Change Language Share Trend
1 up arrow Python 23.59 % +5.5%
2 down arrow Java 22.4 % -0.5 %
3 up arrow Javascript 8.49% +0.2 %
4 down arrow PHP 7.93 % -1.5 %
5 down arrow C# 7.84 % -0.5 %
6 C/C++ 6.28 % -0.8 %
7 up arrow R 4.18 % +0.0 %
8 down arrow Objective-C 3.4% -1.0 %
9 Swift 2.65 % -0.9%
10 Matlab 2.25 % -0.3 %
11 Ruby 1.59 % -0.5 %
12 up arrow TypeScript 1.58 % +0.3 %
13 down arrow VBA 1.42% -0.1 %
14 down arrow Visual Basic 1.2% -0.2 %
15 down arrow Scala 1.2 % -0.1 %
16 up arrow Kotlin 0.97 % +0.5 %
17 Go 0.93 % +0.3 %
18 down arrow Perl 0.78 % -0.1 %
19 down arrow lua 0.42 % -0.1 %
20 up arrow Rust 0.36 % +0.0 %
21 down arrow Haskell 0.3 % -0.1 %
22 down arrow Delphi 0.25% -0.1 %

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

TIOBE Index for July 2018

Jul 2018 Jul 2017 Change Programming Language Ratings Change
1 1 Java 16.139% +2.37%
2 2 C 14.662% +7.34%
3 3 C++ 7.615% +2.04%
4 4 Python 6.361% +2.82%
5 7 up arrow Visual Basic .NET 4.247% +1.20%
6 5 down arrow C# 3.795% +0.28%
7 8 down arrow PHP 2.832% -0.26%
8 8 JavaScript 2.831% +0.22
9 - up arrow SQL 2.334% +2.33%
10 18 up arrow Objective-C 1.453% -0.44%
11 12 Swift 1.412% -0.84%
12 13 up arrow Ruby 1.203% -1.05%
13 14 up arrow Assembly language 1.154% -1.09%
14 15 down arrow R 1.150% -0.95%
15 17 up arrow MATLAB 1.130% -0.88%
16 9 down arrow Delphi/Object Pascal 1.109% -1.38%
17 11 down arrow Perl 1.101% -1.23%
18 10 down arrow Go 0.969% -1.39%
19 16 down arrow Visual Basic 0.885% -1.21%
20 20 PL/SQL 0.704% +0.84%

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

List of Exercises with Solutions :


ankara escort