
Lists, Loops, and Traversals
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Standards-aligned
Wayground 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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
25 questions
solubility
Flashcard
•
11th Grade
20 questions
Основы логарифмов для 10 класса
Flashcard
•
10th Grade
26 questions
English Questions on Numbers and Verbs
Flashcard
•
KG - University
25 questions
Barron 400 words_*76-100
Flashcard
•
12th Grade
16 questions
Hand Rules
Flashcard
•
12th Grade
20 questions
Explorando el Pasado Simple
Flashcard
•
12th Grade
23 questions
COCH SURE (kinda???)
Flashcard
•
University
24 questions
Gluteus Maximum Functions
Flashcard
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade