Beruflich Dokumente
Kultur Dokumente
Preamble
This course covers the introduction to programming using the procedural paradigm and looks at
the differences in the programming paradigms. It also shows how programming can be used to
solve real life problems. Various basic concepts of programming will be covered which include
data types, variables, constants, operators, parameters, functions, control structures, arrays, testing,
debugging, input and output operations,. Programs will be compiled and ran using C language.
Modularity will also be demonstrated using functions, structures and external files.
Aim:
This course provides students with a comprehensive study of the C programming language.
Classroom lectures stress the strengths of C, which provide programmers with the means of writing
efficient, maintainable, and portable code. The lectures are supplemented with non-trivial lab
exercises.
Learning Objectives
By the end of this course students should be able to:
Write C programs that are non-trivial.
Use the variety of data types appropriate to specific programming problems.
Utilize the modular features of the language.
Demonstrate efficiency and readability.
Demonstrate the use of the various control flow constructs.
Use arrays as part of the software solution.
Utilize pointers to efficiently solve problems.
Include the structure data type as part of the solution.
Create their own data types.
Use functions from the portable C library.
Unit II: Control Flow Constructs and Operators (Week 3-4: 4 Lectures)
Algorithms, Pseudocode, Flowcharts. Selection Statements; if…, if else…, else if…, switch.
Iteration Statements; while…, for…, do…while, break and continue. Nested Statements. Operator
Precedence, Assignment Operators, Conditional Operators, Logical Operators, Bit Wise Operators
Increment and Decrement Operators, Operator Examples.
Tools
C compiler
Code blocks IDE 16.01+
Text Editor
Methodology
Lectures, Research, Unannounced Quizzes, Tutorials and Group work
Course Assessment
Course Work (40%)
Tests 10%
Written assignments/Presentations 5%
Practicals 25%
Reference Books
Kernighan, B.W. & Ritchie, D.M.The C Programming Language. Prentice Hall
Vine M.A. C Programming for the Absolute Beginner. Thompson Course Technology, 2007
Internet Sources
www.tutorialspoint.com/cprogramming [Accessed on 06 August 2018]
www.programiz.com/c-programming [Accessed on 06 August 2018]
https://fresh2refresh.com/c-programming/ [Accessed on 07 August 2018]