Python KS3

Python KS3

6th - 9th Grade

17 Qs

quiz-placeholder

Similar activities

Y9 Creative iMedia RO81 Quiz Part 1

Y9 Creative iMedia RO81 Quiz Part 1

9th Grade

21 Qs

Robotic /coding exam

Robotic /coding exam

6th - 8th Grade

16 Qs

Основные понятия языка программирования PYTHON

Основные понятия языка программирования PYTHON

7th Grade

12 Qs

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

CSS GRADE 9 - QUIZ PECs and EM

CSS GRADE 9 - QUIZ PECs and EM

9th Grade

20 Qs

Internet dan Topologi

Internet dan Topologi

8th Grade

19 Qs

Quiz Kelas 8

Quiz Kelas 8

8th Grade

15 Qs

Week #7 - Time Machine

Week #7 - Time Machine

8th Grade - University

17 Qs

Python KS3

Python KS3

Assessment

Quiz

Computers

6th - 9th Grade

Practice Problem

Hard

Created by

Debbie Watson

Used 300+ times

FREE Resource

AI

Enhance your content in a minute

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

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will happen when this code is run?

Nothing there is an error on line 2

It will print the following:

Hello World!

Oh, you are a wally

It will print the following:

"Hello World!"

Then wait for next instruction

Nothing, there is no instruction given to the user.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will happen when this code is run?

Nothing there is an error on line 5

It will print the following:

10

10

20

It will print the following:

13.3333334

It will print the following:

10

10

20

Average = 13.33333334

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will happen when this code is run?

Nothing there is an error on line 2

It will print the following:

is it raining today?

It will print the following:

is it raining today, yes or no?

It will print the following:

is it raining today?

Is it windy today?

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will happen when this code is run and the user types in yes?

It will print the following:

is it raining today?

yes

The code will return:

Better take a brolly

or you will get wet

Enjoy the weather

Is it windy today?

It will print the following:

is it raining today?

yes

The code will return:

Better take a brolly

or you will get wet

Is it windy today?

It will print the following:

is it raining today?

yes

The code will return:

Better take a brolly

or you will get wet

It will print the following:

is it raining today?

yes

The code will return:

Better take a brolly

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Where is there an error in this code?

Line 2

No need for white space

Line 3

No need for ==

Line 8

There is no print instruction

Line 3 missing a colon ( : )

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will happen when this code is run and the user types in Finham Park?

The code will return:

Try again...

The code will return:

You bet it is, ", name, "is the best!

The code will return:

You bet it is, Finham Park is the best!

Nothing there is an error on

Line 5, missing a colon ( : )

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What does the operator != on line 3 represent

Is exactly

Is an integer

Is a statement

Is not

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?