TRON06040 2019 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 by adhering to a programming standard.
Teaching and Learning Strategies
This module will be taught by a flipped classroom asynchronous model whereby the students will have short instructional videos that they can watch at their own pace. They will then attempt increasingly challenging problems with tutor support.
Module Assessment Strategies
Two open book assessments will be undertaken by the students under controlled circumstances totalling 50% of the marks. The students will be given a previously unseen assignment that is based on the programming problems they have been working. They can use their previously written code or textbooks and online resources but they are not permitted to communicate in any way.
The students will be given 25% of the assessment marks for various single attempt quizzes throughout the semester. The questions will be based on questions from formative quizzes that they have previously seen.
Finally, the students will be given a 25% assignment that will be larger and more challenging than what they are assessed on in the open book assessments. This assignment is done at the students own pace in time for a final deadline. It will be based on all the material for the semester.
A repeat assessment open book assessment covering all of the course content can be set. However, it should be at the discretion of the course board as to whether the student may have to re-attend for the module as this is a 100% CA.
Explanation of C Compiler
Advantages & Disadvantages of C languages compared to other languages.
Simple C Programming Structure.
Writing Text to Screen
Variables and data types 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 ==, !=,,=
Repetition statements, while, for and do while counter controlled and sentinel controlled loops; Nested Loops.
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||Formative Quzzes||Formative||Multiple Choice||- %||OnGoing||1,2,3,4,5|
|2||Practical Evaluation Practical Exam||Continuous Assessment||Practical Evaluation||25 %||Week 4||2,3|
|3||Practical Evaluation Practical Exam||Continuous Assessment||Practical Evaluation||25 %||Week 8||2,3,4,5|
|4||Programming Assignment||Project||Assignment||25 %||Week 12||2,3,4,5|
|5||Multiple Choice Quizes||Continuous Assessment||Multiple Choice||25 %||OnGoing||1,2,3,4,5|
|6||Ongoing formative assignments||Practical||Assignment||0 %||OnGoing||1,2,3,4,5|
Full Time Mode Workload
|Laboratory Practical||Computer Laboratory||Practical||4||Weekly||4.00|
|Independent Learning||Not Specified||Independent Learning||3||Weekly||3.00|
Online Learning Mode Workload
|Online Lecture||Online||Online Lab||1||Weekly||1.00|
|Independent Learning||Not Specified||Independent Learning||6||Weekly||6.00|
Required & Recommended Book List
2015-09-04 Learn C the Hard Way: Practical Exercises on the Computational Subjects You Keep Avoiding (Like C) (Zed Shaw's Hard Way) Addison Wesley
ISBN 9780321884923 ISBN-13 9780321884923
1988-03-22 The C Programming Language (2nd Edition) Prentice Hall
ISBN 0131103628 ISBN-13 9780131103627
This book is meant to help the reader learn how to program in C. It is the definitive reference guide, now in a second edition. Although the first edition was written in 1978, it continues to be a worldwide best-seller., This second edition brings the classic original up to date to include the ANSI standard. From the Preface: We have tried to retain the brevity of the first edition. C is not a big language, and it is not well served by a big book., We have improved the exposition of critical features, such as pointers, that are central to C programming. We have refined the original examples, and have added new examples in several chapters. For instance, the treatment of complicated declarations is augmented by programs that convert declarations into words and vice versa., As before, all examples have been tested directly from the text, which is in machine-readable form. As we said in the first preface to the first edition, C "wears well as one's experience with it grows." With a decade more experience, we still feel that way. We hope that this book will help you to learn C and use it well.
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
IT Sligo C Coding Standard.
ACM Software Engineering Code of Ethics.