Cseb114 Courseoutline
Cseb114 Courseoutline
Course Overview
This introductory course in computer programming teaches students about the basic computer concepts,
algorithm, problem-solving techniques, and structured programming. They will also be exposed to the C
programming language commands, syntax and functions in text based environment. They will learn to define,
solve, code, enter, test and document programming problems using the C language.
Course Objectives:
Upon completing this course, students should be able to:
• Prepare programs using top-down structured design.
• Perform problem solving skills.
• Understand the basic syntax and concepts of C programming language.
• Design, create, test and debug C programs.
• Developed programs that are both syntactically and logically correct.
References
1. Yuksel Uckan.: Problem Solving Using C – Structured Programming Techniques, Irwin, 1999
2. Hanly Koffman – Problem Solving & Program Design in C – Addison Wesley 3rd addition
3. H.H. Tan, T.B. D’Orazio – C Programming for Engineering & Computer Science, McGraw-Hil.
Assessment
Quiz 10%
Lab 15%
Assignment 15%
Mid-Term Test 20%
Final Examination 40%
Total: 100%
1. Attendance for lecture/tutorial and lab sessions is compulsory. Attendance for less than 80% of the
lectures/tutorial/labs will result in students being barred from taking the Final Exam.
2. Dress in proper attire which correspond to Universiti Tenaga Nasional dress code.
3. If you are absent from the lecture due to
Sickness – MC is required
Emergency – letter of guardian is required
4. Pop-quizzes will be given at whatever time, which is deemed appropriate by the lecturer.
5. Make-up for Mid Term will only be given to those with STRONG VALID reason.
6. Cheating and Plagiarism will not be tolerated and will be penalized accordingly
2 - Problem Solving
• Software development method
• Specification of needs
• Problem analysis
4 – Basic C operators
• Arithmetic operators
• Assignment operators
• Equalities and relational operators
Intro to Visual C
3 • Logical operators
Environment
• Conditional operators
5 - Structured Programming
• Selection structure – if, if…else, nested if, switch
Basic I/O and
5 - Structured Programming
4 arithmetic
• Repetition structure – while, do…while, for loop
operators
6 – Functions & Simple Recursion
• Standard functions Selection
5
• User defined functions – function prototype, function definition, Structure
function call and return
6 – Functions & Simple Recursion
• Local and global variables Repetition
6
• Storage classes structure
• Simple recursion
8 – Arrays
• Concept of arrays – why, how, advantages
8 Pointers
• Array declaration and initialization
• Operation on arrays – simple sorting and searching
8 – Arrays
9 • Passing arrays to functions Arrays
• Multidimensional arrays
9 – User Defined Data Types
• Structures declaration, structure variables declaration
10 • Nested structures Arrays
• Referencing structure members
• Initializing structure variables
9 – User Defined Data Types
• Operations on structure variables
11 • Structures as function parameters Structures
• Using typedef to facilitate program
Enumeration
-
14 Tying-up loose ends
Final Exam