Individual Assignment CSC159 - Question
Individual Assignment CSC159 - Question
Section A
● I confirm that I have read and shall comply with all the terms and conditions of the UiTM
plagiarism policy.
● I confirm that the online submission had also been sent accordingly with the attachment through
the UFUTURE UiTM, and I had already checked the submission regularly before submission.
Any problem due to the submission will be bare on our responsibilities.
● We declare that this assignment is free from all forms of plagiarism and is our own properly
derived work.
● We further confirm that the same work, where appropriate, has been verified by anti-plagiarism
software: (Please insert if applicable).
2. Solve the addition and subtraction for the following unsigned number. Show your
manual works.
3. (20 Marks)
i. 313378 + 47358
ii. 9𝐴11𝐵16 + 𝐵164𝐶16
iii. 1110 01102 + 0100 01112
iv. 500235910 + 33866410
v. 1110 00102 − 0111 00112
vi. 662438 − 544728
vii. 10𝐶4𝐴316 − 85𝐵1𝐷16
viii. 388901010 − 5849710
ix. 𝐵11𝐷𝐸316 + 5𝐴1𝐶416
x. 3110528 − 731428
4. Convert the following numbers to the stated number’s bases, manually. The answer
should be in maximum of 6 decimal place.
(10 Marks)
30
i. to binary number
8 10
ii. 41.06452510 to binary number
iii. 110110100.00111011012 to octal number
iv. 41𝐴. 𝐷3616 to binary number
v. 743.3548 to hexadecimal number
5. Perform the addition and subtraction below using 2’s complement representation.
(10 Marks)
i. 75910 − 95110 , if the basic unit is in word (16 bits binary number)
ii. 7910 − 4410 , if the basic unit is in byte (8 bits binary number)
iii. 390010 − 65410 , if the basic unit is in word
iv. 9710 − 10410 , if the basic unit is in byte
v. 0110 01002 − 0101 10012
vi. 0111 0011 0110 11102 − 0010 1101 1100 10012
vii. 124010 − 235610 , if the basic unit is in word
viii. 5310 − 2810 , if the basic unit is in byte
ix. 0010 01012 − 0011 11012
x. 0000 1011 0110 11102 − 0000 0101 1110 10102
6. Convert the following decimal number using 32-bits IEEE single precision floating
point number into hexadecimal number.
i. −27.523437510
− 78
ii. (5 Marks)
16 10
7. Convert the following hexadecimal number using 32-bits IEEE single precision floating
point number into decimal number.
i. 42𝐷4𝐹000 16
ii. 𝐵𝐹36000016 (5 Marks)
END OF QUESTIONS