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
What is a function?
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 Wayground
12 questions
Computer Science

Quiz
•
3rd - 12th Grade
10 questions
Programming Concepts Quiz

Quiz
•
9th Grade - University
13 questions
CTE Information Technology Quiz

Quiz
•
7th - 9th Grade
20 questions
MS EXCEL

Quiz
•
8th - 10th Grade
10 questions
Python

Quiz
•
5th - 10th Grade
10 questions
Code.org Unit 5 Vocab Quiz 1

Quiz
•
9th - 12th Grade
20 questions
AQA GCSE Computer Science - 3.2.10 Subroutines

Quiz
•
8th - 10th Grade
12 questions
Finch Robot Review Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade