Python Variables

Python Variables

Assessment

Flashcard

Computers

6th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What type of data is the following?: X = "195.67"

Back

String

2.

FLASHCARD QUESTION

Front

What type of variable is the following?: Y = False

Back

Boolean

3.

FLASHCARD QUESTION

Front

What does the following Python program print?
X = "Hello World!"
Y = "I can code "
Z = " In Python"
print( X + Y + Z)

Back

Hello World!I can code In Python

4.

FLASHCARD QUESTION

Front

Variables have three things:

Back

name, type, value

5.

FLASHCARD QUESTION

Front

When you want to print something to the screen you should use

Back

a print statement

6.

FLASHCARD QUESTION

Front

print("Python " * 3); will print out what

Back

Python Python Python

7.

FLASHCARD QUESTION

Front

Which one to the following Python programs will not run? Options: num = 4 greeting = "Hello" print(num + greeting), grade = 98.7 letterGrade = "A+" print(str(grade) + letterGrade), studentNum =80 print("studentNum"), print("Hello World!")

Back

num = 4
greeting = "Hello"
print(num + greeting)

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?