Python Quiz - 6

Python Quiz - 6

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

Unit #8 | Worksheet #2

Unit #8 | Worksheet #2

6th Grade

10 Qs

Impresa e siti web

Impresa e siti web

8th - 12th Grade

10 Qs

Working with Text : Summary

Working with Text : Summary

6th Grade

10 Qs

Computer System

Computer System

8th - 9th Grade

10 Qs

Interstate Competition

Interstate Competition

7th - 10th Grade

11 Qs

8-klass 2-sherek

8-klass 2-sherek

8th Grade

15 Qs

Informatyka - Urządzenia w komputerach

Informatyka - Urządzenia w komputerach

1st - 6th Grade

12 Qs

Python Quiz - 6

Python Quiz - 6

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Priyanka R.D

Used 16+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which two statements are used to implement iteration?

IF and WHILE
ELSE and WHILE
FOR and WHILE
IF and ELSE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which kind of loop would be used?


I need a program that will keep letting me add money to a piggy bank until I get to £100.

FOR Loop

WHILE Loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the definition of Indentation in terms of programming

Repetition of a sequence, usually with some change

A gap at the start of a line of code

A line of code that includes a condition, followed by lines of code that only run if the condition is met

Repetition of the first letter at the start of each word in a sentence

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will happen when this program runs

It will display numbers 0-10 on separate lines

It will display numbers 0-9 on separate lines

It will crash

It will display 0s in an infinite loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

Media Image

5
4
3
2
1
5  4  3  2  1
4
3
2
1
0
4  3  2  1  0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a While loop a code will be repeated until the condition becomes

FALSE

TRUE

User choice

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the output of the following code:

for i in range(3):

print(5)

0 1 2

3 3 3 3 3

5 5 5

0 1 2 3 4

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?