Define Function

Quiz
•
Computers
•
12th Grade
•
Hard
Barbara White
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A function is a subprogram doing a specific operation on data.
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
16 questions
Mastering Python Functions

Quiz
•
12th Grade
15 questions
Functions in Python

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

Quiz
•
10th Grade - University
25 questions
Mastering Python Functions

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

Quiz
•
10th - 12th Grade
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
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade