
Milestone's Contest
Authored by JAGARLAMUDI 23BCE9726
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?