TRON06014 2013 C Programming 101
An introductory course in C programming for the PC. Covering the C compiler, variables, operators, decision statements, iteration loops, arrays and strings.
On completion of this module the learner will/should be able to;
Explain the processes by which a C programme is compiled
Write basic C programs with variables and arithmetic operators.
Use appropriate C programing statements to control flow of execution in a C programme.
Design C programmes that are modular.
Exercise good programming practices in the design of Programmes
Teaching and Learning Strategies
It is proposed that a workplace engagement component will be introduced to this module via a guest lecturer from industry, an industrial site visit or a work-based assignment where possible.
Explanation of C Compiler
Advantages & Disadvantages of C languages compared to other languages.
Simple C Programming Structure.
Writing Text to Screen
Variables and datatypes in C, int, float, char; datatype limits, signed and unsigned.
Simple Arithmetic operators ,-,*,/,%
Integer Operations Vs floating Point operations.
Making decisions, if, else, else if, nested if etc.
Logical operators ==, !=,,=
Repitition statements, while, for and do while, counter controlled and sentinal controlled loops; Nested Loops.
break , continue
Functions in C, declaration, prototypes, definition.
Variable scope, local, global, block, stack & heap
Coursework & Assessment Breakdown
|Title||Type||Form||Percent||Week||Learning Outcomes Assessed|
|1||Practical Evaluation Practical Exercises||Formative||UNKNOWN||- %||OnGoing||2,3,4,5|
|2||Practical Evaluation Practical Exam||Continuous Assessment||UNKNOWN||25 %||Week 4||2,3|
|3||Practical Evaluation Practical Exam||Continuous Assessment||UNKNOWN||25 %||Week 8||2,3,4,5|
|4||Practical Evaluation Practical Exam||Continuous Assessment||UNKNOWN||25 %||Week 12||2,3,4,5|
|5||Multiple Choice Quizes||Continuous Assessment||UNKNOWN||25 %||OnGoing||1,2,3,4,5|
Full Time Mode Workload
|Laboratory Practical||Computer Laboratory||Practical||4||Weekly||4.00|
C How to Program: Sixth Edition by Paul Deitel & Harvey Deitel. ISBN 978-0-13-705966-9
Practical C Programming: 3rd Edition by Steve Oualline. ISBN 1-56592-306-5
The C Programming Language: Second edition by Brian W. Kernighan & Dennis M. Ritchie ISBN 0-13-110362-8