(1) (a) Perform the following: (i) 1010101010112 to Hexadecimal (ii) 277.5428 to Decimal (iii) A1F2.C16 to Octal
(iv) 8383212 to Octal [9 marks]
(b) Evaluate 83A7F4.5D16 + B5B63.3E16. (Show working in Base 16)
[5 marks]
(2) A computer stores a number of 16 bits word using floating-point arrangement. Given that the first bit is reserved for the sign and followed by 6 bits for the exponent using biased form. The remaining bits are used for the mantissa with a hidden bit.
(a) Show how the computer stores -37.87510
[5 marks]
(b) What is the decimal value for 10111101100000002? [5 marks] (3) Using BCD representation and 10’s complement, calculate 2874 – 689 + 3628 [5 marks] (4) (a) Calculate the following :
(i) X = 4.521 is corrected to 3D, Y = 2.7 is corrected to 2SF and Z = 1.64 is corrected to 2D. Find the range of values for the true value of (2X - Y)(Y +5Z) to 6SF.
[6 marks]
(ii) X = 2.1 is correct to 1 decimal place and Z = 6.71, is correct to 3 significant figures. Find the range of values for the true value of 7Z – 2X.
[5 marks] (b) Round up 0.0008957354 to 4SF and round down 969.048720 to 3D.
[2 marks]
(5) A student is to answer 10 out of 15 questions on the exam. (a) How many choice that he has?
[2 marks]
(b) How many choice that he must answer at least three of the first five questions.
[4 marks]
(6) Each user on a computer system has a password, which is six to seven characters long, where each character is an uppercase letter or a digit. Each password must contain at least three digits. How many possible passwords are there?
[8 marks]
(7) By rearranging the letters in the word ‘PHYSIOLOGIST’. How many different word can be generated if all the letters ‘O’ must present after the other letters and the letter ‘S’ and ‘I’ should not appears together?
[5 marks]
(8) Every year (one year = 12 months) Adam has a choice to deposit his money (RM500/month) at either Bukit