Python Quiz - 6

Python Quiz - 6

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Recuperação da Prova PR

Recuperação da Prova PR

8th Grade

10 Qs

บทที่ 1 เทคโนโลยีกับชีวิตประจำวัน

บทที่ 1 เทคโนโลยีกับชีวิตประจำวัน

7th Grade

10 Qs

Chương trình bảng tính

Chương trình bảng tính

7th Grade

12 Qs

Digcit 5-6

Digcit 5-6

5th - 6th Grade

10 Qs

Year 7 - Bohunt E-Mail

Year 7 - Bohunt E-Mail

7th Grade

10 Qs

Računalne mreže

Računalne mreže

3rd - 10th Grade

11 Qs

Основы программирования на языке Паскаль

Основы программирования на языке Паскаль

8th - 11th Grade

10 Qs

Scratch Öğreniyorum 3

Scratch Öğreniyorum 3

6th Grade

11 Qs

Python Quiz - 6

Python Quiz - 6

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Priyanka R.D

Used 16+ times

FREE Resource

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?