What is a function?
Eilat T1W2 Functions Quiz 1

Quiz
•
Computers
•
9th Grade
•
Easy
Kevin Daniel
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A loop that repeats a task
A comment in the code
A block of code that performs a specific function
A variable that stores data
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are arguments?
Variables that are not used in the program
Pieces of information given to a function during its call
Functions that are not defined
Conditions in an if statement
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Differentiate between arguments and parameters.
Arguments are not used in programming
Arguments are passed during function call, parameters are used in function definition
Arguments are used in function definition, parameters are used during function call
Arguments are variables, parameters are loops
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you call a function that has not been defined?
An error is thrown
The function is skipped
The function is automatically created
The program crashes
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when a function is defined but never called?
The program runs faster
The function is executed automatically
The function is skipped
An error is thrown
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a line that calls a function named myFunction that accepts a string as a function.
myFunction('string')
call myFunction('string')
run myFunction('string')
execute myFunction('string')
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to define a function in Python?
function
define
func
def
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
AQA GCSE Computer Science - 3.2.2 Programming Concepts

Quiz
•
8th - 10th Grade
10 questions
Python: Functions and Parameters

Quiz
•
9th - 12th Grade
10 questions
Formulas in Excel

Quiz
•
6th - 9th Grade
13 questions
Python Functions

Quiz
•
9th - 12th Grade
14 questions
GCSE Computing - Subprograms

Quiz
•
9th - 10th Grade
10 questions
Coding - Computer Programming

Quiz
•
KG - University
20 questions
Python -Iteration (loops)

Quiz
•
7th - 12th Grade
16 questions
Subroutines

Quiz
•
9th - 11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University