Milestone's Contest

Milestone's Contest

University

35 Qs

quiz-placeholder

Similar activities

Python Quiz

Python Quiz

University

40 Qs

CSS QUIZ DAW EWAN

CSS QUIZ DAW EWAN

University

31 Qs

Section 8: Storage (1-3)

Section 8: Storage (1-3)

University

33 Qs

PL101 MIDTERM Long Quiz

PL101 MIDTERM Long Quiz

University

35 Qs

Python Quiz II

Python Quiz II

9th Grade - University

30 Qs

GAME OF CODES

GAME OF CODES

University

30 Qs

IT DAY 2022 - TRIVIA

IT DAY 2022 - TRIVIA

University

40 Qs

Mind fest

Mind fest

University

30 Qs

Milestone's Contest

Milestone's Contest

Assessment

Quiz

Computers

University

Hard

Created by

JAGARLAMUDI 23BCE9726

Used 2+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to define an empty set in Python?

{ }

[ ]

set( )

( )

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression?
3**2**2

81

64

9

16

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following libraries is used for data manipulation and analysis in Python?

NumPy

matplotlib

Pandas

SciPy

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, which function is used to get the current working directory?

os.getcwd()

os.getcwd_dir()

os.dir()

os.path()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the above code output?

40

50

30

IndexError

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the continue statement do in Python?

Exits the current function

Skips the current iteration of the loop

Ends the program execution

Breaks out of the loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the lambda function in Python?

To define a simple function

To create anonymous functions

To define class methods

Both a and b

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?