Python Variables

Python Variables

8th Grade

10 Qs

quiz-placeholder

Similar activities

Những điều đã học

Những điều đã học

1st - 10th Grade

11 Qs

Technology Basics

Technology Basics

6th - 8th Grade

10 Qs

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

Python

Python

7th - 12th Grade

15 Qs

Website constructs

Website constructs

6th - 8th Grade

11 Qs

Family Quizz

Family Quizz

5th Grade - Professional Development

15 Qs

části počítače

části počítače

6th - 9th Grade

11 Qs

Python Variables

Python Variables

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

Joseph Andrada Advincula

Used 29+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

String

Float

Boolean

integer

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Float

String

Integer

Boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following Python program print?

X = "Hello World!"

Y = "I can code "

Z = " In Python"

print( X + Y + Z)

Hello World! I can code In Python

Hello World!I can code In Python

Hello World! I can codeIn Python

Hello World!I can code In Python

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables have three things:

Integer, float, string

Numeric, string, Boolean

function, value, name

name, type, value

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

a print statement

A monitor

The computer Display

The keyboard to type it

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Python Python

Python 2 Python 2

Python*2 Python*2

PythonPython

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one to the following Python programs will not run?

num = 4

greeting = "Hello"

print(num + greeting)

studentNum =80

print("studentNum")

grade = 98.7

letterGrade = "A+"

print(str(grade) + letterGrade

print("Hello World!")

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

Already have an account?

Discover more resources for Computers