Python Data Types and Arithmetic Quiz

Python Data Types and Arithmetic Quiz

8th Grade

7 Qs

quiz-placeholder

Similar activities

Homework 1- Python Basics

Homework 1- Python Basics

8th Grade

10 Qs

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

Python Lesson 1 - Homework

Python Lesson 1 - Homework

8th - 9th Grade

10 Qs

Python

Python

7th - 8th Grade

12 Qs

KOD ARAHAN PYTHON

KOD ARAHAN PYTHON

8th Grade

10 Qs

Python for Class 7

Python for Class 7

7th - 8th Grade

11 Qs

Python Basics

Python Basics

8th - 10th Grade

10 Qs

Python - Y8 lesson 1

Python - Y8 lesson 1

8th Grade

12 Qs

Python Data Types and Arithmetic Quiz

Python Data Types and Arithmetic Quiz

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Kevin Smith

Used 191+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default data type in Python?

Real

String

Integer

Number

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Python code needed to display a word on the screen?

print"hello"

"hello"

print("hello")

print="hello"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the Python code needed to ask a user for input?

input("what is your name?")

input="what is your name?"

(input)=what is your name?

input=what is your name?

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way to store an input as a variable in Python?

answer("what is your name?")

input = "answer"(what is your name?)

answer = input("what is your name?")

input=(what is your name?)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which character represents a comment in Python code?

*

#

&

$

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Choose the TWO correct data types from the list below

Integer

Real

Fake

Short

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we need to convert data types in Python?

Because Python doesn't know about data types

Because Python stores data types as String by default