
Unit 7 Test Review Parameters, return values & libraries
Authored by Donna Panter
Computers
9th - 12th Grade
Used 120+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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 );
}
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
Câu hỏi trắc nghiệm Tin Học 10 - Bài 10
Quiz
•
10th Grade
17 questions
Data Structures: 1D,2D & List
Quiz
•
11th Grade
20 questions
UH1_INFO_XII
Quiz
•
11th Grade
20 questions
Quiz
•
7th - 12th Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 LỚP 4
Quiz
•
10th Grade
20 questions
Unit Test 1 Class 8 Computer
Quiz
•
8th - 9th Grade
11 questions
CAPÍTULO 1 NETWORKING ESSENTIALS
Quiz
•
1st - 12th Grade
20 questions
Software
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade