KnowledgeBoat Logo
|

Computer Applications

Which data structure is represented in the below picture?

Which data structure is represented in the below picture? Computer Application Competency Focused Practice Questions Class 10 Solutions.

(i) A two-dimensional array with 2 rows and seven columns.
(ii) A one-dimensional array with 14 elements.

  1. Both (i) and (ii)
  2. Only (i)
  3. Only (ii)
  4. None of the (i) and (ii)

Java Arrays

13 Likes

Answer

Only (i)

Reason — A two-dimensional array is a collection of elements arranged in rows and columns. The ice tray shown in the figure looks like a grid with 2 rows and 7 columns, just like a 2D array.

Answered By

4 Likes


Related Questions