Introduction to Programming

  • Class 60
  • Practice 18
  • Independent work 132
Total 210

Course title

Introduction to Programming

Lecture type


Course code






Lecturers and associates

Course objectives

Algorithm, program, programming. Translating, linking and executing programs. Basic elements of the C programming language: program structure, preprocessor directives, keywords, comments, constants, variables, association expression, priority and operator associativity.
Basic elements of C programming language: arithmetic, relational, logical expressions, basic form of command for selection, basics of using input and output functions, useful mathematical functions.
Program flow control commands: one-sided and two-sided selection, basic elements of C program writing style, cascading selection, crossover.
Program flow control commands: program loops, with examination of conditions at the beginning, at the end and with a predetermined number of repetitions, commands for unconditional program jumps, structured programming.
Aggregate data types: one-dimensional, two-dimensional field, structure.
Other data types: integer data types, character strings, real data types.
Range and accuracy of real data types, numerical errors, data type definition, implicit and explicit data type conversion. Other operators in programming language C, unary, binary, ternary.
Midterm exam.
Funkcije, tip funkcije, parametri, argumenti. Rekurzivne funkcije.
Macro. Program organization. Memory classes.
Standard library function.
Files. Memory organization.
Final exam.

Prerequisites for:

  1. Computer Architecture 2
  2. Artificial Intelligence
  3. Interactive Computer Graphics
  4. Human Factors in Computing
  5. Automation Practicum
  6. Software Design Project
  7. Project
  8. LabVIEW
  9. Multimedia Technologies
  10. Scripting Languages
  11. Embedded Systems
  12. Statistical Data Analysis

Required reading

Vedran Mornar (2018.), Uvod u programiranje, radna verzija udžbenika
King K. N. (2008.), C Programming: A Modern Approach, Second Edition, W. W. Norton and Company
B. W. Kernighan, D. M. Ritchie (1988.), The C Programming Language, 2nd Edition, Englewood Cliffs, NJ: Prentice Hall
(2018.) Materijali predmeta dostupni na fakultetskom intranetu

Minimal learning outcomes

  • Explain how computer stores data
  • Apply basic principles of software design
  • Design and implement, test, and debug simple programs
  • Use arrays, selections, loops and functions
  • Describe the mechanics of function calls and parameter passing
  • Compose computer programs with sequential and direct access binary and text files
  • Use pointers and memory allocation
SHARE : Facebook Twitter