Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



The least values of a signed and unsigned data type variables requiring 8 bits, would be:





Solution

For 8-bit signed integer (two’s complement):


Range = $-2^{7}$ to $2^{7}-1$


Least value = $-128$


For 8-bit unsigned integer:


Range = $0$ to $2^{8}-1$


Least value = $0$



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...