AP CSP Unit 3 Review

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

21 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following images shows the path and ending location of the robot that will result from executing the code above? The starting location of the robot is shown as a dotted triangle for cases where the robot does not start and end at the same location. REPEAT 4 TIMES { MOVE_FORWARD() MOVE_FORWARD() MOVE_FORWARD() ROTATE_RIGHT(90) MOVE_FORWARD() ROTATE_RIGHT(90) MOVE_FORWARD() ROTATE_RIGHT(90) }
Back
2.
FLASHCARD QUESTION
Front
Which of the following is NOT true about functions in programming?
Functions are reusable programming abstractions.
Functions help reduce the complexity of writing and maintaining programs.
Functions cannot make calls to other functions within the same program.
Once defined, a function can be called many times from different parts of a program.
Functions help break a problem into logical chunks.
Back
Functions cannot make calls to other functions within the same program.
3.
FLASHCARD QUESTION
Front
What is one important naming convention of functions?
Back
A function name should be as descriptive as possible to indicate what the function does.
4.
FLASHCARD QUESTION
Front
Which one of the following statements about functions is TRUE? A function can change names over the course of a program. Code can be added or removed dynamically from a function while the program is running. Functions can be called using different names depending on where in the program they are called. Two functions can be given identical names as long as their code is identical. Two functions in a single program can have different names but contain identical code.
Back
Two functions in a single program can have different names but contain identical code.
5.
FLASHCARD QUESTION
Front
A piece of code you can use over and over again
Back
Function
6.
FLASHCARD QUESTION
Front
Know how to drive a car without knowing how the engine works is an example of abstraction
Back
True
7.
FLASHCARD QUESTION
Front
Pulling out specific differences to make one solution work for multiple problems.
Back
Abstraction
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
7517 04 Subroutines local and global variables

Flashcard
•
10th Grade - University
15 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Flashcard
•
9th - 12th Grade
16 questions
CodeHS Unit 1

Flashcard
•
9th - 12th Grade
18 questions
Animation and Games Review

Flashcard
•
9th - 12th Grade
21 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Flashcard
•
9th - 12th Grade
15 questions
AP Computer Science Principles - Module 3 Review

Flashcard
•
10th - 12th Grade
20 questions
Computer Science

Flashcard
•
9th - 12th Grade
16 questions
CSP Vocab Practice 1

Flashcard
•
10th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade