Professional Documents
Culture Documents
Week1 Chapter 1
Week1 Chapter 1
1
TEST
Test
April 26, 2019
(Friday)
9am to 10:30am
F2 Atas
2
Teaching & Learning
(Notes, Assignment, Announcement, etc)
All students should sign up for FB closed
group
(Notes, Assignment, Projects,
Announcement, Etc)
Notes can be downloaded from closed group
Name of closed group
BFC20802DRGOH21819
4
What Is Computer?
Computer
Hardware Software
6
Why Program?
Game consoles
Servers
Mainframes
Supercomputers
Embedded computers
9
Computer’s Component
11
Computer’s Component (cont…)
12
Computer Architecture
CPU
Control
Unit
Result
(Output)
Communication
devices
Input Devices
14
Computer Architecture (cont…)
• Control Unit
• Retrieves and decodes program instructions
• Coordinates activities of all other parts of computer
Main Memory
Main Memory
• Addresses – Each byte in memory is identified by a
unique number known as an address.
In Figure 1-3, the number 149 is stored in the byte with the address 16, and
the number 72 is stored at address 23.
Computer Architecture (cont…)
Secondary storage
Input devices
Output devices
Software
System Application
Software Software
Computer Software (Cont..)
24
Computer Software (Cont..)
Application Software
• users can directly understand
and use the software.
• communicate in human
language
• eg. Micr. Office, notepad, prog.
lang. such C, C++, VB,Python
etc.
Interpreter
• use to interpret high-level
language to low level lang.
and so on. System Software
• user will communicate • operating system
with system easily. • manage and control by
machine language
• eg. i-Mac, windows,
Unix, Linux,machine lang.
25
Programs & Programming Languages
1011010000000101
• Types of languages:
Preprocessor Linker
Compiler
Integrated Development
Environments (IDEs)
• Key Words
• Programmer-Defined Identifiers
• Operators
• Punctuation
• Syntax
Program 1-1
Tutorial 1:
**********
**INTRO**
**********
2. Write a program that will print your name and matric number.
Please use the programming instructions you have learned to
produce a creative output.
60