Search Header Logo

class 11 PYTHON BASICS quiz -1

Authored by Vaishali Lamba

Computers

11th Grade

CCSS covered

Used 75+ times

class 11 PYTHON BASICS quiz -1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

32 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • Ungraded

enter your name

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

class & sec

11 a

11 b

11 d

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How would you assign an integer to a variable?

new_var = 4

new_var == 4

new_var = "4"

new var "4"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How would would you print a text string?

output "Hello!"
print ("Hello!")
print (Hello!)
output (Hello!)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which symbol do we use if we want to add a comment to our code?

@
#
*
&

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

To create a variable named new_var and assign it a value of 81 divided by 9, which statement would you use?

new_var = 81 \ 9
new_var = "81 / 9"
new_var = "81 \ 9"
new_var = 81 / 9

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Choose the statement that assigns 4 to the power of 3 to the variable new_var...

new_var = 4 ** 3
new_var = 3 ** 4
new var = 3 ** 4
new_var = 4 ^^ 3

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?