Search Header Logo

7. Sets - Data Structures

Authored by Robotic Schools

Computers

6th - 8th Grade

Used 25+ times

7. Sets - Data Structures
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Media Image

What will be the output of the following code?

(5, 10, 15, 20, 25, 30)

(5, 10, 25, 30, 15, 20)

(5, 10, 25, 30, 15, 20)

(5, 10, 15, 20, 25, 30)

2.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Media Image

What is the output of the following code?

(1, 2, 3, 4, 5, 6)

(6, 1, 2, 3, 4, 5)

(1, 2, 3, 4, 5, 6, 6)

(1, 2, 3, 4, 5)

3.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Media Image

What is the result of the following code?

1

2

4

0

4.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Media Image

What will be the output of the following code?

(5, 15, 25)

(5, 10, 15)

(10, 20)

(25, 15, 5)

5.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Media Image

What is the output of this code?

(5, 4, 3, 2, 1)

(1, 2, 3, 4, 5)

(2, 3, 4, 5, 1)

(5, 1, 4, 2, 3)

6.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Media Image

What will be the output of the following code?

0

1

2

3

7.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

Media Image

What will this code output?

5

15

10

20

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?