Subject number:
Subject name:
Subject type:
Semester
obligatory or optional
general or professional
1004
Programming
Obligatory
Professional
1.
ECTS
Lectures
Exercises
Standalone work
Total
6
30
45
105
180
Lecturers and associates
dr.sc. Goran Đambić; Andrej Lacković, prof.
Aim of the subject
Introducing students to the ways of solving simple programming problems and creating computer algorithms using structured and procedural programming language.
Knowledge and skills
Algorithms and their computer-understandable form. C programming language syntax. Data types and structures, using data and cooperating with operating system.
Lectures content
Data storage in a computer. Variables, constants, operators. Arithmetical and logic commands. Commands for changing program sequence – selections and loops. Arrays, functions, procedures. Working with files. Pointers. Dynamical memory allocation. Compiler and linker.
Exercises content
Laboratory exercises:
Variables, constants, phrases and operators. Input/output. Controlling structures – if, switch. Iteration (for, while). Break, continue, goto. Functions. Recursions. Arrays. Pointers. Structures. Files. Bitwise operations.
Delivery of
Laboratory exercises
Teaching material is delivered using presentations on LCD projector and blackboard for clarifying important parts of the lecture. Students are supposed to follow lectures and solve (partly prepared) examples on computers.
Practical work on computers equipped with necessary software (text editor, C compiler, Visual Studio IDE, Dev-cpp IDE).
Knowledge assessment
Laboratory exercises, written tests.
Final exam
Laboratory exercises, written and oral exam.
MINIMUM LEARNING OUTCOMES
DESIRED LEARNING OUTCOMES