Python Basics Unit 3.1

Python Basics Unit 3.1

12th Grade

24 Qs

quiz-placeholder

Similar activities

Python variables and operators quiz

Python variables and operators quiz

9th - 12th Grade

20 Qs

IST P-STEM Unit 1 Hardware and Python Review

IST P-STEM Unit 1 Hardware and Python Review

8th - 12th Grade

20 Qs

Java, part I

Java, part I

11th Grade - University

20 Qs

CodeHS - Intro to Python - Basics and Console Interaction

CodeHS - Intro to Python - Basics and Console Interaction

9th Grade - Professional Development

20 Qs

C Programming Quiz

C Programming Quiz

12th Grade - University

20 Qs

Programming - Python (year 12)

Programming - Python (year 12)

9th - 12th Grade

21 Qs

APCSP CodeHS Unit 3

APCSP CodeHS Unit 3

10th - 12th Grade

20 Qs

Data Types

Data Types

9th - 12th Grade

20 Qs

Python Basics Unit 3.1

Python Basics Unit 3.1

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Sarah Flores

Used 48+ times

FREE Resource

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an assignment operator in python?

+

( )

=

==

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How do you comment in Python?

#

*

''' '''

( )

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type return for this code: print(type(6.8))

<class 'int'>

<class 'str'>

<class 'float'>

<class 'bool'>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type return for this code: print(type("hello"))

<class 'int'>

<class 'str'>

<class 'float'>

<class 'bool'>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type return for this code: print(type(6))

<class 'int'>

<class 'str'>

<class 'float'>

<class 'bool'>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type return for this code: print(type(True))

<class 'int'>

<class 'str'>

<class 'float'>

<class 'bool'>

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type return for this code: print(type("5"))

<class 'int'>

<class 'str'>

<class 'float'>

<class 'bool'>

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?