Get ready

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

  1. 1
    CLion

    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
  2. 2
    A JetBrains student licence

    CLion is free for students. Sign up with your university email.

    Get a licence
  3. 3
    A 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.TopicLecturesPracticalsAssessedSelf-study
1Algorithms in pseudocode and flowcharts. The programming environment, compiling, the first program.24P4
2Variables and data types. Assignment and compound statements. Input and output. Overflow and numeric precision.24P6
3Conditional and loop statements.46P6
4Programming practice and tools: code style, compiler warnings, debugging, version control.22P4
5Functions. Preconditions and postconditions, testing functions. Recursion.44P8
6Arrays. Two-dimensional arrays. Searching an array and the basics of judging an algorithm's efficiency.46P, K8
7Splitting a program into modules: header and source files, building and documenting a program.22P4
8Data in memory, bit operations. Pointers: addresses, pointers and arrays, passing by pointer.46P6
9Strings. Working with text, safe input.24P4
10Structures. Arrays of structures and operations on them.46P6
11Files. File operations, error handling.24P6
12Dynamic memory: dynamic variables and arrays, building a resizable array. Finding memory errors.46P, K8
Total365470

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 %