Tugas Computer Sistem Minggu Pertama
Tugas Computer Sistem Minggu Pertama
Tugas Computer Sistem Minggu Pertama
Summary Layout
1. Computer System
Combination of all the components required to process and store data using a computer.
1.1 Hardware
Input devices gather data and convert them into electronic form for use by the computer.
Output devices convert information coming from a computer system into some
form perceptible by humans.
Monitors,display technology,printers.
b. Memory
i. Modem
A modem (modulator-demodulator) is a device that modulates information
carrier signal to encode signal information, and also combined such a carrier
signal to decode the transmitted information.
ii. NIC
d. Networking Devices
i. Ethernet Hub
The device for connecting multiple computer together and making them act
as a single network segment.
iii. Router
1.2 Software
System software
Language interpreters and compilers
Application progams
C1102 Introduction to Computer Systems and Programming Week 1
Commercial software
Retail software
OEM software
Freeware
Public domain software
Spyware
Adware
Shareware
Crippleware
Demo software
c. Bit-shifting operations:
Bit-shifting is an operation done on all the bits of a binary value in which
they are moved by a determined number of a places to either the left or
right.
a. Read the code for the next instruction from the cell indicated by the memory.
b. Decode the control unit for the instruction into a set of commands or signals for
each of the other systems.
c. Execute command the program counters so it points to the next instruction.
d. Provide the necessary data to an ALU, If the instruction requires an ALU or
specialized hardware to complete store result in memory the hardware to perform
the requested operation.
e. Write the result from the ALU back to a memory location or to a register or perhaps
an output device.
C1102 Introduction to Computer Systems and Programming Week 1
3. Number Systems:
a. base 10
b. valid digits - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
a. base 2
b. valid digits - 0, 1
a. base 8
b. valid digits - 0, 1, 2, 3, 4, 5, 6, 7
a. base 16
b. valid digits - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
a. Binary to Decimal
1011012 = 1 x 25 + 1 x 23 + 1 x 22 + 1 x 20
= 32 + 8 + 4 + 1 = 45 10
b. Binary to Hexadecimal
11011101111101(2)=…(16)
¿ 0111=7
¿ 0111=7
¿ 0011=3
C1102 Introduction to Computer Systems and Programming Week 1
c. Binary to Octal
Binary->Decimal->Octal
13
1101( 2)=… (8) 8 5 15(8)
1
¿ 8+ 4+0+ 1
d. Octal to Binary
¿ 13
e. Octal to Decimal
¿ 24+ 5
¿ 29(10)
f. Octal to Hexadecimal
g. Decimal to Binary
179/2 = 89 sisa 1
/2 = 44 sisa 1
/2 = 22 sisa 0
/2 = 11 sisa 0
/2 = 5 sisa 1
/2 = 2 sisa 1
/2 = 1 sisa 0
/2 = 0 sisa 1
C1102 Introduction to Computer Systems and Programming Week 1
h. Decimal to Hexadecimal
i. Decimal to Octal
j. Hexadecimal to Binary
k. Hexadecimal to Decimal
¿ 16+10
¿ 26(10)
l. Hexadecimal to Octal
C1102 Introduction to Computer Systems and Programming Week 1
Hexadecimal->Decimal->Octal ket: A = 10 dan C = 12
4 AC (16)=…(8)
¿ 1024+160+12
¿ 1196
P2: 0 . 0 = 0
P3: 1 + 1 = 1
P4: 0 + 0 = 0
P5: 1 . 1 = 1
P6: 1 . 0 = 0 . 1 = 0
P7: 1 + 0 = 0 + 1 = 1
5.2 Laws
T1: Commutative Law T5 : T9 :
(a) A + B = B + A (a) AB+AB’=A (a) A ' + A=1
(b) A B = B A (b) (A+B) (A+B’)=A (b) A ' A=0
6. Exercises
A B C
0 0 0 0
0 0 1 0
0 1 0 0
1 0 0 0
1 0 1 0
0 1 1 0
1 1 0 0
1 1 1 1
C1102 Introduction to Computer Systems and Programming Week 1
6.2 State and prove De-Morgan’s Law by using three-variable input.
Statement I: (A+B+C)'=A'.B'.C'
Statement II: (A.B.C) ' = A'+B'+C'
6.3 State whether the following Boolean expressions are in sum or product form.
DRAW logic block diagrams for each expression in the space provided beneath
each expression.
a) A(B + C)DC
c) ( A + B)(B + C' )
6.4 Write the output expression X, Y and Z for the following logic block diagram and
state whether the expression is in sum or product form.
X=
Y=
Z=
6.5. Draw a logic block diagram for the given Boolean function.
6.6 Write the complements of the following Boolean functions and simplify by using
DeMorgan's Law and other Boolean Theorems.
a) X=ABC+BCD
X'=………….
Y '=……
C1102 Introduction to Computer Systems and Programming Week 1
6.7 Simplify each of the following expressions using the Boolean Theorems.
b) (B + C' + D ) ( B + C )( AD + B + C )
C1102 Introduction to Computer Systems and Programming Week 1
a) f ( A, B, C, D) = ( AB )( BC ) ( C + D )
b) f ( A, B, C, D) = ABC + ABCD
A B C