Python

Python

11th - 12th Grade

35 Qs

quiz-placeholder

Similar activities

Python Quiz II

Python Quiz II

9th Grade - University

30 Qs

GCSE Revision Paper 2 (1)

GCSE Revision Paper 2 (1)

9th - 12th Grade

34 Qs

T1 Diagnostic 01.09.2024

T1 Diagnostic 01.09.2024

12th Grade

40 Qs

PS Unit 4 Iteration Quiz Review

PS Unit 4 Iteration Quiz Review

1st Grade - Professional Development

30 Qs

Year 7 Year End Quiz 1

Year 7 Year End Quiz 1

7th Grade - University

30 Qs

AP CSP Midterm

AP CSP Midterm

9th - 12th Grade

30 Qs

8525 AQA GCSE 3.2.7 Inputs and Outputs

8525 AQA GCSE 3.2.7 Inputs and Outputs

11th Grade

30 Qs

Python for Beginners

Python for Beginners

6th - 12th Grade

30 Qs

Python

Python

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

Tim Sutherland

Used 16+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = 'Dave'

print(name)

Dave

'Dave'

name

(name)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

greeting = "Good morning " + name

print(greeting)

Good morning "Dave"

Good morning Dave

Good morning name

Good morning + Dave

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would print(10 + 16) give as output?

Error

Nothing

10 + 16

26

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these would work as a piece of code?
IF answer == "Yes":
if answer == "Yes"
if answer == "Yes":
if answer = "yes":

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want more than one option with an if statement, what do you use?

elif

else

ifif

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output for print(12/6)?

1

2

6

10

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the environment in Python that write your programs and then test them out?
Shell
Window
IDLE
CLI

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?