Python set 3

Python set 3

University

10 Qs

quiz-placeholder

Similar activities

TEST RELIABILITY & METHOD OF ASSESSING RELIABILITY

TEST RELIABILITY & METHOD OF ASSESSING RELIABILITY

University

10 Qs

MGT340 CHP 4: PERFORMANCE APPRAISAL

MGT340 CHP 4: PERFORMANCE APPRAISAL

University

10 Qs

#Sg_Spaic Last season Quiz (ML and Python)

#Sg_Spaic Last season Quiz (ML and Python)

KG - Professional Development

10 Qs

IEEE Coding Competition

IEEE Coding Competition

University

13 Qs

c set 3

c set 3

University

10 Qs

Undertale

Undertale

KG - University

10 Qs

CODE BREAKER

CODE BREAKER

University

10 Qs

CERT Program (Part A)

CERT Program (Part A)

12th Grade - Professional Development

10 Qs

Python set 3

Python set 3

Assessment

Quiz

Other

University

Hard

Created by

ESPARK 2023

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code snippet?

print(2**3 + (5 + 6)**(1 + 1))

8

129

121

none of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum length of a Python identifier?

32

23

12

no fixed lenght specified

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following concepts is not a part of Python?

pointer

loops

dynamic typing

all of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements are used in Exception Handling in Python?

try

except

final

all of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the proper syntax to check if a particular element is present in a list?

if else in list

if else not in list

Both a and b

none of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code snippet ?

True,True,True

False,True,False

False,False,False

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code snippet ?

1 2 [3, 4, 5]

1 2 [3, 4, 5, 6]

1 2 3 4 5

None of the above

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?