Python Quiz - 6

Python Quiz - 6

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Internet

Internet

4th - 6th Grade

11 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Мотылек

Мотылек

6th - 8th Grade

14 Qs

Teknologi Maklumat dan Komunikasi (Pangkalan Data)

Teknologi Maklumat dan Komunikasi (Pangkalan Data)

6th Grade

10 Qs

Tin 8/1

Tin 8/1

KG - University

10 Qs

Spacing & Other Questions

Spacing & Other Questions

6th - 7th Grade

10 Qs

Cos’è la ROM?

Cos’è la ROM?

6th - 12th Grade

10 Qs

7.02 going online

7.02 going online

4th - 9th Grade

10 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

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

Already have an account?

Discover more resources for Computers