Python Quiz 2

Python Quiz 2

9th Grade

20 Qs

quiz-placeholder

Similar activities

Bài 13 Tin 10

Bài 13 Tin 10

1st - 12th Grade

18 Qs

AI Checkpoint 1 Revision

AI Checkpoint 1 Revision

9th - 12th Grade

16 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

Q7/Q8 Email Vocabulary (Basics in 21t4s)

Q7/Q8 Email Vocabulary (Basics in 21t4s)

5th - 9th Grade

17 Qs

LA1.C1: Introduction to Small Basic

LA1.C1: Introduction to Small Basic

9th Grade

15 Qs

Latihan PSAS Kelas 9

Latihan PSAS Kelas 9

9th Grade - University

20 Qs

1.3.1 Networks #1 LAN's, Client-Server, Peer to Peer

1.3.1 Networks #1 LAN's, Client-Server, Peer to Peer

9th - 11th Grade

15 Qs

Unit 8 Practice Test For CSP

Unit 8 Practice Test For CSP

9th Grade

16 Qs

Python Quiz 2

Python Quiz 2

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Chris Dunn

Used 44+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you display text?

input
output
print
variable 

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function convert a string to a float in python?

int(x,[,base])

long(x,[base])

float(x)

str(x)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This operator means that one value is the same as the other value

==
!=
>
<

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

stores a piece of data, and gives it a specific name

variable
whitespace
interpreter
modulo

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The correct way to write a variable in Python?

my_variable = 10
my variable = 10
my_variable is 10
my_variable: 10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these would work as a piece of code?

IF answer == "Yes":
if answer == "Yes"
if answer == "Yes":
if answer = "yes":

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is possible to execute both the statements under if and else at the same time.

TRUE

FALSE

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?