FI:PB071 Introduction to the C language - Course Information
PB071 Introduction to the C language
Faculty of InformaticsAutumn 2012
- Extent and Intensity
- 2/2. 4 credit(s) (plus extra credits for completion). Recommended Type of Completion: zk (examination). Other types of completion: z (credit).
- Teacher(s)
- doc. RNDr. Petr Švenda, Ph.D. (lecturer)
RNDr. Jiří Glozar (seminar tutor)
Mgr. Marek Klučár (seminar tutor)
Mgr. Lubomír Sedlář (seminar tutor)
RNDr. Vladimír Štill, Ph.D. (seminar tutor)
RNDr. Šimon Tóth (seminar tutor)
Mgr. Luděk Bártek, Ph.D. (assistant)
Mgr. Tomáš Brukner (assistant)
Mgr. Milan Fabian (assistant)
Mgr. Jan Fikejs (assistant)
RNDr. Tomáš Golembiovský (assistant)
Mgr. Juraj Kolčák (assistant)
Mgr. Michal Vaško (assistant)
Mgr. Jiří Weiser (assistant)
RNDr. Aleš Zlámal (assistant), Mgr. Martin Kučera (deputy) - Guaranteed by
- prof. RNDr. Luděk Matyska, CSc.
Department of Computer Systems and Communications – Faculty of Informatics
Supplier department: Department of Computer Systems and Communications – Faculty of Informatics - Timetable
- Mon 12:00–13:50 G101
- Timetable of Seminar Groups:
PB071/T01AA: Tue 18. 9. to Fri 21. 12. Tue 9:00–10:55 Učebna S6 (20), J. Glozar, P. Švenda
PB071/T02: Wed 19. 9. to Fri 21. 12. Wed 12:00–13:55 Učebna S6 (20), J. Glozar, P. Švenda
PB071/01: Thu 8:00–9:50 B204, V. Štill
PB071/02: Mon 18:00–19:50 B130, Š. Tóth
PB071/04: Tue 14:00–15:50 B116, P. Švenda
PB071/05: Wed 8:00–9:50 B130, M. Klučár
PB071/06: Fri 8:00–9:50 B117, L. Sedlář
PB071/07: Fri 10:00–11:50 B117, L. Sedlář - Prerequisites
- IB001 Intro to Prog. using C || IB111 Intro to Programming || IB999 Programming Test
Students are expected to have knowledge of algorithmization in Pascal or another procedural language. Students are also required to have user experience with Unix OS, as homework is submitted and tested on a Unix server. - Course Enrolment Limitations
- The course is also offered to the students of the fields other than those the course is directly associated with.
- fields of study / plans the course is directly associated with
- Applied Informatics (programme FI, B-AP)
- Bioinformatics (programme FI, B-AP)
- Economic Information Systems (programme ESF, B-SI)
- Informatics with another discipline (programme FI, B-EB)
- Informatics with another discipline (programme FI, B-FY)
- Informatics with another discipline (programme FI, B-IO)
- Informatics with another discipline (programme FI, B-MA)
- Informatics with another discipline (programme FI, B-TV)
- Public Administration Informatics (programme FI, B-AP)
- Mathematical Informatics (programme FI, B-IN)
- Parallel and Distributed Systems (programme FI, B-IN)
- Computer Graphics and Image Processing (programme FI, B-IN)
- Computer Networks and Communication (programme FI, B-IN)
- Computer Systems and Data Processing (programme FI, B-IN)
- Programmable Technical Structures (programme FI, B-IN)
- Embedded Systems (programme FI, N-IN)
- Service Science, Management and Engineering (programme FI, N-AP)
- Social Informatics (programme FI, B-AP)
- Artificial Intelligence and Natural Language Processing (programme FI, B-IN)
- Course objectives
- At the end of the course students should be able to:
Understand and use basic C syntax according to ANSI and ISO/IEC norms.
Decompose given problem and perform practical implementation.
Use modern development tools (IDE, debugger, version control...).
Understand basic C functions for POSIX system.
Annotate source code with possibility to automatically generate documentation.
Use programming best practices.
Compile programs both under Unix and Windows. - Syllabus
- Historical background of the C language. Its relation to the Unix OS.
- C compilers under Unix and MS-DOS/MS-Windows, integrated development environment, debugger, version control. Good programming practices, testing.
- Data types, constants, declarations, expressions. Assignment expressions and statements.
- Basic program structure. Preprocessor statements. Comments. Control structures. Relational expressions. Elementary I/O operations.
- Arrays and pointers. Functions. Calling by value, passing arguments by pointer.
- User defined data types. Dynamic memory allocation.
- I/O in details. Using files. Wide characters.
- Strings and string manipulation. Standard C library according to ANSI and ISO/IEC standards. Calling Unix core services. Further Unix libraries for C. POSIX C Library. Implementation on Windows.
- Safe and defensive programming. Advanced testing.
- Literature
- Kernighan, Brian W. - Ritchie, Dennis M. Programovací jazyk C. Brno: Computer Press, 2006. ISBN 80-251-0897-X
- HEROUT, Pavel. Učebnice jazyka C. 3. upr. vyd. České Budějovice: KOPP, 1996, 269 s. ISBN 80-85828-21-9. info
- HEROUT, Pavel. Učebnice jazyka C. České Budějovice: KOPP, 1998, 236 s. ISBN 80-85828-50-2. info
- DRESSLER, Miroslav. Programovací jazyky GNU : volně šiřitelná programátorská prostředí : Fortran, jazyk C, Pascal, GRX, DJGPP, RHIDE, RSX, VESA, EMX, MAKE. 1. vyd. Praha: Computer Press, 1998, xix, 225. ISBN 8072260707. info
- Bookmarks
- https://is.muni.cz/ln/tag/FI:PB071!
- Teaching methods
- Teaching consists from theoretical lectures combined with the practical exercises and programming homework selected to practice topics from lectures.
- Assessment methods
- The students are working on given homework (usually finalized at home or in computer lab). Homework are awarded by point according to given criteria. Recommended finalization is exam, which is maintained as test questionnaire on computer. Precondition for undertake exam is to have awarded credit from practical exercises and autonomously programmed final assignment. Classification is based on points gathered from exercises, test questionnaire and final assignment. When only credit for practical exercises is required, student's classification is based only on points gathered from exercises. Participation on practical exercises is mandatory, unless teacher allows for exception (e.g., based on student exceptional knowledge of the subject).
- Language of instruction
- Czech
- Follow-Up Courses
- Further comments (probably available only in Czech)
- Study Materials
The course is taught each semester. - Listed among pre-requisites of other courses
- IB113 Introduction to Programming and Algorithms
!NOW(IB111) && !IB111 && !PB162 && !PB161 && !PB071 && !IB001 && !program(B-INF) && !program(B-PVA) && !program(B-CS) - PB006 Principles of Programming Languages and OOP
(IB111 || NOW(IB111)) && (PB071 || PB111) - PB152cv Operating Systems - practicals
(PB153 || PB152) && (PB111 || PB071 || SOUHLAS) - PB173 Domain specific development
(PB111 || PB071) && SOUHLAS - PB176 Basics of Quality and Managment of Source Code
PB006 || PB071 || now(PB071)
- IB113 Introduction to Programming and Algorithms
- Teacher's information
- http://cecko.eu/public/pb071
- Enrolment Statistics (Autumn 2012, recent)
- Permalink: https://is.muni.cz/course/fi/autumn2012/PB071