C++ Arrays and Vectors Quiz

C++ Arrays and Vectors Quiz

9th - 12th Grade

13 Qs

quiz-placeholder

Similar activities

KT 15 PHUT

KT 15 PHUT

10th Grade

10 Qs

RPMS - IPCRF by Jenelou John Israel

RPMS - IPCRF by Jenelou John Israel

12th Grade

10 Qs

ICT Service Solutions 2

ICT Service Solutions 2

8th - 12th Grade

17 Qs

TIN 11 BÀI 11 KIỂU MẢNG

TIN 11 BÀI 11 KIỂU MẢNG

11th Grade

18 Qs

10 CS // Pseudocode

10 CS // Pseudocode

9th - 11th Grade

10 Qs

Начала программирования на языке Паскаль

Начала программирования на языке Паскаль

8th - 11th Grade

15 Qs

Fundamentals of Algorithms

Fundamentals of Algorithms

10th Grade

10 Qs

Midterm Review

Midterm Review

10th Grade

16 Qs

C++ Arrays and Vectors Quiz

C++ Arrays and Vectors Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Michael Ask

Used 13+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of this code?

12

13

14

1

No output

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of this code?

CAR

ARC

RAC

No output

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

For the following code, which code-snippet will access the string "Oscar the Grouch"?

cast[3]

cast[2]

cast.at(2)

cast{2}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

1

2

3

123

1 2 3

No output

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

In the included code, the programmer is attempting to find the sum of all elements of the array 'x'. But, they've forgotten at what value to start the variable 'sum'. What number should go where the '?' is in the code?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the included code?

321

123

32

111

No output

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the included code?

14

13

12

2

No output

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?