COM2005 Introduction to Computer Programming

Prerequisite

Nil

Exclusion

COM1101 Programming Methodology/MSIM1201 Programming Methodology
This module is not available to BA-AHCC/BSC-AC and BMSIM students.

Module Description

This module aims to provide students the basic concept of computer program design and development. Subject areas include language constructs, functions, simple data types, coding, documentation, program testing and debugging.

Module Intended Learning Outcomes (MILO)

Upon completion of this module, students should be able to: 
a. analyze and solve problems with a set of logical flow of instructions; 
b. use and construct computer programs; 
c. demonstrate competency in the use of various data structures in computer programming; 
d. demonstrate competency in program testing and debugging.

Module Content

1. Introduction

1.1. Procedure of computer programming
1.2. Testing in computer programming
1.3. Debugging in computer programming

2. Programming basics

2.1. Basic Input / Output
2.2. Fundamental data types
2.3. Assignment operators
2.4. Arithmetic operators
2.5. Increment and decrement operators
2.6. Relational operators
2.7. Logical operators

3. Flow of control

3.1. If-Else Statement
3.2. Looping

4. Complex data types

4.1. Array
4.2. Structure
4.3. Pointer
4.4. String

5. File Input / Output

6. Recursion

Assessment Methods

1. Assignments (25%)
2. Mid-term Examination (15%)
3. Final Examination (60%)

Texts & References

1. Lutz, M. (2013). Learning Python: Powerful Object-Oriented Programming (5th Ed). Sebastopol: O’Reilly
2. Deitel, H.M. & Deitel, P.J. (2013). C: How to Program (7th ed.). Boston: Pearson .*
3. Cay S. Horstmann and Gary Cornell (2013). Core Java Volume I – Fundamentals (9th ed.). Upper Saddle River, NJ: Prentice Hall.*
4. Deitel, H.M. & Deitel, P.J. (2012). C++: How to Program (8th ed.). Boston: Prentice Hall.
5. Savitch, W. (2012). Problem Solving with C++ (8th ed.). Boston: Pearson Addison Wesley.