Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

quiz-placeholder

Similar activities

Program Development - Python: Errors

Program Development - Python: Errors

8th - 10th Grade

13 Qs

Data types and Input

Data types and Input

7th - 9th Grade

14 Qs

Python for beginners #1

Python for beginners #1

8th Grade

10 Qs

Input and Output Operations in Python

Input and Output Operations in Python

8th Grade

10 Qs

Conditional Statements

Conditional Statements

9th Grade

15 Qs

Python Syntax II

Python Syntax II

10th Grade

16 Qs

CỦNG CỐ KIẾN THỨC LỆNH VÀO RA TRONG PYTHON

CỦNG CỐ KIẾN THỨC LỆNH VÀO RA TRONG PYTHON

10th Grade

10 Qs

Python Review

Python Review

7th - 8th Grade

17 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 666+ 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?