Python set 3

Python set 3

University

10 Qs

quiz-placeholder

Similar activities

IEEE Coding Competition

IEEE Coding Competition

University

13 Qs

SKEE1103 CT#10: Functions and Scope

SKEE1103 CT#10: Functions and Scope

University

14 Qs

SKEE1103 CT#11c: Pointers and Functions

SKEE1103 CT#11c: Pointers and Functions

University

11 Qs

python set 1

python set 1

University

10 Qs

PYTHON set4

PYTHON set4

University

10 Qs

Praktisi Mengajar - Java Test

Praktisi Mengajar - Java Test

University

10 Qs

#Sg_Spaic Last season Quiz (ML and Python)

#Sg_Spaic Last season Quiz (ML and Python)

KG - Professional Development

10 Qs

ATP-lab viva

ATP-lab viva

University

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?