stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
AP CSP Review Flashcards | StudBud
Explore
/
AP CSP Review
5. Metadata refers to:
9. A Boolean value can be:
AP CSP Review
22 terms
·
StudBud Administration
·
8 plays
Imported from external platform
Flashcards
22 cards
F
Practice quiz
P
Host live
L
Questions
22
Answers
1
9. A
Boolean
value can be:
Either true or false
Only a string or integer
D. A collection of characters
B. Any numeric value
2
5.
Metadata
refers to:
B. Data about data
A. The main content of a file
C. A form of cyberattack
D. A programming language
3
22. What is meant by "modularity" in programming?
B. Organizing a program into separate, reusable components
D. Testing only the main() function of a program
A. The process of encrypting functions
C. Writing code without using variables
4
28. Why is redundancy important in Internet architecture?
It slows down data transmission to reduce overload
It encrypts data using multiple layers
It improves reliability by allowing multiple pathways
It ensures only one route for all packets
5
15. What is a distributed system?
A system where data is stored on a single device
A. A program stored on the cloud
A network of computers that work together
D. A single-threaded operating system
6
19. Which of the following best represents a binary search algorithm?
A. Examining every element until the target is found
D. Using nested loops to evaluate elements
B. Splitting the data in half repeatedly to locate the target
C. Sorting the list before starting the search
7
8. What is a logic error in programming?
D. A virus in a program
B. An error that causes the program to crash
C. A mistake in a program’s algorithm that causes it to behave incorrectly
A. An error caused by syntax mistakes
8
4. Which of the following is a
lossless compression
method?
A. JPEG
C. MP4
B. MP3
D. PNG
9
2. What is the primary purpose of an
algorithm
?
A. To compile code
B. To encrypt messages
C. To describe a step-by-step process to solve a problem
D. To build computer hardware
10
25. How does parallel computing differ from sequential computing?
A. Sequential computing runs multiple tasks at once
C. Parallel computing divides tasks across multiple processors
B. Parallel computing completes tasks one at a time
D. Sequential computing requires a distributed system
11
26. What is an example of a computing innovation that raises ethical concerns?
A new HTML tag
A high-resolution monitor
A sorting algorithm
Facial recognition software
12
20. What is a benefit of using libraries in programming?
D. They slow down runtime but improve accuracy
B. They eliminate the need for variables
C. They allow for code reuse and reduce redundancy
A. They reduce the need for any testing
13
16. Which of the following best describes "fault tolerance"?
C. A feature that detects all possible bugs in a program
D. A backup version of a program
A. The system slows down when it encounters errors
The ability of a system to continue functioning even when part of it fails
14
6. What is a digital divide?
D. A bug in a digital program
B. The gap between people who have access to technology and those who don't
C. The divide between mobile and desktop applications
A. The difference between analog and digital signals
15
11. Which of the following best describes the scalability of a system?
B. The ability of the system to function without the Internet
D. How quickly a computer processes images
A. The system's ability to compress data without loss
C. The ability of the system to maintain performance as workload increases
16
10. What is the main benefit of using
procedures (functions)
in programming?
B. They make code harder to read
D. They prevent syntax errors
A. They slow down execution
C. They allow reuse of code and reduce repetition
17
7. What is the role of
TCP/IP
in internet communication?
C. To break data into packets and ensure reliable delivery
D. To prevent DDoS attacks
B. To define how data is compressed
A. To create websites
18
9. What is the function of a loop in a program?
A. To organize code in folders
To repeat a block of code multiple times
C. To terminate a program
To define variables
19
8. What is
phishing
?
A type of virus that replicates itself
A cyberattack that tricks users into revealing person
B. A technique to test software
D. A method for compressing data
20
1. What does
abstraction
in computer science refer to?
A. Writing a program in multiple languages
B. Hiding unnecessary details to focus on the main idea
C. Making a program more complex
D. Encrypting a program to make it secure
21
1. What does
abstraction
in computer science refer to?
B. Hiding unnecessary details to focus on the main idea
C. Making a program more complex
A. Writing a program in multiple languages
D. Encrypting a program to make it secure
22
3. A
bit
is:
C. The basic unit of data in computing
D. A type of programming loop
The basic unit of data in computing
A. A function used to store large values