Engee documentation

Basics of programming in Engee

Course description

The course Fundamentals of Programming in Engee is designed to learn 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, symbols and strings, functions, conditional operators, loops, libraries.

Each section contains a theoretical part, practical examples and tasks for self-completion.

Knowledge requirements: course completion Welcome to Engee.

Total course time: ~6 hours.

Course program

Variables and data types

Variables, allowed variable names, basic data types are studied: integer, logical, real, complex, symbolic, string, vectors, matrices, as well as data type conversion.

Expressions

The assignment operator, arithmetic operators, logical operators, vector operators with a dot and comparison operators are studied.

Reading and writing data

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 files are studied.

Arrays

One-dimensional and two-dimensional arrays, ranges, operations with arrays, 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, the keyword are being studied return, usage of tuples in functions, named arguments, standard mathematical functions, scope of variables.

Conditional operators

Operators are studied if, else and elseif. practical examples of usage of conditional operators.

Cycles

The cycle is being studied for, cycle while, key words break and continue.

Libraries

Installation, connection and loading of libraries are studied, an overview of some commonly used Julia libraries is given, libraries are studied Plots.jl, LinearAlgebra.jl, as well as creating your own libraries.