Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

quiz-placeholder

Similar activities

Python Intro

Python Intro

8th - 9th Grade

10 Qs

Python

Python

8th Grade

13 Qs

Python Review KS3

Python Review KS3

9th - 12th Grade

17 Qs

python intro

python intro

4th - 12th Grade

17 Qs

N5 SDD - Python input and output

N5 SDD - Python input and output

7th - 11th Grade

12 Qs

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Python Revision

Python Revision

8th Grade

15 Qs

Python

Python

9th Grade

15 Qs

Python Programming Basics

Python Programming Basics

Assessment

Quiz

Computers

7th - 11th Grade

Hard

CCSS
6.EE.B.6

Standards-aligned

Created by

Philip Tall

Used 658+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the word (command) used to display output within Python?

print

input

output

display

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

A box(memory location) where you store values

A box(memory location) where you store multiple values

Data type

A static memory value

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used in python to assign values to a variable?
equals =
plus + 
forward slash /
asterisk *

Tags

CCSS.6.EE.B.6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?
name = 'Dave'
print (name)
Dave
'Dave'
name
(name)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these would work as a piece of code in Python?

IF answer == "Yes":

if answer == "Yes"

if answer == "Yes":

if answer = "yes":

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to output a message in python?

print ("")

print = ("")

print

Print ("")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What syntax would you use to create a name variable in Python?

name=input()

input=name

name=input{}

name=INPUT

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?