Engee documentation

Engee Programming Fundamentals" course

Course Description

The Engee Programming Fundamentals course is designed to teach the basics of programming in Julia, the main language of Engee. The course introduces students to the following sections: variables and data types, expressions, reading and writing data, arrays, characters and strings, functions, conditional statements, loops, libraries.

Each section contains a theoretical part, practical examples and tasks for independent fulfilment.

Knowledge Requirements: Completion of the course Welcome to Engee course.

Total course time: ~10 hours.

Course Programme

Introduction to the Julia language

A brief overview of the main features of the Julia language, its advantages and disadvantages is given.

Variables and data types

We study variables, allowed variable names, basic data types: integer, logical, real, complex, rational, symbolic, string, vectors, matrices, tuples, sets, dictionaries, and data type conversion.

Expressions

Assignment operator, arithmetic operators, compound expressions, logical operators, bitwise operators, point vector operators and comparison operators are studied.

Reading and writing data

We study functions for displaying data on the screen, formatted output, keyboard input, functions for working with files (opening, reading, writing, closing and deleting files), working with numeric and graphic files.

Arrays

One-dimensional and two-dimensional arrays, ranges, array operations, indexing of array elements, functions for working with arrays, binary masks are studied.

Characters and strings

Character and string data types, string operations are studied.

Functions

The creation of functions, declaration of argument types, the return keyword, anonymous functions, the use of tuples in functions, named arguments, standard maths functions, and the scope of variables are studied.

Conditional operators

We study if, else and elseif operators, ternary operator ?:, practical examples of using conditional operators.

Cycles

The for loop, while loop, break and continue keywords are studied.

Libraries

The installation, connection and loading of libraries is explored, an overview of some of Julia’s commonly used libraries is given, the Plots.jl, Roots.jl, Symbolics.jl, NumericalIntegration.jl, LinearAlgebra.jl libraries are explored, as well as creating your own libraries.