Beruflich Dokumente
Kultur Dokumente
& Organization
BCN1043-1 Sem1-2016 1
Computer System
A computer system consists of two major component:
Hardware and software.
The computer system’s I/O is the computer interface to the outside
world. Example of I/O are keyboard, monitor, disk drives and floppy
drives.
BCN1043-1 Sem1-2016 2
LEVEL OF MACHINES
There are a number of levels in a computer (the exact number is open to
debate), from the user level down to the transistor level.
Progressing from the top level downward, the levels become less abstract
as more of the internal structure of the computer becomes visible
BCN1043-1 Sem1-2016 3
How computer works:
https://youtu.be/4eNTlwnnhss
https://youtu.be/Rdm8E59L8Og
https://youtu.be/AkFi90lZmXA
https://youtu.be/nKIu9yen5nc
BCN1043-1 Sem1-2016 4
Computer Language
o A computer user interacts with a computer in a language that the
user understands, but software must convert that instruction into a
form that hardware can “understand”.
o Hardware stores data and communicates with software by only one
fundamental method-binary-and in effect, speaks a language that
only has two words, “off” and “on”.
o Every communication that software has with hardware is reduced
to series of these two words.
o In this binary system, only two digits or bit are used, 0 and 1.
OFF ON
“0” “1”
BCN1043-1 Sem1-2016 5
Computer Language
User types
“SYARIF”
0110110011…..
Keyboard converts
characters to a binary 01101100……
code; bits are All processing and
storage are done in
transmitted to memory binary form(at CPU)
and to CPU for
processing
Transmission to printer is Printer converts
in binary form binary code to
characters
before printing
BCN1043-1 Sem1-2016 6
Computer Language
A computer’s world is a binary world and communication of
instruction and data by the devices that process them is always
in binary (bit 0 or bit 1)
Bit alone is not enough to represent character in the computer system.
Bytes
• A collection of 8 bits
• used represent a character such as a letter, number, or typographic symbol (“Q”,”4”,”&”)
• ASCII Encoding
1 bit
Word EXAMPLE: 0
• 2 bytes form a word.
• to represent the bigger number or characters. 1 bytes = 8 bits
• Unicode encoding
EXAMPLE: 00001111
1 word = 2 bytes = 16 bits
EXAMPLE: 11110000 00001111
BCN1043-1 Sem1-2016 7
Data in various formats
Decimal Binary Hexadecimal
0 0000 0
1 0001 1
2 0010 2
3 0011 3
4 0100 4
5 0101 5
6 0110 6
7 0111 7
8 1000 8
9 1001 9
10 1010 A
11 1011 B
12 1100 C
13 1101 D
14 1110 E
15 1111 F
BCN1043-1 Sem1-2016 9
Computer Architecture
Example
BCN1043-1 Sem1-2016 10
COMPUTER ARCHITECTURE
Example
BCN1043-1 Sem1-2016 11
Computer Organization
The operational units and their
Organizational Attribute
interconnections that realize the Hardware details transparent to
architectural specifications the programmer,
Describes the data paths, data control signals,
processing elements and data interfaces between the
storage elements computer and peripherals,
Organization is how architecture memory technology used
is implemented.
BCN1043-1 Sem1-2016 12
Example of Computer Organization
BCN1043-1 Sem1-2016 13
SATA port
Network port
Audio port
Example of
BCN1043-1 Sem1-2016 15
CPU
GPU
BCN1043-1 Sem1-2016 16
• Almost every program that can run on an original Pentium
(or 8086) can run on a Pentium 4
• All computers in the Intel Pentium series have the same
architecture.
• Each Version of the Pentium has a different organization or
implementation.
8086 Pentium 4
BCN1043-1 Sem1-2016 18
Structure of components
The way in which the components
are interrelated
Is the way how each components of
computer communicates to each other
Structure Example in the CPU (processor) situation, it is the connection
between Instruction register and Instruction decoder/connection
between Arithmetic Logic Unit (ALU) and control unit.
Computer
• System interconnection:
mechanism that provides for
communication among CPU,
main memory and I/O.
Data processing
Data Storage
Data movement
Control Mechanism
December 28, 1903 – February 8,
1957
24
An example of computer architecture and
organization. Used by modern computer as a
reference.
Memory
I/O
Program Equipment
Arithmetic
Control
logic unit
Unit
26
Von Neumann machine must have:
A main memory, which stores both data and instructions.
An arithmetic and logic unit (ALU) capable of operating on
binary data.
A control unit, which interprets the instructions in memory and
causes them to be executed.
Input and output (I/O) equipment operated by the control unit.