Search Header Logo

The End

Authored by Mouna Tounakti

Information Technology (IT)

9th - 12th Grade

The End
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 sec • 2 pts

If we want to print each emoji in this list, what should we print?

emojis = [''😋" , "🦊" , "🌷" , "🏈"]

for emoji in emojis:

print(????)

print(emojis)

print(emoji)

print(????)

2.

MULTIPLE CHOICE QUESTION

5 sec • 3 pts

If we want to use pi in our program, what should we import?

import numpy

import pi

import Math

none of them

3.

FILL IN THE BLANK QUESTION

5 sec • 2 pts

What is the output of this code?

float(True)

4.

FILL IN THE BLANK QUESTION

5 sec • 2 pts

What is the output of this code?

int(False)

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What does this code do?

fruits = ['apple', 'banana', 'orange']

fruits.insert(2, 'cherry')

['apple', 'banana', 'cherry', 'orange']

['apple', 'cherry', 'orange']

['apple', 'cherry', 'banana','orange']

6.

MULTIPLE CHOICE QUESTION

5 sec • 2 pts

What will this print?

word = "Python"

print(word[0])

print(word[-1])

P

n

p

n

Pn

7.

MULTIPLE CHOICE QUESTION

5 sec • 2 pts

What will this print?

print(False == False)

True

False

Error

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?