Access over 20 million homework & study documents
search

# Comsats University Convert Binary to Decimals Questions

User Generated

Computer Science

### School

Comsats University

Other

### Rating

Showing Page:
1/4
SUBBMITTED BY:
Mohsin khalid.
SP21-BBA-038.
SUBBMITED TO KINZA
KHURSHID.

Showing Page:
2/4
Question No 1:
Convert binary to decimals.
I. 10101
10101
=(1*2
4
)+(0*2
3
)+(1*2
2
)+(0*2
1
)+(1*2
0
)
=(1*16)+(0*8)+(1*4)+(0*2)+(1*1)
=16+0+4+0+1
=21
II. 11010000
=(1*7
7
)+(1*2
6
)+(0*2
5
)+(1*2
4
)+(0*2
3
)+(0*2
2
)+(0*2
1
)+(0*2
0
)
=(1*128)+(1*64)+(0*32)+(1*16)+(0*8)+(0*4)+(0*2)+(0*1)
=128+64+0+16+0+0+0+0
=208
III. (10010110)
=(1*2
7
)+(0*2
6
)+(0*2
5
)+(1*2
4
)+(0*2
3
)+(1*2
2
)+(1*2
1
)+(0*2
0
)
=(1*128)+(0*64)+(0*32)+(1*16)+(0*8)+(1*4)+(1*2)+(0*1)
=128+0+0+16+0+4+2+0
=150
Question No 2:
Decimals to Binary.
I. 58
1011010
II. 5696
1011001000000
III. 2032

Showing Page:
3/4

### Unformatted Attachment Preview

Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Review
Review

Anonymous
Excellent resource! Really helped me get the gist of things.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4