B_PJC Programming in C

University of Finance and Administration
Winter 2022
Extent and Intensity
2/2. 7 credit(s). Type of Completion: zk (examination).
Teacher(s)
Ing. Renata Janošcová, Ph.D. (seminar tutor)
doc. RNDr. Jan Lánský, Ph.D. (seminar tutor)
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á
Timetable of Seminar Groups
B_PJC/cAPH: Wed 12:15–12:59 E305, Wed 13:00–13:45 E305, J. Lánský
B_PJC/pAPH: Wed 10:30–11:14 E305, Wed 11:15–12:00 E305, J. Lánský
B_PJC/vAPH: Sat 1. 10. 9:45–11:15 E306, 11:30–13:00 E306, Fri 18. 11. 17:30–19:00 E306, 19:15–20:45 E306, Fri 2. 12. 14:00–15:30 E228, 15:45–17:15 E228, Fri 16. 12. 14:00–15:30 E306, 15:45–17:15 E306, R. Janošcová
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: 1) write medium difficult program in programing language C using control flow, arrays, pointrs and strings. 2) use static and dynamic allocated memory 3) work with standard input and output, and files. 4) 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
  • Jan Lánský: Programování v jazyce C. Distanční opora, VŠFS, Praha, 2010.
  • 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
  • Virius, M.: Programování v C++ od základů k profesionálnímu použití, Praha: Grada Publishing, 2018, ISBN:978-80-271-0502-1
  • Miroslav Virius: Jazyky C a C++ : kompletní průvodce, 2011
  • Pavel Herout: Učebnice jazyka C. 1. díl, České Budějovice : Kopp, 6.vydání, 2009
  • Pavel Herout: Učebnice jazyka C. 2. díl, České Budějovice : Kopp, 6.vydání, 2009
    recommended literature
  • E. Moo: Accelerated C++ Practical Programming by Example Nicolai
  • Bjarne Stroustrup: The C++ Programming Language (3rd ed.)
  • Miroslav Virius: Programování v C++ (ČVUT 2001)
  • Miroslav Virius: Pasti a propasti jazyka C++
  • Scott Meyers: Effective C++ (2nd ed.), More Effective C++ Herb
  • Bruce Eckel: Myslíme v jazyku C++ (Thinkinkg in C++ 2nd ed.)
  • Miroslav Virius: Jazyky C a C++ : kompletní kapesní průvodce programátora, 2006
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
Credit in full-time study form: minimal attendance 75 % and two homeworks. Credit in combined study form: attenance on tutorial and four homeworks POT. Exam: Students write 1000 lines of source codes at home. Exam is discussion about this source codes.
Language of instruction
Czech
Follow-Up Courses
Further comments (probably available only in Czech)
The course can also be completed outside the examination period.
Information on the extent and intensity of the course: 16 hodin KS/semestr.
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 2023, Winter 2024.
  • Enrolment Statistics (Winter 2022, recent)
  • Permalink: https://is.vsfs.cz/course/vsfs/winter2022/B_PJC