You enter a classroom and see 6 labelled 5bit numbers writte

You enter a classroom and see 6 labelled 5-bit numbers written on the board

A: 11100

B: 10011

C: 01010

D: 10100

E: 01001

F: 11101

(a) Professor A enters and tells you they are unsigned numbers and asks you to arrange them (just specifying the labels) in order from smallest to largest.

(b) Professor B rushes in and says that they are in fact two’s complement signed integers. She asks you to arrange them (again just specifying the labels) in order from most negative to most positive.

Solution

Answer:

We have given :

A: 11100

B: 10011

C: 01010

D: 10100

E: 01001

F: 11101

a) Professor A says they are unsigned numbers (means no negative numbers present) , so arrange them in ascending order as : E < C < B < D < A < F.

B) Most negative to most positive as : F , A , D, B , C , E

You enter a classroom and see 6 labelled 5-bit numbers written on the board A: 11100 B: 10011 C: 01010 D: 10100 E: 01001 F: 11101 (a) Professor A enters and tel

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site