
PP_Week3_Batch1
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Narasimha Reddy Soora
Used 1+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Every function should have return statement at the end
The name of the functions defined by the user should follow some guidelines
The body of the function is indented and is enclosed by the brackets
None of the above
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
int
print statement
Empty String
None
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
functionName.doc()
docstring(functionName)
functionName.__doc__
functioName.__doc__()
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
def add(a, b):
c = a + b
return c
def add(a, b):
c = a + b
return 'c'
def add(a,b)
return a+b
All the given options
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Analyze the given code snippet to find it's output.
16 4
16 16
16 SyntaxError
16 NameError
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is the correct way to write a lambda function?
Which of the following is the correct way to write a lambda function?
fun=lambda x: x if x>=0 else -x fun(-4)
fun=lambda x: if x>=0:x else: -x fun(-4)
fun=lambda: x if x>=0 else -x fun(-4)
None of the options
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Find the output of the following code?
5
-5
'5'
NameError
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?
Similar Resources on Wayground
11 questions
Marvel Future Fight
Quiz
•
KG - Professional Dev...
10 questions
Globe Google Workspace Intro
Quiz
•
Professional Development
10 questions
Azure Cloud computing
Quiz
•
Professional Development
13 questions
GRAND OPENING INTERNSHIP EXERCISE 2024
Quiz
•
Professional Development
10 questions
Hen keeping
Quiz
•
Professional Development
10 questions
How are you doing?
Quiz
•
Professional Development
10 questions
AWS ACF Módulo 1 - Visão geral dos conceitos de nuvem
Quiz
•
Professional Development
10 questions
Ai BG-Q#
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
