Search Header Logo

Advance level

Authored by Gowthami Uggam

Computers

9th Grade

Used 14+ 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

1) What is the data type of print(type(10))

float

integer

Int

Carrecter

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2)Which of these in not a core data type?

a) lists

b) Dictionary

c) Tuples

d) Class

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3)What will be the output of the following Python code?

>>>str="hello"

>>>str[:2]

>>>

a) he

b) lo

c) olleh

d) hello

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4)What is the return type of function id?

a) int

b) float

c) bool

d) dict

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5) What error occurs when you execute the following Python code snippet?

apple = mango

a) SyntaxError

b) NameError

c) ValueError

d) TypeError

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7) In order to store values in terms of key and value we use what core data type.

a) list

b) tuple

c) class

d) dictionary

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6) What data type is the object below?

L = [1, 23, 'hello', 1]

a) list

b) dictionary

c) array

d) tuple

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?