Search Header Logo

Basic Quiz

Authored by Sharfuddin Mohammed

Other

University

Used 1+ times

Basic Quiz
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

Media Image

What will be the output after the following statements?

17

24

12

15

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output after the following statements?

[25, 35, 53, 52, 35, 25]

[25, 5, 5, 25, 52, 5, 25]

[35, 53, 52, 35]

[25, 35, 53, 25, 52, 35, 25]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output after the following statements?

[5, 3, 2, 4, 0, 1]

[5, 3, 6, 4, 0, 1]

[5, 6, 2, 4, 0, 1]

[5, 4, 0, 1]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output after the following statements?

40

40

07

47

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the data type of x after the following statement?

x = (34, 81, 50)

List

String

Dictionary

Tuple

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function can be used to find the data type of a

variable?

data()

type()

true()

str()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output after the following statements?

x = [24, 50, 37]

y = 24 in x

print(y)

x[0]

[24]

True

False

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?