Skip to content
GK24
Computer AwarenessMedium

How many different colours can a pixel of an 8-bit indexed image take?

  1. A.8
  2. B.64
  3. C.256
  4. D.16,777,216

Correct answer

C. 256

Explanation

The correct answer is C, 256. The number of colours a pixel can hold is two raised to the power of its bit depth, so eight bits give two to the eighth, that is 256 possible values. This is exactly the palette limit of the GIF format and of the older 256 colour display modes. Option A simply repeats the number of bits and is the commonest careless choice. Option B, 64, would be the count for six bits, not eight. Option D, 16,777,216, is the count for twenty-four bit true colour, in which eight bits each are given to red, green and blue, and it is the figure an examiner pairs with the phrase true colour. Candidates should memorise the small ladder: one bit two colours, four bits sixteen colours, eight bits 256 colours, sixteen bits 65,536 colours and twenty-four bits about 16.7 million colours.

Read the full article: Multimedia and Graphics Software: Formats, Tools and PYQs

View all
Q1.Computer AwarenessEasy

What is the full form of JPEG, the commonest format for photographs on a computer?

  1. A.Joint Photographic Experts Group
  2. B.Java Picture Encoding Group
  3. C.Joined Pixel Enhancement Grid
  4. D.Joint Picture Editing Gateway
Show answer
Correct answer: A. Joint Photographic Experts Group

JPEG is named after the committee of the International Organization for Standardization and the International Telecommunication Union that drew up the standard for compressing continuous tone photographs.