Вы находитесь на странице: 1из 3

UNIVERSITI TEKNOLOGI MARA

KAMPUS TAPAH PERAK


COURSE INFORMATION

Program

Course Code
Course Title
Credit Hours
Contact Hours
Status
Prerequisite
Semester
Lecturers
Room
Telephone

:
:
:
:
:
:
:
:
:
:

Diploma in Computer Science (CS 110)


Diploma in Actuarial Science
(CS 112)
CSC 128
Fundamentals of Computer Problem Solving
3
5 hours (2 hours lecture + 1 hour tutorial + 2 hours lab)
Core
None
____________________
Mr. Imran Md Jelas
98, UiTM Kampus Tapah
017 272 1803

Course Description:
This course is an introduction to problem solving using computers. It emphasizes various aspects of
problem solving, mainly consisting of the problem domain, phases of problem solving and basic
techniques in designing a solution.
The approach to problem solving is via structured programming. At this stage, the emphasis will be on
computer problem solving rather than syntactical aspects of the chosen programming language.
Course Outcomes:
After completing this course, the student should able to:

identify the steps in problem solving

state the problem according to a given requirement

write a simple computer program using structured approach

adopt a good algorithm-writing style


Assessment:
A. Coursework:
1. Test 1
2. Test 2
3. Quizzes ( 4 )
4. Assignments ( 4 )

B. Examination:
Final Exam

C. Passing Grade:

10 % (Individual)
10 % (Individual)
15 % (Individual)
15 % (Individual)
50 %

50 %
100 %
C (50%)

SYLLABUS CONTENTS

No

Topics

Introduction To Computer Programs


A brief history of Programming Language
Introduction to Programming
o What is a computer program and importance of computer programming
o Importance of good programs
o Relationship between compilers, interpreters, assemblers and programs
Program Development Life Cycle
o Analysis, design, coding, testing, maintenance

Basic Elements Of A Computer Program


Identifier, variable, constant, statement
Data Variables, Data Types and Rules for naming and declaring data variables
Basic data types
Arithmetic operators
Assignment statement
Input/output statement
Arithmetic expression
Debugging and error handling
Sequential control structure

Selection Control Structure


Boolean expression
Relational and logical operators
Decision Control Instructions
o One way selection
o Two way selection
o Multiple selection

Repetition/Iteration Control Structure


Counter-controlled structure
Sentinel-controlled structure
Flag-controlled structure
While loop
For loop
Do while loop
Nested loop

Functions
Introduction to functions
Function declaration / prototype
Function definition
Function call
Built-in function - math and string function
User defined function
Pass by value, pass by reference

Arrays

Definition of an array
Array Declaration
Array Initialization
Accessing individual elements of an array
Array processing : maximum, minimum, summation and average
Searching element in an array

TEACHING METHODOLOGY
A combination of any of the following methods:
Lectures
Laboratory

TEXTBOOK
1. Liang, Y.D., Introduction to Programming with C++, 2nd Edition, Pearson Higher Education, 2010.

RECOMMENDED REFERENCE
1.
2.
3.
4.
5.

Malik, D.S., C++ Programming: From Problem Analysis to Program Design, Course Technology, 2002.
Farrell, Joyce, Programming Logic and Design Comprehensive, 2nd Edition, Course Technology 2002.
Zak, Dianne, An Introduction to Programming with C++, 2nd Edition, Course Technology, 2001.
Robertson, Lesley, Simple Programming Design, 3rd Edition, Course Technology, 2000.
Kenneth A. Lambert, Nance, Understanding Programming and Problem Solving with C++, West
Publishing, 1996.
6. Stroustrop, Bjarne, The C++ Programming Language, Reading Mass, Addison Wesley, 1991.

Вам также может понравиться