Professional Documents
Culture Documents
my
COURSE OUTLINE
IWD 1124
C++ Programming
Diploma in Mobile Technology
Course Synopsis
This course is to introduce the concept of programming and give an approach
in problem solving. This course also will help student to generate interest in
learning programming languages. By learning programming life cycle,
student will be exposed to the program development. Students also will be
getting used to the control structures, functions, arrays and etc.
Course Objectives
In this course student able to understand basic rules in programming, get
uses to problem solving technique-problem analysis, algorithm, and flowchart
and pseudo code. Besides that, student also will be exposed to technique in
writing subprograms and object oriented concept
Consultation Hours:
Day Friday
Lab Exercise: 1 1
1. Familiarize student with the
concept of
programming language.
2. Identify programming life
cycle.
3. Show examples of good
program created using C++
>> www.unisel.edu.my
Lab Exercise: 2
1. Familiarize student with the
variable declaration.
2. Identify the valid variable
declaration.
3. Write different style of
comment in C++.
4. Apply basic data type t(int,
double, char) that exist in C+
+.
5. Write variable initialization.
6. Differentiate between different
types of relational operator.
3.0 SELECTION
5 3.1
3.2
if Statement
if-else statement
3.3 Nested if-else statement
3.4 if-else statement using
logical operators
3.5 Switch statement 4
Lab Exercise: 3
1. Familiarize student with the
concept of
if....else statement and
looping concept.
2. Write a code using if ....else
statement and nested
if.....else statement.
3. Write a code using if...else
statement with logical
operator.
4. Convert swith case statement
into if....else statement
5. Determine the output for
if.......... else program and
switch...case program.
6. Write a program using while
loopong concept.
>> www.unisel.edu.my
8 Semester Break
Outcome 5: State and apply the
concept of function
9 5.0
5.1
FUNCTIONS
Built in function 4
5.2 User defined Function
5.3 How to create and use
User-Defined
Functions
5.4 Variable scopes
5.5 Passing Arguments
5.6 Return values
Lab Exercise: 4
1. Write code using built in 4
function (eg: math() function).
2. Write code for user define
function and call the function in
main program.
function in C++. 3
6.0 ARRAYS
10 6.1
6.2
One Dimensional Array.
Multidimensional array :
Two dimensional array 4
11 7.0 POINTERS
7.1 Pointer Variable
Declarations and
Initialization
7.2 Pointers and One
Dimensional Array
Lab Exercise: 5
1. Write a program to declare one
dimensional array.
2. Write program to key in
student marks (using for
looping concept and array
function)
3. Write a program using two
dimensional array.
4. Write a program to declare and
initialize pointers.
Lab Exercise: 6
>> www.unisel.edu.my
10.0 STRUCTURES
10.1 Declaring Structural
12 Variables
10.2 Accessing Structure
Member
10.3 Arrays of Structures
10.4 Nested Structures 4
11.0 INTRODUCTION TO
13 CLASS AND
OBJECT
11.1 A Class
11.2 Class Definition
11.3 An Object
11.4 Access Member of A
Class 2
11.5 Access Specifier
Lab Exercise: 7
1. Write program to declare
structural variable student .
2. Write program to access
member (student name,
student matric) of structural
variable student
>> www.unisel.edu.my
14 PROJECT PRESENTATION
TOTAL HOURS 42 21
EQUIVALENT TOTAL HOURS 42 14
TOTAL TEACHING HOURS 56
Main Module :
Saliyah Kahar, Fadzilah Che Fauzi dan Izwan Suhadak Ishak (2007) “Modul
Pengaturcaraan C++”
Extra References :
Assessments Course :
Important Notes:
1. Students who are absent for more than 80% of the prescribed classes
can be barred from final exam which will result into receiving no grade
for the paper.
2. Using information from other sources and not citing the source is
plagiarism, a form of CHEATING. When you are working with other
students, please remember that failing to contribute adequately to the
project but taking full credit for other(s) efforts is also a form for
cheating. If you are caught CHEATING or TRYING TO CHEAT in your
assignment(s), quiz(s), test(s) or final exam, you can and will be
punished accordingly
4. Students at all time should maintain good manners with lecturers and
other university’s staff.