Array 2: Unit 8

Quiz
•
Computers
•
University
•
Easy
Abhishek Pandey
Used 3+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of a 2D array int arr[3][4];
12
14
16
11
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the element in the 2nd row and 3rd column of the 2D array arr[4][5]?
arr[1][2]
arr[3][2]
arr[2][3]
arr[1][3]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to declare a 2D array of 3 rows and 4 columns in C?
int arr[3][4];
int arr[4][3];
int arr[3,4];
int arr(3,4);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are multi-dimensional arrays stored in memory?
Randomly
Dispersed
Linearly
ALL
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is correct regarding a 2D array in C?
A 2D array is a collection of one-dimensional arrays
A 2D array is a collection of arrays of different sizes
A 2D array is always a matrix
The size of a 2D array cannot be determined
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C, the elements of a 2D array are stored in memory in which order?
Ascending order
Column-major order
Row-major order
Mixed Order
Similar Resources on Wayground
10 questions
Java Basics

Quiz
•
University
10 questions
Struktur Data

Quiz
•
University
10 questions
C++ Array Quiz

Quiz
•
University
11 questions
Java Quiz 3 - Array

Quiz
•
University
10 questions
Programming for Problem Solving

Quiz
•
University
10 questions
Prob.prog. 3

Quiz
•
University
7 questions
Java arrays

Quiz
•
University
10 questions
Quiz 12

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University