DKT 121 Fundamental of Computer Programming Teaching Plan PUSAT PENGAJIAN KEJURUTERAAN KOMPUTER DAN PERHUBUNGAN UNIVERSITI MALAYSIA PERLIS FUNDAMENTAL OF COMPUTER PROGRAMMING DKT 121 SEMESTER 2 SESSION 2009/2010 1.0 OBJECTIVES At the end of the course, students will be Able to understand programming concept and principle Able to identify, analyze and produce software using flowchart and pseudocode Familiarize with LINUX environment for coding, compiling, executing and debugging computer software program Obtain logical, creative and innovative thinking skills Able to work as a team 2.0 SYNOPSIS Topics covered are: Introductions to C Programming, Conditional statements, Loops, Functions, Pointers, Files operations, Array and multi-dimensional array. 3.0 PRACTICAL Designing and writing basic C program using various operations, i.e. conditional statements, loops, functions, pointers, file operations and arrays. 4.0 REFERENCES [1] Deitel & Deitel, Suhizaz Sudin, R. Badlishah, Yasmin Yacob “C How To Program”, Pearson-Prentice Hall, 2006 [2] Jeri R. Hanly & Elliot B. Koffman “C Program Design for Engineers”,Addison-Wesley, 2001 [3] Tan & D Orazio “C Programming for Engineering & Computer Science” , Mc Graw Hill , 1999 [4] Forouzan, B. A. & Gilberg R. F., “Computer Science: A Structured Programming Approach Using C”, Brooks/Cole, 2001 [5] Al Kelley, Ira Pohl, “C by Dissection: The Essentials of C Programming” 4th ed., Addison-Wesley, 2000 5.0 COURSE IMPLEMENTATIONS i) Lecture 2 hours per week for 14 weeks (Total = 28 hours) ii) Laboratory 2 hours per week for 14 weeks (Total = 28 hours) ---------------------------------------------------------------------------------------------------------------------------------------------------PPKKP UniMAP 1 /3 DKT 121 Fundamental of Computer Programming 6.0 ASSESSMENT Laboratory Assignment Test 1 & 2 Lab Test Final Exam Total 20% 20% 20% 40% 100% 7.0 TEACHING PLAN Teaching Plan DKT121 Fundamental of Computer Programming Week # Hours 1 28/12/091/1/10 2 2 4/1/108/1/10 3 11/1/1015/1/10 4 18/1/1022/1/10 5 25/1/1029/1/10 6 1/2/105/2/10 2 2 Contents Introduction to Computers Introduction to C (part 1) Algorithm Pseudo-code Flow chart Introduction to C (part 2) Identifiers and Reserved words Preprocessor directives Data types and type declarations Sample programming question Sample C program Introduction to C (part 2) Operators Formatted input and formatted output Laboratory Remarks Lab Exercise 1 Intro. to C and Linux Lab Exercise 2 Flowchart and Pseudocode Lab Exercise 3 Introduction to C Programming Tutorial 1 Program debugging 2 Conditional statements Types of selection One way selection Two way selection Multi selection Compound Statement 2 Conditional statements Nested if Conditional operators Switch operators 2 Loops While loops Do-while loops For loops Nested loops Lab Assignment 1 Introduction to C Programming Lab Exercise 4 if…else; switch Lab Exercise 5 Loop Tutorial 2 ---------------------------------------------------------------------------------------------------------------------------------------------------PPKKP UniMAP 2 /3 DKT 121 Fundamental of Computer Programming Functions – Library (Math & String) 7 8/2/1012/2/10 15/2/1021/2/10 8 22/2/1026/2/10 9 1/3/105/3/10 10 8/3/1012/3/10 11 15/3/1019/3/10 12 22/3/1026/3/10 13 29/3/102/4/10 14 5/4/109/4/10 15 12/4/1018/4/10 16 2 Functions – User-defined Lab Assignment 2 Conditional statements and loop Test 1 (10%) MID TERM BREAK 2 Functions – Scope (global & local) Functions – Passing arguments (by value) 2 Pointers Pointer variables definitions and initialization Pointers operators 2 Files operation File Declaration File Operations File Mode 2 Files operation Reading data from text files Writing data to text files 2 Array & multi-dimensional array Arrays of data Declaration of Array Array Initialization 2 Array & multi-dimensional array Operations on Array Multidimensional Arrays Index out of bound Lab Exercise 6 Functions Lab Assignment 3 Functions Lab Exercise 7 Pointers Lab Exercise 8 File Operations Lab Assignment 4 Pointers & Files Introduction to Number Systems Bitwise Operators Tutorial 4 Test 2 (10%) Lab Exercise 9 Array Bitwise Operation 2 Tutorial 3 Tutorial 5 LAB TEST (30%) Study Week FINAL EXAMINATION ---------------------------------------------------------------------------------------------------------------------------------------------------PPKKP UniMAP 3 /3
© Copyright 2026 Paperzz