
AP CSP Unit 7 Review
Flashcard
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Wayground Content
Used 3+ times
FREE Resource
Student preview

21 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Where should return true; be written in the code?
Back
OPTION C
2.
FLASHCARD QUESTION
Front
Which call of the function correctly follows the instructions laid out in the API? Options: moveElement("button1", 2, 23); moveElement("button1", "left", "thirty"); moveElement("button1", 30, "two"); moveElement("button1", "down", 25);
Back
moveElement("button1", "down", 25);
3.
FLASHCARD QUESTION
Front
Parameters are different than arguments
Back
True
4.
FLASHCARD QUESTION
Front
What will print to the console after running this code segment? Options: 15, 16, 21, 18
Back
16
5.
FLASHCARD QUESTION
Front
Which of the following procedures would be most useful as part of a program to determine whether a word appears in two different text files? Options: A procedure getWords, which takes a positive integer n and a text file as input and returns the first n words in the text file. A procedure textMatch, which takes two text files as input and returns true if the two text files are identical. A procedure isFound, which takes a word and a text file as input and returns true if the word appears in the text file A procedure sameSize, which takes two text files as input and returns true if the two text files contain the same number of words.
Back
A procedure isFound, which takes a word and a text file as input and returns true if the word appears in the text file.
6.
FLASHCARD QUESTION
Front
Which of the following is NOT a benefit of procedural abstraction?
- Making the code run faster
- Making the code more readable
- Providing more opportunities for code reuse
- Reducing the amount of duplicated code
Back
Making the code run faster
7.
FLASHCARD QUESTION
Front
What is displayed as a result of the procedure call
proc2("birthday", "to you")?
Back
to you happy birthday
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
15 questions
Photosynthesis AP Bio Review
Flashcard
•
11th Grade - University
10 questions
Purpose Clauses
Flashcard
•
10th - 11th Grade
19 questions
Respiratory System and Gas Exchange
Flashcard
•
11th Grade
15 questions
The Genre of Science Fiction
Flashcard
•
11th - 12th Grade
16 questions
Phrasal Verbs Related to Food & Eating
Flashcard
•
10th Grade
15 questions
Verbs and prepositions
Flashcard
•
12th Grade
13 questions
Simple Tips for Healthy Eating
Flashcard
•
10th Grade
20 questions
Soal latihan persamaan reaksi kimia
Flashcard
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade