Access over 20 million homework & study documents
search

Comsats University Convert Binary to Decimals Questions

Content type

User Generated

Subject

Computer Science

School

Comsats University

Type

Other

Rating

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

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/4
Question No 1:
Convert binary to decimals.
I. 10101
Answer:
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
Answer:
=(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)
Answer:
=(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
Answer:
1011010
II. 5696
Answer:
1011001000000
III. 2032
Answer:

Sign up to view the full document!

lock_open Sign Up
Showing Page:
3/4

Sign up to view the full document!

lock_open Sign Up

Unformatted Attachment Preview

SUBBMITTED BY: Mohsin khalid. SP21-BBA-038. SUBBMITED TO KINZA KHURSHID. Question No 1: • Convert binary to decimals. 10101 I. Answer: 10101 =(1*24)+(0*23)+(1*22)+(0*21)+(1*20) =(1*16)+(0*8)+(1*4)+(0*2)+(1*1) =16+0+4+0+1 =21 II. 11010000 Answer: =(1*77)+(1*26)+(0*25)+(1*24)+(0*23)+(0*22)+(0*21)+(0*20) =(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) Answer: =(1*27)+(0*26)+(0*25)+(1*24)+(0*23)+(1*22)+(1*21)+(0*20) =(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 Answer: 1011010 II. 5696 Answer: 1011001000000 III. Answer: 2032 101111110000 Question No 3: • I. Octal to decimal. 743 Answer: =(743) =(7*82)+(4*81)+(3*80) =(7*64)+(4*8)+(3*1) =448+32+3 =483 II. 365 Answer: 365 =(3*82)+(6*81)+(5*10) =(3*64)+(6*8)+(5*1) =192+48+5 =245 Question No 4: • I. Decimals to hexadecimals: 75 Answer: 75 =4B II. 314 Answer: 314 =13A III. 4095 Answer: 4095 =E1F Question No 5: • I. Hexa values to deciamals: 92 Answer: =92 =(9*161)+(2*160) =(9*16)+(2*1) =144+2 =146 II. FF Answer: FF =(F*161)+(F*160) =(15*16)+(15*1) =170+15 =185 III. 2C1 Answ ...
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.

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

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4