Exam-style question
Try this first
Which of the following describes an unsigned integer?.
- A.A number that can be positive or negative, with the MSB indicating the sign.
- B.A number that includes a decimal point.
- C.A number that represents only non-negative whole numbers.
- D.A number used for character encoding.
Answer and explanation
Concise answer
A number that represents only non-negative whole numbers.
Why this is correct
Unsigned integers by definition represent only zero and positive whole numbers. The other options describe signed numbers, floating-point numbers, or character data, respectively.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
