Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

quiz-placeholder

Similar activities

Python

Python

8th Grade

13 Qs

python

python

3rd Grade - University

12 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Python Quiz for 10s

Python Quiz for 10s

10th Grade

10 Qs

Python Syntax

Python Syntax

10th Grade

16 Qs

Lesson 9 - The internet

Lesson 9 - The internet

8th Grade

12 Qs

Python Revision

Python Revision

8th Grade

15 Qs

Python Input/Output

Python Input/Output

9th - 12th Grade

10 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?