
Lists, Loops, and Traversals

Flashcard
•
Computers
•
12th Grade
•
Hard
Standards-aligned
Quizizz Content
FREE Resource
Student preview

30 questions
Show all answers
1.
FLASHCARD QUESTION
Front
In code.org, what does it mean to call a function?
Back
To execute the series of instructions defined within a function.
Tags
DOK Level 2: Skill/Concept
2.
FLASHCARD QUESTION
Front
Which of the following is a correct example of a function definition in code.org? Options: `function myFunction() { console.log("Hello World"); }`, `call myFunction()`, `myFunction() { console.log("Hello World"); }`, `define myFunction()`
Back
`function myFunction() { console.log("Hello World"); }`
Tags
DOK Level 2: Skill/Concept
3.
FLASHCARD QUESTION
Front
What is the role of parameters in a function in code.org?
Back
They allow passing different data into functions each time they are called.
Tags
DOK Level 2: Skill/Concept
4.
FLASHCARD QUESTION
Front
What does the `return` statement do in the function `function add(x, y) { return x + y; }`?
Back
It stops the function and sends the value of `x + y` back to where the function was called.
Tags
DOK Level 2: Skill/Concept
5.
FLASHCARD QUESTION
Front
How does using functions in code.org help in reusing code?
Back
Functions can be called multiple times with different arguments to perform a task.
Tags
DOK Level 2: Skill/Concept
6.
FLASHCARD QUESTION
Front
Which of the following is an example of a function call in code.org? Options: `function callMe() { console.log("Called"); }`, `callMe();`, `function callMe();`, `call function callMe();`
Back
`callMe();`
Tags
DOK Level 2: Skill/Concept
7.
FLASHCARD QUESTION
Front
If a function in code.org has a parameter named `age`, which of the following is a correct way to call this function? Options: `function(age);`, `function call(age);`, `functionName(age);`, `call functionName with age;`
Back
`functionName(age);`
Tags
DOK Level 2: Skill/Concept
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Fall Semester Final - CS Principles

Flashcard
•
11th Grade
21 questions
AP CSP Unit 3 Review

Flashcard
•
11th Grade
26 questions
Final Exam: AP Computer Science Principles (JavaScript)

Flashcard
•
12th Grade
26 questions
lists in python

Flashcard
•
11th - 12th Grade
20 questions
Python - List and Tuples

Flashcard
•
11th - 12th Grade
21 questions
AP CSP Unit 7 Review

Flashcard
•
11th Grade
23 questions
CSP Unit 6 Review

Flashcard
•
12th Grade
23 questions
CSP Unit 6 Review

Flashcard
•
12th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

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

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

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

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade