All mock tests are FREE till 31 December — register to save your progress
Unit 3 · Programming Languages and Computer Graphics Paper 2 CS · December 2022 Shift 2

Which of the following is wrong about data types?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. The range of values for signed data types is more than that of unsigned data types.

Explanation

Signed and unsigned types of the same size hold the same number of values; unsigned reaches a larger maximum (e.g. 0–255 vs −128–127). So C is wrong.

More Programming Languages and Computer Graphics questions