Professional Documents
Culture Documents
1 System Concept
2. Identify the steps of information processing cycle which is related to the following
components:
Components Step of information processing cycle
Microphone Input
Speakers Output
ALU Process
Optical Disc Storage
Fingerprint reader Input
Earphone Output
Keyboard Input
Scanner Input
Display Devices Output
Solid State Drive Storage
Hard Disk Drive Storage
1
1.1 System Concept
3. There are four operations involved in information processing lifecycle. Identify and
state the operation of information processing cycle based on the given description.
Description Operation
The information which has been processed is produced in Output
a usable form by people.
The data is being manipulated or transformed into Process
information.
The process to keep data, information, and programs in Storage
computer-processed form.
The data which is entered or captured electronically for Input
processing.
SECTION B
FIGURE 1
2
1.1 System Concept
Operations Element
Input Item, Qty, Price, CASH
3. A lecturer plans to calculate the coursework marks at the end of each semester.
Coursework marks are the total marks for quizzes, assignments, and group project.
Based on the given scenario, explain the operations of information processing cycle to
display the coursework marks.
Operations Explanation
The computer accept total marks of quizzes, assignment and group
Input of project from the user.
The computer calculate coursework marks by adding marks of
Process quizzes, assignment and group of work.
3
1.1 System Concept
4. Aminah shops at i-Mart Hypermarket. She pays the bill using her credit card. Explain
the operations in information processing cycle during paying the bill.
Operations Explanation
The computer accepts data in credit card such current balance of
Input
the card.
The computer deducts the amount of money that user has to pay.
Process
The computer updates the latest balance in the card.
Output The computer prints the receipt of transaction made.
5. During school holiday, Abu and Ali went to GSC cinema to watch a movie. Explain the
operations occur in information processing cycle during buying online tickets to watch
the movie.
Operations Explanation
The computer accepts data such as date, time, and title of movie
Input
entered by user using a keyboard.
The computer checks whether the date and time is available on the
date entered.
The computer reserves the seats under the user’s name and updates
Process
the available seats after the booking is made.
The computer calculates the payment that has to be made by the
user.
The computer displays the information such as date, time, seats
Output
number, and total price.
The computer stores the latest information about the available
seats into the system.
Storage
The computer saves the user’s information and payment
information made by the user.
4
1.2 Number Systems and Representations
4. State three (3) benefits of using binary digits to represent data in computers.
• Provide simplicity as it uses two clearly distinct digits; 0 and 1.
• Extremely fast execution time or access time.
• Least amount of necessary circuitry, which results in the least amount of space,
energy consumption and cost.
• Two clearly distinct states that provide a safety range for reliability.
5
1.2 Number Systems and Representations
SECTION B
1. Convert the following hexadecimal numbers to decimal number system. Show your
calculations.
a. F1FA16
= (F x 163) + (1 x 162) + (F x 161) + (A x 160)
= (15 x 4096) + (1 x 256) + (15 x 16) + (10 x 1)
= 61440 + 256 + 240 + 10
= 6194610
b. B1D616
= (B x 163) + (1 x 162) + (D x 161) + (6 x 160)
= (11 x 4096) + (1 x 256) + (13 x 16) + (6 x 1)
= 45056 + 256 + 208 + 6
= 4552610
c. F616
= (F x 161) + (6 x 160)
= (15 x 16) + (6 x 1)
= 240 + 6
= 24610
d. 11A16
= (1 x 162) + (1 x 161) + (A x 160)
= (1 x 256) + (1 x 16) + (10 x 1)
= 256 + 16 + 10
= 28210
e. 8CB16
= (8 x 162) + (C x 161) + (B x 160)
= (8 x 256) + (12 x 16) + (11 x 1)
= 2048 + 192 + 11
= 225110
f. DFE516
= (D x 163) + (F x 162) + (E x 161) + (5 x 160)
= (13 x 4096) + (15 x 256) + (14 x 16) + (5 x 1)
= 53248 + 3840 + 224 + 5
= 5731710
6
1.2 Number Systems and Representations
2. Convert the following binary numbers to hexadecimal number system. Show your
calculations.
a. 1110111010101012
8 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1
Binary 4-digit 0 1 1 1 0 1 1 1 0 1 0 1 0 1 0 1
Decimal Value 7 7 5 5
Hexadecimal Digit 7 7 5 5
Answer: 1110111010101012 = 775516
b. 0111111012
8 4 2 1 8 4 2 1 8 4 2 1
Binary 4-digit 0 0 0 0 1 1 1 1 1 1 0 1
Decimal Value 0 15 13
Hexadecimal Digit 0 F D
Answer: 0111111012 = FD16
c. 111101102
8 4 2 1 8 4 2 1
Binary 4-digit 1 1 1 1 0 1 1 0
Decimal Value 15 6
Hexadecimal Digit F 6
Answer: 111101102 = F616
d. 1000110102
8 4 2 1 8 4 2 1 8 4 2 1
Binary 4-digit 0 0 0 1 0 0 0 1 1 0 1 0
Decimal Value 1 1 10
Hexadecimal Digit 1 1 A
Answer: 1000110102 = 11A16
e. 1000110010112
8 4 2 1 8 4 2 1 8 4 2 1
Binary 4-digit 1 0 0 0 1 1 0 0 1 0 1 1
Decimal Value 8 12 11
Hexadecimal Digit 8 C B
Answer: 1000110102 = 8CB16
7
1.2 Number Systems and Representations
f. 11011111111001012
8 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1
Binary 4-digit 1 1 0 1 1 1 1 1 1 1 1 0 0 1 0 1
Decimal Value 13 15 14 5
Hexadecimal Digit D F E 5
Answer: 1000110102 = DFE516
3. Convert the following decimal numbers to hexadecimal number system. Show your
calculations.
a. 356310
16 3563
16 222 --- 11 --- B
16 13 --- 14 --- E
16 0 --- 13 --- D
b. 6420610
16 64206
16 4012 --- 14 --- E
16 250 --- 12 --- C
16 15 10 A
16 0 --- 15 --- F
c. 247810
16 2478
16 154 --- 14 --- E
16 9 --- 10 --- A
16 0 --- 9 --- 9
8
1.2 Number Systems and Representations
d. 119910
16 1199
16 74 --- 15 --- F
16 4 --- 10 --- A
16 0 --- 4 --- 4
e. 26610
16 266
16 16 --- 10 --- A
16 1 --- 0 --- 0
16 0 --- 1 --- 1
f. 454010
16 4540
16 283 --- 12 --- C
16 17 --- 11 --- B
16 1 1 1
16 0 --- 1 --- 1
4. Convert the following hexadecimal numbers to binary number system. Show your
calculations.
a. 4ECA16
Hexadecimal digit 4 E C A
Decimal Value 4 14 12 10
Binary 4-digit 8 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1
0 1 0 0 1 1 1 0 1 1 0 0 1 0 1 0
Answer: 4ECA16 = 1001110110010102
9
1.2 Number Systems and Representations
b. 1FD16
Hexadecimal digit 1 F D
Decimal Value 1 15 13
Binary 4-digit 8 4 2 1 8 4 2 1 8 4 2 1
0 0 0 1 1 1 1 1 1 1 0 1
Answer: 1FD16 = 1111111012
c. F616
Hexadecimal digit F 6
Decimal Value 15 6
Binary 4-digit 8 4 2 1 8 4 2 1
1 1 1 1 0 1 1 0
Answer: F616 = 111101102
d. 11A16
Hexadecimal digit 1 1 A
Decimal Value 1 1 10
Binary 4-digit 8 4 2 1 8 4 2 1 8 4 2 1
0 0 0 1 0 0 0 1 1 0 1 0
Answer: 11A16 = 1000110102
e. 8CB16
Hexadecimal digit 8 C B
Decimal Value 8 12 11
Binary 4-digit 8 4 2 1 8 4 2 1 8 4 2 1
1 0 0 0 1 1 0 0 1 0 1 1
Answer: 8CB16 = 1000110010112
f. DFE516
Hexadecimal digit D F E 5
Decimal Value 13 15 14 5
Binary 4-digit 8 4 2 1 8 4 2 1 8 4 2 1 8 4 2 1
1 1 0 1 1 1 1 1 1 1 1 0 0 1 0 1
Answer: DFE516 = 11011111111001012
10
1.2 Number Systems and Representations
5. Convert the following decimal numbers to binary number system. Show your
calculations.
a. 356310
2 3563
2 1781 --- 1
2 890 --- 1
2 445 --- 0
2 222 --- 1
2 111 --- 0
2 55 --- 1
2 27 --- 1
2 13 --- 1
2 6 --- 1
2 3 --- 0
2 1 --- 1
2 0 --- 1
11
1.2 Number Systems and Representations
b. 6420610
2 64206
2 32103 --- 0
2 16051 --- 1
2 8025 --- 1
2 4012 --- 1
2 2006 --- 0
2 1003 --- 0
2 501 --- 1
2 250 --- 1
2 125 --- 0
2 62 --- 1
2 31 --- 0
2 15 --- 1
2 7 --- 1
2 3 --- 1
2 1 --- 1
2 0 --- 1
12
1.2 Number Systems and Representations
c. 247810
2 2478
2 1239 --- 0
2 619 --- 1
2 309 --- 1
2 154 --- 1
2 77 --- 0
2 38 --- 1
2 19 --- 0
2 9 --- 1
2 4 --- 1
2 2 --- 0
2 1 --- 0
2 0 --- 1
d. 119910
2 1199
2 599 --- 1
2 299 --- 1
2 149 --- 1
2 74 --- 1
2 37 --- 0
2 18 --- 1
2 9 --- 0
2 4 --- 1
2 2 --- 0
2 1 --- 0
2 0 --- 1
13
1.2 Number Systems and Representations
e. 26610
2 266
2 133 --- 0
2 66 --- 1
2 33 --- 0
2 16 --- 1
2 8 --- 0
2 4 --- 0
2 2 --- 0
2 1 --- 0
2 0 --- 1
f. 454010
2 4540
2 2270 --- 0
2 1135 --- 0
2 567 --- 1
2 283 --- 1
2 141 --- 1
2 70 --- 1
2 35 --- 0
2 17 --- 1
2 8 --- 1
2 4 --- 0
2 2 --- 0
2 1 --- 0
2 0 1
14
1.2 Number Systems and Representations
6. Convert the following binary numbers to decimal number system. Show your
calculations.
a. 1110111010101012
= (1 x 214) + (1 x 213) + (1 x 212) + (0 x 211) + (1 x 210) + (1 x 29) + (1 x 28) +
(0 x 27) + (1 x 26) + (0 x 25) + (1 x 24) + (0 x 23) + (1 x 22) + (0 x 21) +
(1 x 20)
= (1 x 16384) + (1 x 8192) + (1 x 4096) + (1 x 1024) + (1 x 512) + (1 x 256) +
(1 x 64) + (1 x 16) + (1 x 4) + (1 x 1)
= 16384 + 8192 + 4096 + 1024 + 512 + 256 + 64 + 16 + 4 + 1
= 3064910
b. 0111111012
= (0 x 28) + (1 x 27) + (1 x 26) + (1 x 25) + (1 x 24) + (1 x 23) + (1 x 22) +
(0 x 21) + (1 x 20)
= (1 x 128) + (1 x 64) + (1 x 32) + (1 x 16) + (1 x 8) + (1 x 4) + (1 x 1)
= 128 + 64 + 32 +16 + 8 + 4 + 1
= 25310
c. 111101102
= (1 x 27) + (1 x 26) + (1 x 25) + (1 x 24) + (0 x 23) + (1 x 22) + (1 x 21) +
(0 x 20)
= (1 x 128) + (1 x 64) + (1 x 32) + (1 x 16) + (1 x 4) + (1 x 2)
= 128 + 64 + 32 +16 + 4 + 2
= 24610
d. 1000110102
= (1 x 28) + (0 x 27) + (0 x 26) + (0 x 25) + (1 x 24) + (1 x 23) + (0 x 22) +
(1 x 21) + (0 x 20)
= (1 x 256) + (1 x 16) + (1 x 8) + (1 x 21)
= 256 + 16 + 8 + 2
= 28210
e. 1000110010112
= (1 x 211) + (0 x 210) + (0 x 29) + (0 x 28) + (1 x 27) + (1 x 26) + (0 x 25) +
(0 x 24) + (1 x 23) + (0 x 22) + (1 x 21) + (1 x 20)
= (1 x 2048) + (1 x 128) + (1 x 64) + (1 x 8) + (1 x 2) + (1 x 1)
= 2048 + 128 + 64 + 8 + 2 + 1
= 225110
15
1.2 Number Systems and Representations
f. 11011111111001012
= (1 x 215) + (1 x 214) + (0 x 213) + (1 x 212) + (1 x 211) + (1 x 210) + (1 x 29) +
(1 x 28) + (1 x 27) + (1 x 26) + (1 x 25) + (0 x 24) + (0 x 23) + (1 x 22) +
(0 x 21) + (1 x 20)
= (1 x 32768) + (1 x 16384) + (1 x 4096) + (1 x 2048) + (1 x 1024) +
(1 x 512) + (1 x 256) + (1 x 128) + (1 x 64) + (1 x 32) + (1 x 4) +(1 x 1)
= 32768 + 16384 + 4096 + 2048 + 1024 + 512 + 256 + 128 + 64 + 32 + 4 + 1
= 5731710
7. Give the next three binary numbers in ascending order after 1102.
1102
= (1 x 22) + (1 x 21) + (0 x 20)
=4+2
= 610
2 7 ---
2 3 --- 1
2 1 --- 1
2 0 --- 1
2 8
2 4 --- 0
2 2 --- 0
2 1 --- 0
2 0 --- 1
2 9
2 4 --- 1
2 2 --- 0
2 1 --- 0
2 0 --- 1
16
1.2 Number Systems and Representations
8. Determine whether the given binary number 111010112 is odd or even number.
111010112
= (1 x 27) + (1 x 26) + (1 x 25) + (0 x 24) + (1 x 23) + (0 x 22) + (1 x 21) + (1 x 20)
= 128 + 64 + 32 + 8 + 2 + 1
= 23510
235 % 2 != 0
23510 is odd number
1112
= (1 x 22) + (1 x 21) + (1 x 20)
=4+2+1
= 710
1012
= (1 x 22) + (0 x 21) + (1 x 20)
=4+1
= 510
12
= (1 x 20)
=1
= 110
2 3
2 1 --- 1
2 0 --- 1
17
1.2 Number Systems and Representations
1012
= (1 x 22) + (0 x 21) + (1 x 20)
=4+1
= 510
2 2 ---
2 1 --- 0
2 0 --- 1
2 3
2 1 --- 1
2 0 --- 1
2 4
2 2 --- 0
2 1 --- 0
2 0 --- 1
11. Give the next three hexadecimal integers in ascending order after FD16.
FD16
= (F x 161) + (D x 160)
= 240 + 13
= 25310
16 254
16 15 --- 14 --- E
16 0 --- 15 --- F
= FE16
18
1.2 Number Systems and Representations
16 255
16 15 --- 15 --- F
16 0 --- 15 --- F
= FF16
16 256
16 16 --- 0
16 1 --- 0
16 0 --- 1
= 10016
The next three hexadecimal integers in ascending order after FD16 are FE16, FF16, 10016
b. EF016 - 10012 = 10
EF016
= (E x 162) + (F x 161) + (0 x 160)
= (14 x 256) + (15 x 16)
= 3584 + 240
= 382410
10012
= (1 x 23) + (0 x 22) + (0 x 21) + (1 x 20)
=8+1
= 910
19
1.2 Number Systems and Representations
c. Box A consists of 111102 pencils and box B consists of few pencils. The total
pencils for both box is 14010. Calculate how many pencils are there in Box B.
Give your answers in binary form.
111102 + = 14010
111102
= (1 x 24) + (1 x 23) + (1 x 22) + (1 x 21) + (1 x 20)
= 16 + 8 + 4 + 2
= 3010
2 110
2 55 --- 0
2 27 --- 1
2 13 --- 1
2 6 --- 1
2 3 --- 0
2 1 --- 1
2 0 --- 1
= 11011102
d. Zawjah has 1416 boxes of fruits. Half of them consists 1016 piece of apples and
another half consists 11112 of mangoes. She likes to share the fruits with four
friends. If the fruits are divided equally, calculate how many fruits each of them
will get in binary.
1416
= (1 x 161) + (4 x 160)
= 16 + 4
= 2010 boxes of fruit
1016
= (1 x 161) + (0 x 160)
= 1610 piece of apples
20
1.2 Number Systems and Representations
11112
= (1 x 23) + (1 x 22) + (1 x 21) + (1 x 20)
=8+4+2+1
= 1510 piece of mangoes
2 30
2 15 --- 0
2 7 --- 1
2 3 --- 1
2 1 --- 1
2 0 --- 1
110012
= (1 x 24) + (1 x 23) + (0 x 22) + (0 x 21) + (1 x 20)
= 16 + 8 + 1
= 2510
25 % 5 = 0
2510 is divisible by 5
TAMAT
21
7.0 Introduction to Programming
22