Search Header Logo

Revision Part 1 POP QUIZ Intr to cps

Authored by Barri-Ann Lawrence

Computers

6th - 8th Grade

Used 2+ times

Revision Part 1 POP QUIZ Intr to cps
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Float

String

Boolean

Integer

2.

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

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables have three things:

Numeric, string, Boolean

Integer, float, string

name, type, value

function, value, name

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Python 3 Python 3 Python 3

Python Python Python

PythonPythonPython

Python*3 Python*3 Python*3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one to the following Python programs will not run?

num = 4

greeting = "Hello"

print(num + greeting)

grade = 98.7

letterGrade = "A+"

print(str(grade) + letterGrade

studentNum =80

print("studentNum")

print("Hello World!")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

float, integer, boolean, and string are all examples of what?

Variables

Data Types

Words

Concatenation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a program that will produce the following output?

SeasonSeasonSeason

word = "Season" * 3

print(word)

word = "Season" + "Season" + "Season"

print(word)

num = 3

word = "Season" * 3

print(word)

word = "Season"

print(word)

print(word)

print(word)

Access all questions and much more by creating a free account

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?