You are on page 1of 4

AQ010-3-1-MCFC Test 1 Page 1 of 4

SECTION A (20 MARKS)


ANSWER ALL QUESTIONS

1. A long-distance running race uses an electronic counter that counts each competitor
who finishes the race. The count is stored in binary in a 12-bit register. A denary value
of the count is displayed on a screen above the finish line. The screen currently displays
the below number.
0135
Convert the denary value to binary.
(A) 000010000111
(B) 100010001010
(C) 000100110111
(D) 100111100001
(1 mark)
2. Alex has a 16-bit binary value as that he needs to convert to hexadecimal value for his
project.
1101 1110 1010 1111
Convert the binary number to hexadecimal.
(A) FADE
(B) FACE
(C) BADE
(D) DEAF
(1 mark)
3. Convert 234.56 (base 8) to hexadecimal.
(A) AC.18
(B) 9B.A8
(C) 9C.B8
(D) AB.C8
(1 mark)
4. The two-digit hexadecimal number which has largest value is ___ which corresponds
to_______ decimal.
(A) AF, 256
(B) FF, 255
(C) FA, 255
(D) EF, 256
(1 mark)
5. Find the value of 11001.112 − 1011.1012 = X2
(A) 1110.001
(B) 1100.111
(C) 1000.011
(D) 1010.101
(1 mark)
6. The sign and magnitude representation of -14 in 8-bit representation is
(A) 00001110
(B) 10001110
(C) 10001111
(D) 00001111
(1 mark)

Level 1 Asia Pacific University of Technology and Innovation 2022


AQ010-3-1-MCFC Test 1 Page 2 of 4

7. Find the value of 243. 758 − 134. 628 =


(A) 107.138
(B) 117.238
(C) 115.178
(D) 105.238
(1 mark)
8. Find the 2’s complement representation of –4810 in 8-bit register.
(A) 111011102
(B) 111011002
(C) 101011102
(D) 110100002
(1 mark)
9. Find the decimal equivalent of the 8-bit binary number 10100011 in 1’s complement
form.
(A) 163
(B) -163
(C) -92
(D) 92
(1 mark)
10. Find the 1’s complement of 11110000.
(A) 111100012
(B) 000011112
(C) 001011012
(D) 001001012
(1 mark)
11. Given 333.338 + 111.1102 = 𝑋8. Find the value of X.
(A) 223.46
(B) 323.53
(C) 343.13
(D) 353.53
(2 marks)
12. Given 𝐶2. 𝐵𝐹16 + 312. 278 = 𝑋2. Find the value of X.
(A) 110101101.11111011
(B) 110001101.00011011
(C) 110101101.00111011
(D) 110001101.11111011
(2 marks)
13. 423. 2510 = 𝑋16 − 12𝐴4.7𝐵16. Find the value of X.
(A) 144B.BB
(B) 134B.AB
(C) 132B.1B
(D) 122A.3B
(2 marks)
14. A digital clock alarm has been set for 12:45. Two 8- bit registers, H and M, are used to
represent hours and minutes of the alarm time. Find the equivalent binary representation
of these two registers.
(A) H: 00001100, M: 00000111
(B) H: 00011100, M: 00000111
(C) H: 00000100, M: 00001111
(D) H: 00001100, M: 00101101
(2 marks)

Level 1 Asia Pacific University of Technology and Innovation 2022


AQ010-3-1-MCFC Test 1 Page 3 of 4

15. Find 11100012 − 101012 using 2’s complement in 8-bit register.


(A) 11011101
(B) 00011101
(C) 01011100
(D) 11111110

(2 marks)
SECTION B (30 MARKS)
ANSWER ALL QUESTIONS

QUESTION B1 (15 Marks)

(a) Using 2’s complement in 8-bit register, illustrate the steps of evaluating the following
arithmetic operation by the computer. Express your answer in denary / decimal base.
−4310 + 1310 .
(5 marks)
(b) A computer stores a number in a 16-bit register using floating-point representation.
Given that the first bit is reserved for the sign, followed by 6 bits for the exponent with
a bias of (+31) and the remaining bits are the mantissa has a hidden bit.
(i) Show the floating-point representation of −33.125 in computer storage.
(6 marks)
(ii) Find the equivalent decimal value for the below floating-point representation.
0100011111010000
Formula: (−1)S  (1 + M )  2E − B
(4 marks)
QUESTION B2 (15 Marks)

(a) The Venn diagram in Figure 1 shows the number of elements in three sets P, Q and R.

Figure 1: Venn diagram


Given 𝑛(𝑃 ∪ 𝑄 ∪ 𝑅) = 93.
(i) Find the value of x.
(1 mark)
(ii) From part (a) (i), find the following.
(A) 𝑛(𝑄 ∪ 𝑅)
(B) 𝑛(𝑂𝑛𝑙𝑦 𝑃)
(C) 𝑛(𝑄)
(3 marks)

Level 1 Asia Pacific University of Technology and Innovation 2022


AQ010-3-1-MCFC Test 1 Page 4 of 4

(b) Determine whether each of the following statements is true or false.


(i) {2,3} ∈ {{2}, {3}, {2,3}}
(ii) {53,57,59} ⊆ {𝑥|𝑥 ∈ 𝑁, 50 < 𝑥 ≤ 60, 𝑥 is a prime number}
(iii) {0,3,6,9} ⊂{Octal number system}
(3 marks)
(c) The universal set U and its subsets A and B are defined as follows.
U = {x: x is an even positive integer less than or equal to 14}
A = {x: x is a multiple of 3 greater than 5}
B = {x: x is a factor of 12}
(i) Determine the elements of U, A, and B.
(3 marks)

(ii) From part (c) (i), show that 𝐴 ∩ B = 𝐴′ − 𝐵′.
(3 marks)
(iii) Find the power set of A, P(A).
(2 marks)

Level 1 Asia Pacific University of Technology and Innovation 2022

You might also like