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.
Python KS3

Flashcard
•
Computers
•
6th - 9th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

17 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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
Similar Resources on Quizizz
10 questions
word processing one

Flashcard
•
6th - 8th Grade
15 questions
JavaScript

Flashcard
•
7th - 8th Grade
11 questions
Python Functions

Flashcard
•
KG - 8th Grade
10 questions
Python

Flashcard
•
7th - 8th Grade
10 questions
Python

Flashcard
•
7th - 8th Grade
14 questions
Python Review through 1.3

Flashcard
•
7th - 9th Grade
10 questions
Functions Review (codeHS Tracy Python)

Flashcard
•
6th - 8th Grade
12 questions
Spike Prime Coding Blocks

Flashcard
•
6th - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade