PRG1 - Day 11 Starter

PRG1 - Day 11 Starter

University

5 Qs

quiz-placeholder

Similar activities

Java Arrays

Java Arrays

University

10 Qs

Python Quiz - 6

Python Quiz - 6

University

10 Qs

Array Quiz 2

Array Quiz 2

University

10 Qs

DSA(UNIT 1) Test 1

DSA(UNIT 1) Test 1

University

10 Qs

S02 - Deep Learning

S02 - Deep Learning

University

10 Qs

C Fundamentals

C Fundamentals

University

8 Qs

Machine Learning

Machine Learning

University

7 Qs

Data Visualization

Data Visualization

University

10 Qs

PRG1 - Day 11 Starter

PRG1 - Day 11 Starter

Assessment

Quiz

Computers

University

Easy

Created by

Steve Rich

Used 9+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a 2D array?

A 2D array is an array of arrays.

A 2D array is a single-dimensional array.
A 2D array is a collection of strings.
A 2D array is a type of function in programming.

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Consider the following 2D array.

What will be the output of matrix[1][2]?

1

5

6

8

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following 2D array. What will be the output of:

matrix[0][1] + matrix[2][0]

8

9

10

12

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following 2D array.

What will be the output?

matrix[1][0] * matrix[2][1]

11

18

15

30

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

It's currently X's turn. Which of the following moves represents the BEST move for X to make?

board[0][2]

board[1][0]

board[2][2]

board[2][1]