Search Header Logo

PRG1 - Day 11 Starter

Authored by Steve Rich

Computers

University

Used 9+ times

PRG1 - Day 11 Starter
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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]

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?