
Functions in Python

Quiz
•
Computers
•
12th Grade - University
•
Hard
Trial1 T
Used 27+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not true about functions?
They divide a large program into smaller modules
Provide a systematic way of problem solving
Make the program difficult to manage and understand
Helps in creating user defined libraries
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Functions provide _________ to problem solving
Divide and conquer approach
Modular approach
Both 1 and 2
None of the above
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Functions can be categorized into ____ types.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predefined functions that are already available in Python are known as
Modules
User defined functions
Scripts
Built-in functions
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of these in not a built in function?
int()
power()
len()
type()
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
a=list(range(2,10,2)) will create a as ______ and produce the output as ______ if a is used in print
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following applies to a user defined function ?
Parameters are optional in a function definition
A : is used to mark the end of a function header
return statement is not optional
Function naming follows the rules of naming identifiers
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Unit 1 - Introduction to Kotlin (L2)[ID]

Quiz
•
12th Grade
15 questions
ARRAYS AND FUNCTIONS

Quiz
•
University
19 questions
Parameters and Return Review

Quiz
•
9th - 12th Grade
20 questions
function in python

Quiz
•
12th Grade
20 questions
Define Function

Quiz
•
12th Grade
15 questions
Functions in Python

Quiz
•
University
19 questions
OCR GCSE Computer Science Subroutines

Quiz
•
12th Grade
15 questions
Gateway Level 3 Python Quiz 3

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade