Two-Dimensional Arrays

Description

Computer Science Computer Science (Two Dimensional Arrays) Quiz on Two-Dimensional Arrays, created by José Miguel Gallardo on 12/02/2015.
José Miguel Gallardo
Quiz by José Miguel Gallardo, updated more than 1 year ago
José Miguel Gallardo
Created by José Miguel Gallardo almost 10 years ago
8
0

Resource summary

Question 1

Question
How do you create a Two-Dimensional Array?
Answer
  • type nameOfArray [size][size];
  • type nameOfArray [size][size]
  • Array nameOfArray [size][size];

Question 2

Question
In what situation would you need a two-dimensional array?
Answer
  • When you want to arrange a set of values in a row
  • When you want to arrange a set of values in a grid (row and columns)
  • When you want to multiply 2x3

Question 3

Question
What is the definition of a two-dimensional array?
Answer
  • An array of an array
  • An array of an array of an array
  • An array with two different values for each position
Show full summary Hide full summary

Similar

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr