Search Header Logo

Ai-Thon

Authored by Chandrahas King

English

3rd Grade

CCSS covered

Used 4+ times

Ai-Thon
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code snippet?print(3 **2 + 7)

13

21

16

17

Tags

CCSS.6.EE.A.2C

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following data types is mutable in Python?

tuple

list

string

int

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you check the length of a list in Python?

lin.length()


length(list)

len(list)

list.len()

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statements is true about Python indentation?


It is optional


It has no significance


It is used to define blocks of code


It is replaced by curly braces '{}'


5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the following code snippet?

my_string = "Python"

print(my_string[2:5])

"pyt"

"thon"

"tho"

"th"

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In Python, which keyword is used to define a function


func

define

def

returntype functionname( )


7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the following code snippet do in Python?


my_list = [1, 2, 3, 4, 5]

print(my_list[2])

1

2

3

compilation 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?