What is the first step in the development process of a program?
Identifying the problem or purpose.
Which of these is NOT metadata? A. File size B. Image pixels C. Filename D. Artist name
B. Image pixels
What is the purpose of using a procedure (function) in a program?
To break code into reusable, organized sections that make it easier to manage and debug.
What is the purpose of an IP address?
To identify devices on a network.
Which is a positive impact of social media on global communication?
It connects people across countries instantly.
You're designing a program to track study time. What would be a good input/output pair?
Input: Minutes studied, Output: Total hours this week
You’re working with a list of grades: [87, 92, 76, 100]. What list index would give you the number 76?
Index 3 (Index Starts At 1 For AP Exam)
You want a function to return the square of a number. Write a simple pseudocode function.
PROCEDURE square(n) RETURN n * n
Why do messages on the internet get split into packets?
So they can travel independently and efficiently, improving transmission rates
Your app collects user data without asking. What is the ethical issue?
Privacy violation due to lack of informed consent.
What part of the development process involves testing code and fixing bugs?
The iterative improvement stage.
You have a list of people’s names and ages. Which abstraction would help group each person's name with their age?
A list of pairs or a dictionary/record for each person.
Which search algorithm is more efficient for sorted data: Linear or Binary? Why?
Binary; it eliminates half of the data each step.
True/False: TCP guarantees all packets arrive and are in order.
True
A hiring AI was created by one developer and tested only on data from one company. What’s a likely problem with this?
It could be biased and unfair to applicants from different backgrounds.
You created a program, but it’s crashing when users enter letters instead of numbers. What step did you skip in your development process?
Input validation and testing for unexpected inputs.
What is data abstraction and why is it useful
It simplifies complex data by organizing it into understandable units.
What does it mean for an algorithm to be “efficient”?
It solves a problem using fewer steps or resources, like time or memory.
How does the Internet maintain communication when one path fails?
Redundant paths automatically reroute the data.
How can open-source software reduce the digital divide?
It provides free tools and learning resources to underserved communities.
What does it mean when a program is said to be “event-driven”?
The program responds to user actions/inputs like clicks or keystrokes.
You have a dataset of 5,000 user reviews. What CSP concept lets you analyze this data efficiently with a program?
Big data processing using list iteration and conditionals.
What’s the difference between sequencing and selection?
Sequencing is the order of steps; selection involves making choices (if/else).
You are designing a website. What happens when someone types your domain name?
DNS translates it to an IP address to find your server.
How can computing innovations create unintended consequences?
They may cause issues the developers didn’t anticipate, like privacy risks.