Search Header Logo

Advance Level

Authored by Gayathri Ajvankar

Computers

8th - 10th Grade

Used 25+ times

Advance Level
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output when we execute list(“hello”)?

[‘h’, ‘e’, ‘l’, ‘l’, ‘o’]

[‘hello’]

[‘llo’]

[‘olleh’]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the len(fruits)?

4

5

8

6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of the following Python expression?

4 + 3 % 5

7

2

1

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to define a block of code in Python language?

Indentation

Key

Brackets

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of below snippet code?

for num in range(5):

print(num)

Prints 0 to 5 numbers

prints 0 to 4 numbers

prints 5

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true for variable names in Python?

underscore and ampersand are the only two special characters allowed

unlimited length

all private members must have leading and trailing underscores

none of the mentioned

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is the object below ?
L = [1, 23, ‘hello’, 1]

List

Dictionary

Tuple

Array

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?