edited by
540 views
1 votes
1 votes

In My Computer if you want to select a colour, you have a choice of Colour1 or Colour2 or Colour3. Call this set Palette. Further, a colour pixel is either set to invisible mode or it is visible. I wish to increase the choice for the colour to be selected in My Computer by adding the following logic : Add 50% white to get light shades and add 50% black to get dark shades. Call it New Palette. 13. In order to facilitate New Palette, what is minimum number of bits needed per pixel ?

  1. 10
  2. 7
  3. 5
  4. 6
edited by

1 Answer

Best answer
0 votes
0 votes
2 bits to select one of 3 colors. (may be one possibility to not select any color corresponding to black)

1 bit for visible/invisible

1 bit - make it lighter or not

1 bit - make it darker or not

So, totally 5 bits.

We can even combine the last two cases as 3 states - normal, lighter, darker but that will also require 2 bits.
selected by

Related questions

0 votes
0 votes
1 answer
1
rahuldb asked Nov 29, 2016
2,536 views
How long it would take to load a 512 x 480 frame buffer with 12 bits per pixel,if 1000 bits can be transferred per second?
0 votes
0 votes
1 answer
2
viral8702 asked Apr 29, 2022
449 views
A frame buffer array is addressed in row major order for a monitor with pixel locations starting from (0,0) and ending with (100,100). What is address of the pixel(6,10)?...
2 votes
2 votes
2 answers
3
Anurag_s asked Aug 15, 2015
3,228 views
Let Σ= {a}, assume language, L= { a^(2012.K) / K 0}, what is minimum number of states needed in a DFA to recognize L