0% found this document useful (0 votes)
6 views7 pages

Mathematics Assignment 1

Uploaded by

Diljaanpreet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views7 pages

Mathematics Assignment 1

Uploaded by

Diljaanpreet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Assignment 1

Course Code: MATH 10042


Course Name: Mathematics for Computer Studies
Assignment: Practice exercise for Binary Number

Assignment Questions
Convert Roman Numeral = MCMCMLXXXVII to Decimal

Answer: 2887
Explanation: M = 1000, D = 500, C= 100, L = 50, X = 10, V = 5, I = 1
So, Thousands + Hundreds + Tens + Ones = (M= 1000) +
(CM = 900) + (CM = 900) + (LX = 90) + (VII = 7) = 2887

1. Convert Decimal Number = 3698 to Roman Numeral.


Answer: MMMDCXCVIII
Explanation: M = 1000, D = 500, C= 100, L = 50, X = 10, V = 5, I = 1
So, Thousands + Hundreds + Tens + Ones = (MMM = 3000) + (DC = 600)
+ (XC = 90) + (VII = 8)
Total comes out to be 3698

3. Convert Binary Number = 110100112 to Decimal

Answer: 211
Explanation: Multiply each bit by its positional value
than add them: (1*2^7) + (1*2^6) + (0*2^5) + (1*2^4)
+ (0*2^3) + (0*2^2) + (1*2^1) + (1*2^0) = (128) + (64)
+ (0) + (16) + (0) + (0) + (2) +(1) = 211

MATH10042_Assignment1 Version 3 Page 1 of 6


4. Convert Decimal Number = 265310 to Binary
Answer:101001011101
Explanation: Divide the decimal number by 2 until the
quotient becomes 0:
2653 ÷ 2 = 1326 remainder 1
1326 ÷ 2 = 663 remainder 0
663 ÷ 2 = 331 remainder 1
331 ÷ 2 = 165 remainder 1
165 ÷ 2 = 82 remainder 1
82 ÷ 2 = 41 remainder 0
41 ÷ 2 = 20 remainder 1
20 ÷ 2 = 10 remainder 0
10 ÷ 2 = 5 remainder 0
5÷2= 2 remainder 1
2÷2= 1 remainder 0
Now, write the remainders in the reverse order to converting it to binary:
101001011101

5. Convert Octal Number = 53348 to Decimal


Answer: 2780
Explanation: Assign position values: 4 is at position 0.
3 is at position 1.
3 is at position 2.
5 is at position 3.
Now, multiply each digit by 8 to the power of its positional value and add it.
(4*8^0) + (3*8^1) + (3*8^2) + (5*8^3) = 4 + 24 + 192 + 2560 = 2780

6. Convert Decimal Number = 3026510 to Octal


Answer: 73071
Explanation: Divide the decimal by 8 until the quotient becomes 0
30265 ÷ 8 = 3783 remainder = 1
3783 ÷ 8 = 472 remainder = 7
472 ÷ 8 = 59 remainder = 0
59 ÷ 8 = 7 remainder = 3
7÷8=0 remainder = 7
Now, write the remainders in reverse order: 73071

7. Convert Hexadecimal Number= 14E8716 to Decimal


Answer: 85639
Explanation: Assign position value = 7 is at position 0
8 is at position 1
E (14) is at position 2
4 is at position 3
1 is at position 4
Now, multiply each digit by 16 to the power of its positional value and add it.
(7*16^0) + (8*16^1) + (14*16^2) + (4*16^3) + (1*16^4)
= 7 + 128 + 3584 + 16384 + 65536 = 85639
MATH10042_Assignment1 Version 3 Page 2 of 6
8. Convert Decimal Number = 25639810 to Hexadecimal
Answer: E98E3
Explanation: Divide the decimal number by 16 until the quotient
becomes 0
256398 ÷ 16 = 16024 remainder 14(E)
16024 ÷ 16 = 1001 Remainder 8
1001 ÷ 16 = 62 remainder 9
62 ÷ 16 = 3 remainder 14(E)
3 ÷ 16 = 0 remainder 3
Now, write the remainders in reverse order: E98E3

9. Convert Binary Number = 10110000111112 to Octal


Answer: 13037
Group the binary digits in sets of three: 001 011 000 011 111
Now convert each group to octal number
001 = 1
011 = 3
000 = 0
011 = 3
111 = 7
Now, write the octal digits from each group: 13037

10. Convert Octal Number = 70608 to Binary Number.


Insert answer

11. Convert Binary Number = 100001011000001002 to Hexadecimal

Number. Insert answer

12. Convert Hexadecimal Number = 21BF16 to Binary Number.

MATH10042_Assignment1 Version 3 Page 3 of 6


Insert answer

13. Convert Octal Number = 227278 to Hexadecimal

Number. Insert answer

14. Convert Hexadecimal Number = EA16 to Octal

Number. Insert answer

15. Add Binary numbers 101010102 and 110011002.


Insert answer

16. Add Binary numbers 01112 + 01102 + 11012 +01012 + 11102.

MATH10042_Assignment1 Version 3 Page 4 of 6


Insert answer

17. Subtract Binary number 11001102 -

1011112. Insert answer

18. Multiply Binary numbers 10102 and

11012. Insert answer

19. Multiply Binary numbers 100102 and

101102. Insert answer

20. Divide Binary number 1010102 by 1102.

MATH10042_Assignment1 Version 3 Page 5 of 6


Insert answer

21. Divide Binary number 11001102 by

10112. Insert answer

MATH10042_Assignment1 Version 3 Page 6 of 6

You might also like