TRON06040 2019 C Programming 101

General Details

Full Title
C Programming 101
Transcript Title
C Programming 101
Code
TRON06040
Attendance
N/A %
Subject Area
TRON - Electronics
Department
COEL - Computing & Electronic Eng
Level
06 - NFQ Level 6
Credit
05 - 05 Credits
Duration
Semester
Fee
Start Term
2019 - Full Academic Year 2019-20
End Term
9999 - The End of Time
Author(s)
Diane O'Brien, Sean Mullery
Programme Membership
SG_EELCO_B07 201900 Bachelor of Engineering in Engineering in Electronic and Computing SG_EAUTM_N06 201900 Certificate in Automation and Electronics SG_EELCO_C06 201900 Higher Certificate in Engineering in Electronic and Computing SG_EELCO_B07 202200 Bachelor of Engineering in Electronic and Computing
Description

An introductory course in C programming for the PC. Covering the C compiler, variables, operators, decision statements, iteration loops, arrays and strings.

Learning Outcomes

On completion of this module the learner will/should be able to;

1.

Explain the processes by which a C programme is compiled

2.

Write basic C programs with variables and arithmetic operators.

3.

Use appropriate C programing statements to control flow of execution in a C programme.

4.

Design C programmes that are modular.

5.

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.

Repeat Assessments

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.

Indicative Syllabus

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.

break, continue

Functions in C, declaration, prototypes, definition.

Variable scope, local, global, block, stack & heap

Arrays, Strings.

 

Coursework & Assessment Breakdown

Coursework & Continuous Assessment
100 %

Coursework Assessment

Title Type Form Percent Week Learning Outcomes Assessed
1 Formative Quzzes Formative Multiple Choice/Short Answer Test - % OnGoing 1,2,3,4,5
2 Practical Evaluation Practical Exam Coursework Assessment Practical Evaluation 25 % Week 4 2,3
3 Practical Evaluation Practical Exam Coursework 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 Coursework Assessment Multiple Choice/Short Answer Test 25 % OnGoing 1,2,3,4,5
6 Ongoing formative assignments Practical Assignment 0 % OnGoing 1,2,3,4,5

Full Time Mode Workload


Type Location Description Hours Frequency Avg Workload
Practical / Laboratory Computer Laboratory Practical 4 Weekly 4.00
Independent Learning Not Specified Independent Learning 3 Weekly 3.00
Total Full Time Average Weekly Learner Contact Time 4.00 Hours

Online Learning Mode Workload


Type Location Description Hours Frequency Avg Workload
Online Lecture Online Online Lab 1 Weekly 1.00
Independent Learning Not Specified Independent Learning 6 Weekly 6.00
Total Online Learning Average Weekly Learner Contact Time 1.00 Hours

Required & Recommended Book List

Recommended Reading
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

Rare Book

Recommended Reading
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.

Module Resources

Non ISBN Literary Resources

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

 

Other Resources

DevC Compiler.

IT Sligo C Coding Standard.

ACM Software Engineering Code of Ethics.

Additional Information

None