C Programming I
Level 5, 20 Credits.
- Not Presently Available.
Get the latest updates on our courses
Please use our subscription page to register your interest, and we will keep you updated on all relevant information and news about subjects you have chosen.
This course will provide an introduction to the C programming language and its usage. After attending this course a student will have acquired the basic skills in programming in C. Topics covered in this introductory course include data types, arithmetic operators, comparison operators, use of conditional and iterative control statements, formatting of output, use of functions from the C library, creation of user defined functions, functions, introduction to pointers, introduction to arrays, accessing arrays using both subscripts and pointers, use of standard input/output library functions, use of text and random access files, use of C pre-processor directives, manipulation of data structures and use of make files. Assessed work will include the writing of C programs. No programming experience required.
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.