Exercise 1
Consider the ER diagram below. Assume that an employee may work
in up to two departments or may not be assigned to any department.
Assume that each department must have one and may have up to
three phone numbers. Supply (min, max) constraints o

IAD 2133- OOP:
DATA TYPE, CONTROL
STRUCTURE AND ARRAY
Nur Syufiza Ahmad Shukor
Control Structure in JAVA
If-else statement
loop
If else (the basic)
if (balance >= 0)
balance = balance + (INTEREST_RATE * balance) / 12;
else
balance = balance OVERDRAWN_PE

IAD 2133- OOP:
DATA TYPE, CONTROL
STRUCTURE AND ARRAY
Nur Syufiza Ahmad Shukor
Data Type in JAVA
Understanding data type is required when you are
required to perform any calculation or arithmetic
operations.
Data typeis a special keyword used to allocat

IAD 2133:
OBJECT ORIENTED PROGRAMMING
Chapter 1:
Intro to Object Oriented Programming
Prepared by:
Mss. Syufiza
Mrs Sivabalan
Dr Saliyah Kahar
Mdm Rohaya Abu Hassan
1
Introduction to Computer System
A computer is a programmable machine. This means
it can

OBJECTIVE
1.
2.
3.
4.
Students should be able to:
Determine the difference between descriptive and inferential statistics.
Know the statistical terms.
Identify a data type and differentiate between discrete variable and continuous
variable.
Differentiate

CHAPTER 3
PROBABILITY
Probability is defined as a chance of an event occurring
Basic concept:
Experiment:
An experiment is the process by which an observation is made.
Outcomes:
The observations of the experiment.
Sample space:
The set of all possible ou

CHAPTER 4
PROBABILITY DISTRIBUTIONS
4.1
DISCRETE RANDOM VARIABLES
A discrete random variable is one that can assume only countable number of values.
Example:
X = the number of students in UNISEL
= the number of cars parking in a lot at a given time.
= the

Chapter 1
File System and
Database
Introduction
Good decisions require good
information derived from raw facts
Data managed most efficiently
when stored in a database
Databases evolved from computer
file systems
Data vs. Information
Data are raw facts

Chapter 2
Data Model
Source: Course Technology
Cencage Learning
Introduction
Designers, programmers, and end users see
data in different ways
Different views of same data lead to designs
that do not reflect organizations operation
Data modeling reduces