Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

quiz-placeholder

Similar activities

python

python

3rd Grade - University

12 Qs

Test - Python básico II

Test - Python básico II

9th - 12th Grade

16 Qs

Programming Quiz 1

Programming Quiz 1

11th Grade

11 Qs

Python Revision P1

Python Revision P1

9th - 12th Grade

15 Qs

Python Input/Output

Python Input/Output

9th - 12th Grade

10 Qs

Python - Input, print and operators.

Python - Input, print and operators.

9th - 10th Grade

17 Qs

Python L1

Python L1

8th Grade - University

14 Qs

Exploring Python: Input and Output Essentials

Exploring Python: Input and Output Essentials

9th Grade - University

10 Qs

Python Programming Basics

Python Programming Basics

Assessment

Quiz

Computers

7th - 11th Grade

Hard

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 *

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?