
Unit 7 Test Review Parameters, return values & libraries

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Donna Panter
Used 120+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
the subdivision of a computer program into separate subprograms.
API
procedureal abstraction
modularity
library
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one benefit of using existing algorithms instead of brand new algorithms?
removes testing
reduces abstractions in the program
simplifies a complex program
increases development time
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is output by the code below?
function Morning(message) {
write("Mom! ", message);
}
Morning("Good morning!");
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is output by the code below? (separate answers by a space. Ex 5 6 7)
function doubleIt(number) {
write(number, number);
}
doubleIt("two");
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is output by the code below? Write error if there is an error.
function sum(a, b) {
return a + b;
}
write(sum(3,5));
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is displayed after running this program? Write error if there is an error.
function greeting(a,b) {
if (a < 0) return "Good Morning";
else {
if ( b < 5) return "Good Afternoon";
else {
if (b > a) return "Good Night";
else return "I'm going to bed";
}
}
}
console.log(greeting(3,7));
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
How would you call the function if width was 5 and height was 10?
function area(width, height) {
console.log( width * height );
}
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Bài 11: KIỂU MẢNG MỘT CHỀU

Quiz
•
1st - 10th Grade
15 questions
หน่วยที่ 2 เรื่อง ( Language C )

Quiz
•
9th - 12th Grade
10 questions
Y9 Java (Karel the dog)

Quiz
•
9th Grade
10 questions
Data Conversion & User Input

Quiz
•
10th Grade
16 questions
2.2.3 String Manipulation Techniques

Quiz
•
11th Grade
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
18 questions
JAVA string

Quiz
•
12th Grade
16 questions
Funkcje znakowe w SQL

Quiz
•
10th 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
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade