A function is a subprogram doing a specific operation on data.
User Defined Functions

Quiz
•
Computers
•
12th Grade
•
Medium
Priyanka Kalarikkal
Used 137+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
True
False
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
____ statement in function bring the result to the calling program.
break
return
def
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Functions should be defined before __main__ of a program.
True
False
4.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
A function definition includes the following parts..(you can choose multiple options if any)
def keyword in function header
Indented body
Optional parameters
Break statement
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
random.random() is an example of___
User defined function
Built-in functions
Functions defined in modules
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
____ are the values passed to a function during function call.
Arguments
Parameters
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
____ are the values received by the functions.
Arguments
Parameters
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
JavaScript Game Development Newton

Quiz
•
9th Grade - University
20 questions
C++ Chapter 6 Review - Functions

Quiz
•
10th Grade - University
20 questions
Python Functions Overview

Quiz
•
12th Grade
20 questions
Mastering Python Basics

Quiz
•
12th Grade
15 questions
Functions in Python

Quiz
•
9th - 12th Grade
20 questions
OOP Java

Quiz
•
12th Grade
20 questions
Mastering Python Loops and Functions

Quiz
•
10th Grade - University
20 questions
Excel - Formulas, Functions & Formatting

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade