7. Sets - Data Structures

7. Sets - Data Structures

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Python KS3

Python KS3

8th Grade

17 Qs

Selection in Python

Selection in Python

1st - 9th Grade

15 Qs

Python Data types & Exceptions

Python Data types & Exceptions

1st - 10th Grade

14 Qs

python - Advanced level

python - Advanced level

7th - 12th Grade

10 Qs

Quiz 1 - October Grade 8

Quiz 1 - October Grade 8

8th Grade

20 Qs

Python List String as Collections

Python List String as Collections

8th - 9th Grade

20 Qs

Python quiz - 2

Python quiz - 2

3rd - 10th Grade

10 Qs

Scratch Loops and patterns

Scratch Loops and patterns

7th - 9th Grade

16 Qs

7. Sets - Data Structures

7. Sets - Data Structures

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Robotic Schools

Used 20+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?