B_PJC Programming in C

University of Finance and Administration
Winter 2024
Extent and Intensity
2/2/0. 6 credit(s). Type of Completion: zk (examination).
Guaranteed by
doc. RNDr. Jan Lánský, Ph.D.
Department of Computer Science and Mathematics – Departments – University of Finance and Administration
Contact Person: Ivana Plačková
Prerequisites
B_PRg Programming && B_UPg Introduction to Programming
The requirement for the completion of this course is completion of the courses B_Prg and B_UPg.
Basic programming skills, knowledge of pointers and data structures.
Course Enrolment Limitations
The course is offered to students of any study field.
Course objectives
The subject first focuses on guiding C language syntax, its distinctness from C++ and C#. Subsequently, the subject focuses on the ability to algorithmize complicated tasks with the use of linear and tree data structures.
Learning outcomes
At the end of the course students should be able to:
(A) write medium difficult program in programing language C using control flow, arrays, pointrs and strings;
(B) use static and dynamic allocated memory;
(C) work with standard input and output, and files;
(D) work in Microsoft Visual Studio.
Syllabus
  • 1. Compiling and linking programs
  • 2. Functions, control flow
  • 3. Data types, operators
  • 4. Arrays and pointers
  • 5. Strings, command lines arguments
  • 6. Dynamic memory allocation
  • 7. Files
  • 8. Problems with module linking
  • 9. Binding to OS, debugging
  • 10. Dynamic data structures
  • 11. Common mistakes
  • 12. Repetition of key passages
Literature
    required literature
  • LÁNSKÝ, Jan. Programování v jazyce C. Slajdy k předmětu, dostupné z informačního systému, Praha: VŠFS, 2022.
  • LÁNSKÝ, Jan. Programování v jazyce C. Distanční opora, dostupné z informačního systému, Praha: VŠFS, 2022.
  • KERNIGHAM, Brian W. a Dennis M. RITCHIE. Programovací jazyk C. 2. vydání. Přeložil Zbyněk ŠÁVA. Brno: Computer Press, 2019. ISBN 978-80-251-4965-2
    recommended literature
  • VIRIUS, Miroslav. Pokročilé C++. V Praze: České vysoké učení technické, 2022. 308 stran. ISBN 978-80-01-06951-6.
  • SEACORD, Robert C. Effective C: an introduction to professional C programming. San Francisco: No Starch Press, 2020. xxviii. 240 stran. ISBN 978-1-7185-0104-1.
  • ISO/IEC 9899:2011 Information Technology - Programming languages - C; ISO/IEC 14882:2011 Information Technology - Programming languages - C++
Teaching methods
The instruction is both theoretical and applied. Each session, the theoretical knowledge will be applied to practical exercises at Microsoft Visual Studio. Lectures and seminars in full-time study; tutorials in part-time study; compulsory seminar participation is 75% in full-time study, compulsory tutorial participation is 50% in part-time study
Assessment methods
In order to earn credit in the full-time form of study, active participation in the exercises of at least 75%, programming of the examples given in the exercises and the handing in of two homework assignments are required.
In order to earn credit in the combined form of study, it is necessary to participate in the tutorials at least 50%, to program and present the examples assigned by the teacher and to submit two homework assignments.
The exam takes place in the form of a discussion of the created meaningful program - source codes in the C language in the minimum range of 1000 lines and its modification.
Language of instruction
Czech
Follow-Up Courses
Further comments (probably available only in Czech)
The course can also be completed outside the examination period.
Note related to how often the course is taught: Kombinace 2 hod. prezenční a 10 hod. distanční výuky.
Information on the extent and intensity of the course: 16 hodin KS/semestr.
Teacher's information
https://is.vsfs.cz/go/22avrg
The subject website presents a LINK to the team (subject) in MS Teams (then select your teacher's channel).


Study materials (lectures, videos, ...) of the subject can be found in the VŠFS IS: https://is.vsfs.cz/auth/el/vsfs/zima2023/B_PJC

CONTACTS for teachers: guarantor doc. RNDr. Jan Lánský, Ph.D. - lansky@mail.vsfs.cz; Ing. Renata Janošcová, Ph.D - 37037@mail.vsfs.cz.


CONSULTATION: information can be found on the personal pages of teachers in IS VŠFS (Teaching).


ISP and REPEATING students: Contact your teacher at the beginning of the semester (first - second week) and agree on the specific conditions of attendance and evaluation.


WE RECOMMEND submitting an application for inclusion in a timetabled (seminar) group to a specific teacheraccording to the instructions from the study department.

The course is also listed under the following terms Winter 2007, Winter 2008, Summer 2009, Winter 2009, Winter 2010, Summer 2011, Winter 2011, summer 2012, Winter 2012, Winter 2013, Winter 2014, Winter 2015, Winter 2016, Winter 2017, Winter 2018, Winter 2019, Winter 2020, Winter 2021, Winter 2022, Winter 2023.
  • Enrolment Statistics (recent)
  • Permalink: https://is.vsfs.cz/course/vsfs/winter2024/B_PJC