Navigation

19E111P2 - Programming 2

Course specification
Course title Programming 2
Acronym 19E111P2
Study programme Electrical Engineering and Computing
Module
Type of study bachelor academic studies
Lecturer (for classes)
Lecturer/Associate (for practice)
Lecturer/Associate (for OTC)
    ESPB 6.0 Status mandatory
    Condition none
    The goal Presentation of the syntax and semantics of the C programming language. Using advanced programming concepts in procedural programming language C. Students are taught how to design algorithms, use static and dynamic data structures, implement and test programs in the C language. Getting practical experience in programming on a computer.
    The outcome Students will be able to: construct algorithms for solving given problems, write complex C language applications that use operators, control structures and library functions, use macroprocessor directives, and to develop, test and upgrade modular programs that use basic linear data structures, dynamic structures and files. Experience and routine in programming on a computer.
    Contents
    Contents of lectures Introduction. Program structure. Data types. Operators. Control structures. Arrays. Pointers. Dynamic memory allocation. Functions: defining and calling, arguments, side-effects, recursion, prototype. Preprocessor. Structures and unions. Input/output, files. Data structures (stacks, queues, linked lists, trees). Algorithmic complexity analysis. Developing complex programs in C language.
    Contents of exercises Practical classes represent auditory exercises in the computer laboratory that fully follow the order of topics as presented during lectures. For each topic, a set of examples and tasks with solutions are presented by the instructor. The students directly implement them in a development environment. The elements of theory are taught and code testing is conducted using Moodle e-learning platform.
    Literature
    1. The C Programming language with solved problems, 9th edition, C11 standard compliant, Laslo Kraus, Academic mind, 2014.
    2. Solved problems in C programming language, 4th edition, Laslo Kraus, Academic mind, 2014.
    3. 21st Century C, 2nd Edition, Ben Klemens, O’Reilly Media, Inc., 2014. C Tips from the New School (Original title)
    4. Programming 2, presentations used on lectures and auditory exercises, Web site of the Department of Computer Engineering and Informatics, School of electrical engineering, http://rti.etf.bg.ac.rs/rti/ir1p2/materijal.html
    5. ISO/IEC 9899:2018(en), International Organization for Standardization, 2018. (Original title)
    Number of hours per week during the semester/trimester/year
    Lectures Exercises OTC Study and Research Other classes
    3 2 0.2
    Methods of teaching lectures, auditory exercises in computer laboratory, laboratory exercises in smaller groups with participation of demonstrators, which represent training for work in the development environment
    Knowledge score (maximum points 100)
    Pre obligations Points Final exam Points
    Activites during lectures 0 Test paper 65
    Practical lessons 0 Oral examination 0
    Projects
    Colloquia 35
    Seminars 0