Quiz#6

Quiz#6

8th Grade

10 Qs

quiz-placeholder

Similar activities

9.1.6 - Starter Quiz

9.1.6 - Starter Quiz

8th - 9th Grade

12 Qs

Python : Codeathon Competition

Python : Codeathon Competition

5th - 8th Grade

15 Qs

Basics of Coding SC 1

Basics of Coding SC 1

7th - 9th Grade

15 Qs

Ch-8 Iterative statements in Python

Ch-8 Iterative statements in Python

8th Grade

12 Qs

Python - Operators and Conditional Statement

Python - Operators and Conditional Statement

3rd - 10th Grade

10 Qs

29W Quiz 1 - PLTW

29W Quiz 1 - PLTW

8th - 12th Grade

15 Qs

Python Intro

Python Intro

8th - 9th Grade

10 Qs

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Quiz#6

Quiz#6

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Eman Shatnawe

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code output?

0, 1, 2

1, 2, 3

1, 2, 3, 4

2, 3, 4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code output?

1, 2, 3

0, 1, 2

0, 1, 2, 3

1, 2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times will the following loop run?

3 times

2 times

4 times

5 times

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code output?

2, 3, 4, 5

1, 2, 3, 4

2, 3, 4, 5, 6

3, 4, 5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code output?

0, 1, 2, 3, 4

0, 2, 4

1, 3, 5

0, 1, 2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code output?

7, 4, 1, -2

7, 4, 1, -1

9, 6, 3, 0

8, 5, 2, -1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following keywords is used to stop a loop prematurely?

continue

stop

break

exit

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?