0% found this document useful (0 votes)
33 views

College of Computer Trainning

This document contains the answers to an assignment on math for computing and IT. It covers converting between binary, decimal, octal, and hexadecimal number systems. The student answered questions that involved converting numbers between these number systems, binary arithmetic operations like addition and division, finding two's complements, and listing the digits in octal and hexadecimal. The assignment demonstrated the student's understanding of different number systems used in computing.

Uploaded by

IamSajid Jatoi
Copyright
© © All Rights Reserved
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

College of Computer Trainning

This document contains the answers to an assignment on math for computing and IT. It covers converting between binary, decimal, octal, and hexadecimal number systems. The student answered questions that involved converting numbers between these number systems, binary arithmetic operations like addition and division, finding two's complements, and listing the digits in octal and hexadecimal. The assignment demonstrated the student's understanding of different number systems used in computing.

Uploaded by

IamSajid Jatoi
Copyright
© © All Rights Reserved
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 5

College of Computer Trainning

Assignmnent : 3
Subject: Math for Computing & IT
Submitted By:
SAJID HUSSAIN JATOI
Student No. 2014310
Due Date : 09 11- 2014

Q:1:
Ans.

If Decimal base is 10, What is binary?


The base of binary is 2
and 10 in binary is 1010

Q:2

Convert the Following Decimals into Binary

Ans:
Decimal

Binary

10

11

100

101

110

111

1000

1001

10

1010

11

1011

12

1100

13

1101

14

1110

15

1111

16

10000

17

10001

18

10010

19

10011

20

10100

Q3: Convert the following Binary into Decimals


Ans:
Binary

Decimals

00110110.11

54.9

11001

25

1001.1001

9.9

10

101.101

5.5

Q:4
Ans

Convert Following Decimals into Binary

Decimals

Binary

25

0011001

7.5

00000111

79

01001111

49

00110001

13

00001101

9.5625

00001001

00000010

5.625

00000101

Q:5
Ans.

Find the two's Complement of 1100101?


10011011

Q:6
Ans.

Evaluate the following: 11100011 - 1100101. Check your answer by converting to decimals.
170.

Q:7
Ans

Evaluate the Following:

a)
b)
c)
d)
e)

101.1
101.11
1001.10101
1010010.01
101.1

x
x
x
x
x

1.1
1.01
1.101
1001.01
1.01

=
=
=
=
=

1000.01
111.0011
1111.10110001
1011111000.1101
110.111

f)

1.010100

Q;8
Ans

Carry out the following binary Division

a)
b)
c)
d)

1000.01
111100
110010
1000.01

Q:9

List the Digits of:

/
/
/
/

a) The Octal System:


b) Hexadecimal System

101.0001

1.1
1010
1000
0.11

=
=
=
=

110.10100101

10.11
110.10100101
110.01
1011

0,1,2,3,4,5,6,7
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F

Q: 10 Convert the following numbers from decimal to Octal:


a)
64910
Divide
649
81
10

Ans
81
10
1

Ans :

(1211)8

b)
3710
Divide
37
4

Ans
4
0

Ans :

(45)8

c)

Remainder
1
1
2

Remainder
5
4

49810

Divide
498
62
7

Ans
62
7
0

Ans

(762)8

Remainder
2
6
1

Q: 11 Convert the following numbers from decimal to hexadecimal


Decimal

Hexadecimal

(649)10
(387)10
(498)10

into
into
into

289
25
1F2

Q: 12 Convert the following Octal to Decimals


Octal
(273)8
(136)8
(6702)8
Q:13

into
into
into
into

Decimals
187
94
3522

Convert the Following Hexadecimal into Decimals

Ans:
Hexadecimal
BB16
5E16
A716
Q:14

into
into
into
into

Decimals
187
94
167

Carry out the following Conversions

Ans:
a)
b)
c)
d)
e)
f)
g)
h0

458
67028
2516
1F216
1001012
11001110000102 b
1001012
1111100102

base 2
base 2
base 2
base 2
octal
base 8
base 16
Hexadecimal

=
=
=
=
=
=
=
=

The End

100101
110111000010
100101
1011110010
45
14702
49
1F2

You might also like