
Code.org 7

Flashcard
•
Computers
•
10th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which code segment results in "true" being returned if a number is even? Replace "MISSING CONDITION" with the correct code segment: num % 2 == 0; num % 0 == 2; num % 1 == 0; num % 1 == 2; isEven(num)
Back
num % 2 == 0;
2.
FLASHCARD QUESTION
Front
Options: [2, 5, 3, 1, 6], [1, 4, -1, 0, 1], [0, 3, 6, -1, 9], [5, 2, 6, 3, 9], [5, 1, 7, -1, 9]
Back
[0, 3, 6, -1, 9]
3.
FLASHCARD QUESTION
Front
Which function calls would provide the most helpful test of this function? Remember: With tests, you are attempting to figure out all the possible ways the function could be broken. Options: findMin(-1, 0), findMin(2,4), findMin(5,10), findMin(5,3), findMin(7,2), findMin(5,1), findMin(1,1), findMin(-2,2), findMin(0,3), findMin(-1,1), findMin(1,-1), findMin(1,1)
Back
findMin(-1,1), findMin(1,-1), findMin(1,1)
4.
FLASHCARD QUESTION
Front
listAverage() returns the average number in a list. Which of these functions does this correctly?
Back
5.
FLASHCARD QUESTION
Front
What is printed to the console?
console.log(15 % 4);
Back
3
6.
FLASHCARD QUESTION
Front
Which term refers to a solution to a large problem that is based on the solutions of smaller subproblems?
Back
procedural abstraction
7.
FLASHCARD QUESTION
Front
Where should return false; be written in the code?
Back
OPTION C
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Revisando geografia 6° ano

Flashcard
•
11th Grade
15 questions
CodeHS Python Unit 7 Looping Flashcard Review

Flashcard
•
9th - 12th Grade
10 questions
Como Fazer um Bolo de Bolacha de Chocolate

Flashcard
•
KG
10 questions
Từ vựng chủ đề gia đình

Flashcard
•
KG - University
10 questions
Distance v Displacement

Flashcard
•
10th - 12th Grade
7 questions
Mercado

Flashcard
•
KG - University
15 questions
Graphing Trig Functions Practice

Flashcard
•
10th - 12th Grade
8 questions
Unit #4- Loops and Nested Loops

Flashcard
•
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
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade