Before you start this track
A quick check — is your machine ready to code along? Sort this now and you won't have to break flow mid-lesson.
Install these
Install these now — you won't want to pause once the lessons start.- 1CLion
An IDE that already has everything: a C compiler (MinGW), CMake and the gdb debugger. Nothing else to install. CLion is already installed on the VIKO lab computers; on your own computer install it with the default settings.
Download CLion - 2A JetBrains student licence
CLion is free for students. Sign up with your university email.
Get a licence - 3A GitHub account
Every task is a commit in your repository, and homework goes in through GitHub Classroom: after every push GitHub runs the tests and AddressSanitizer.
Create an account
What we'll assume
- No prior programming experience needed: we start from zero.
- You know how to create a file and a folder on your computer.
- You are willing to read an error message and try again.
Time commitment
One semester: 36 hours of lectures, 54 hours of practicals and 70 hours of self-study. Topics and hours are in the module plan below.
Module plan
Hours from the official module plan. Practicals and self-study follow the lessons on this site.
| No. | Topic | Lectures | Practicals | Assessed | Self-study |
|---|---|---|---|---|---|
| 1 | Algorithms in pseudocode and flowcharts. The programming environment, compiling, the first program. | 2 | 4 | P | 4 |
| 2 | Variables and data types. Assignment and compound statements. Input and output. Overflow and numeric precision. | 2 | 4 | P | 6 |
| 3 | Conditional and loop statements. | 4 | 6 | P | 6 |
| 4 | Programming practice and tools: code style, compiler warnings, debugging, version control. | 2 | 2 | P | 4 |
| 5 | Functions. Preconditions and postconditions, testing functions. Recursion. | 4 | 4 | P | 8 |
| 6 | Arrays. Two-dimensional arrays. Searching an array and the basics of judging an algorithm's efficiency. | 4 | 6 | P, K | 8 |
| 7 | Splitting a program into modules: header and source files, building and documenting a program. | 2 | 2 | P | 4 |
| 8 | Data in memory, bit operations. Pointers: addresses, pointers and arrays, passing by pointer. | 4 | 6 | P | 6 |
| 9 | Strings. Working with text, safe input. | 2 | 4 | P | 4 |
| 10 | Structures. Arrays of structures and operations on them. | 4 | 6 | P | 6 |
| 11 | Files. File operations, error handling. | 2 | 4 | P | 6 |
| 12 | Dynamic memory: dynamic variables and arrays, building a resizable array. Finding memory errors. | 4 | 6 | P, K | 8 |
| Total | 36 | 54 | 70 | ||
Assessment
- P Practical work: each topic's homework (autotests and the checklist) 40 %
- K Two tests: after topic 6 (topics 1–6) and after topic 12 (topics 7–12) 30 %
- E Exam 30 %