Python KS3

Python KS3

Assessment

Flashcard

Computers

6th - 9th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

17 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What will happen when this code is run? Options: 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.

Back

It will print the following: Hello World! Oh, you are a wally

2.

FLASHCARD QUESTION

Front

What will happen when this code is run? Options: 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

Back

It will print the following: 13.3333334

3.

FLASHCARD QUESTION

Front

What will happen when this code is run? Options: 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?

Back

It will print the following: is it raining today?

4.

FLASHCARD QUESTION

Front

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 Is it windy today?

Back

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?

5.

FLASHCARD QUESTION

Front

Where is there an error in this code? Options: Line 2, No need for white space, Line 3, No need for ==, Line 8, There is no print instruction, Line 3 missing a colon ( : )

Back

Line 3 missing a colon ( : )

6.

FLASHCARD QUESTION

Front

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

Back

The code will return:
You bet it is, Finham Park is the best!

7.

FLASHCARD QUESTION

Front

What does the operator != on line 3 represent?

Back

Is not

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?