Question 25Asked in Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 2

In computer graphics, arrays can be used to store pixel values for images. Which type of array would be suitable for this purpose?

  1. A1-D array
  2. B2-D array
  3. C3-D array
  4. D4-D array
Show answerHide answer

Correct answer: (B) 2-D array

Explanation

An image is a grid of pixels addressed by row and column, so a 2-D array (one value per pixel, e.g. grayscale) is the natural structure.

From Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 2

This is question 25 of Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.