C Programming I
Level 2 (CQFW Level 5), 20 Credits.
We have 1 upcoming course
(Wednesdays from 6:00 pm to 9:00 pm.)
This course assumes no prior knowledge of programming and introduces the students to the fundamentals of computer programming.
Who is this course for?
This course is ideal for the student who wants a good general introduction to computer programming.
Learning and Teaching
This module includes a mix of traditional lectures and laboratory sessions. Each meeting starts with a lecture and finishes with a laboratory session.
Coursework and Assessment
To award credits we need to have evidence of the knowledge and skills you have gained or improved. Some of this has to be in a form that can be shown to external examiners so that we can be absolutely sure that standards are met across all courses and subjects.
During the course, you will be given assignments to be submitted to the course tutor. At the end of the course, there will be a class test.
The most important element of assessment is that it should enhance your learning. Our methods are designed to increase your confidence and we try very hard to devise ways of assessing you that are enjoyable and suitable for adults with busy lives.
- Sizes and names of different data types in the C programming language
- Difference between signed and unsigned numeric variables
- Arithmetic operators and evaluation of expressions using mixed numeric data types
- Comparison operators and use of if then else statement
- Use of while, do and for loops
- Use of standard library functions and creation of user defined functions
- Use of #include and #define C preprocessor directives
- Logical operators and bitwise operators
- Creation of an array and accessing an array using both subscripts and pointers
- Character and line input from the keyboard
- Use of command line arguments and string functions
- Reading and writing to a text file and the use of the perror function
- Creating and reading a file of fixed length records by using the struct statement
- Use of the fseek and ftell functions to access records randomly
- Use of the make command for a program with several modules
Kernighan, B.W. and Ritchie, D.M. (1988) C Programming Language. Prentice Hall.