Encoding Schemes and Number System · Class 11 · CBSE · Science Computer Science

Which statement about UTF-8 is correct?

Practice question from Encoding Schemes and Number System (Class 11 · CBSE · Science Computer Science), with the correct answer and a step-by-step solution.

medium · MCQ · Q-0AC430

Which statement about UTF-8 is correct?

  1. A.Every character is always stored using exactly 2 bytes.
  2. B.It can represent only the 128 characters of basic ASCII.
  3. C.It uses a variable number of bytes, from 1 to 4, for a character.Correct answer
  4. D.It is a number system having base 8.

Solution

UTF-8 is a Unicode encoding scheme that uses a variable-length representation. A character can occupy between 1 and 4 bytes, allowing it to represent a large range of characters while remaining compatible with basic ASCII.

More from Encoding Schemes and Number System

All of Encoding Schemes and Number System

Practise more Computer Science

Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.

Start practising free

Free to start · No credit card needed