Ace the free response questions on your AP Computer Science A exam with practice FRQs graded by Kai. Choose your subject below.
Knowt can make mistakes. Consider checking important information.
The best way to get better at FRQs is practice. Browse through dozens of practice AP $AP Computer Science A FRQs to get ready for the big day.
Academic Course Management
Develop an academic course management system using inheritance. Create an abstract Course class with
Agricultural Field Monitor
Implement the applyVegetationFilter method in the AgriculturalFieldMonitor class to classify crop he
Airline Ticket Price Calculator
This question involves calculating airline ticket prices. You will implement methods to compute the
Ant Colony Simulation
This problem simulates the movement and pheromone updating of an ant colony on a terrain grid.
Art Exhibit
This question asks you to design an ArtExhibit class to represent an art exhibition show.
Autonomous Vacuum Cleaner
This question involves simulating an autonomous vacuum cleaner navigating a room represented as a 2D
Bank Account Fee Calculator
Develop a bank account fee calculator using inheritance. Create an abstract BankAccount class with a
Bank Account Manager
This question requires you to compute interest on a set of bank accounts. You will implement methods
Bank Transaction Analyzer
Implement search methods to analyze bank transactions by amount and transaction ID.
Bank Transaction Processor
This question simulates processing transactions within a bank. The TransactionProcessor class manage
Battlefield Troop Counter
The Battlefield class contains a 2D array of integers representing troop counts in different segment
Battleship Board Analysis
This question involves a simplified Battleship game board represented by a 2D char array. In this bo
Battleship Board Scanner
This question requires scanning a 2D array representing a Battleship game board to identify ship clu
Battleship Navigation
This problem involves simulating the navigation of a battleship through an ocean grid with obstacles
Beverage Preparation Hierarchy
Design a class hierarchy for beverage preparation.
Bike Sharing System
This question simulates a bike-sharing system. The BikeShare class maintains a HashMap to track the
Book Collection Manager
This question involves designing a BookCollection class for managing a collection of books, includin
Book Inventory Manager
This question asks you to design a Book class to manage book details in an inventory system.
Bookstore Inventory Organizer
This FRQ focuses on organizing bookstore inventory data. You will implement methods to sort book tit
BudgetTracker
Design a BudgetTracker class that helps manage expenses by category.
Building Evacuation Plan
This question involves developing an evacuation plan for a building modeled as a 2D grid. You will i
Bus Route Scheduler
This question simulates managing a bus route schedule. You will implement methods to search for a bu
CalendarEvent
Design a CalendarEvent class that manages events scheduled by date and time.
Car Class Design
Implement the Car class as described above.
Car Rental Reservation Checker
Implement the sortReservationsByConfirmation and searchReservationByConfirmation methods in the Rese
ChatRoom
Design a ChatRoom class that simulates a messaging environment for users.
Chess Board Analyzer
This EXTREME question involves analyzing a chess board represented as a 2D array. Implement methods
Chess Knight Moves
This problem involves simulating the moves of a knight on a chessboard.
CipherUtility Utility Class
Implement the CipherUtility class as described below.
City Metro Routing
This question involves developing methods for a MetroRouter class that assists in finding optimal tr
City Traffic Simulator
This question involves simulating traffic light updates at city intersections on a 2D grid. You will
City Weather Report
This question asks you to design a CityWeather class to represent weather reports for a city.
Classroom Seating Analyzer
This question requires scanning a 2D array representing classroom seating to determine the size of t
Concert Ticket
This question asks you to design a ConcertTicket class to represent tickets for a concert event.
Conference Attendee Finder
Design search methods to locate conference attendees by their badge numbers using linear and binary
Contest Ranking System
Implement the sortScoresDescending and findTopTwoScores methods in the ContestRanker class.
Course Enrollment Sorter
Develop methods to sort courses by enrollment numbers using selection sort and merge sort.
CreditCardFormatter Utility Class
Implement the CreditCardFormatter class as described below.
Crop Health Analyzer
This question requires scanning a 2D array representing a farm field's crop health indices to evalua
CurrencyConverter Utility Class
Implement the CurrencyConverter class as described below.
Data Compression Implementation
This question involves implementing simple data compression and decompression methods using run-leng
Data Encryption Simulator
This question simulates a simple data encryption system using a Caesar cipher. You will implement me
DataEncryption Utility Class
Implement the DataEncryption class as described below.
DataFormatter Utility Class
Implement the DataFormatter class as described below.
DateCalculator Utility Class
Implement the DateCalculator class as described below.
Digital Elevation Map Analyzer
This question involves analyzing a digital elevation map represented by a 2D array of integers. You
Digital Image Edge Detector
Implement a method to detect an edge in a digital image represented as a 2D array of pixel brightnes
Digital Poster Editor
Enhance the digital poster editing experience by implementing brightness adjustment and horizontal m
Drone Delivery System
This problem simulates a drone delivery system that navigates through a city grid with obstacles.
Drone Flight Grid
This question simulates a drone flying over a 2D airspace grid. You will implement methods to naviga
Dynamic Temperature Monitor
This question involves developing methods for a TemperatureMonitor class to manage and analyze tempe
E-commerce Order System
This question simulates processing customer orders in an e-commerce environment. The OrderProcessor
E-commerce Order Tracker
Manage e-commerce orders by identifying high-value orders and applying discounts to applicable order
Earthquake Intensity Map Analyzer
This question requires scanning a 2D array representing earthquake intensity readings to identify hi
ECommerceOrderTracker
Design an ECommerceOrderTracker class that manages orders and tracks their statuses.
Election Ballot Organizer
This question involves organizing election ballots by sorting them with two different algorithms. Yo
Election Results Processor
This question involves implementing an ElectionResults class to tally votes and determine the winnin
Election Vote Counter
Implement the sortCandidatesByName and searchCandidateByName methods in the VoteCounter class.
Elevator Simulation
This question simulates an elevator system. The ElevatorSystem class tracks the current floor of an
Emergency Response Routing
This problem simulates the planning of an emergency response route on a city grid.
Employee Records Search
This FRQ involves managing employee records represented as strings. You will implement methods to so
Employee Salary Calculation Hierarchy
Design a class hierarchy to compute employee salaries.
Employee Salary System
Design an employee salary system using inheritance. Create an abstract Employee class with an abstra
Employee Schedules Organizer
Implement the sortShifts and searchShift methods in the EmployeeSchedule class.
EnergyConsumption
Design an EnergyConsumption class that records daily energy usage and computes consumption statistic
Environmental Impact Calculator
This question involves implementing an ImpactCalculator class to compute the carbon footprint of var
Environmental Pollution Monitor
This question involves developing a PollutionMonitor class that analyzes environmental pollution dat
Event Registration System
This FRQ focuses on managing event registration data. You will implement methods to sort participant
Event Scheduler
This question involves designing an EventScheduler class to manage and organize events on a timeline
Factory Production Line Monitor
The ProductionMonitor class records machine outputs on a factory floor using a 2D integer array. Imp
Farm Cluster Detector
This question requires scanning a 2D array representing a farm field to detect clusters of the same
Farm Crop Yield Predictor
This question involves predicting crop yield across multiple fields. You will implement methods to c
FileProcessor Class
This question involves designing a FileProcessor utility class that deals with text file content pro
FileProcessor Utility Class
Implement the FileProcessor class as described below.
FilmFrame: Time Lapse Overlap
This question involves designing the FilmFrame class to combine two film frames represented by 2D ar
Fitness Tracker
This question asks you to design a FitnessTracker class to represent the data collected by a wearabl
Fitness Tracker Data
Create a Fitness Tracker Data analyzer to compute minimum steps and summary statistics.
FitnessTracker
Design a FitnessTracker class that logs workout sessions and provides summary statistics.
Flight Reservation System
This question involves designing a FlightReservation class to manage seat bookings, cancellations, a
Flight Seating Planner
This question involves planning seating on a flight, using a 2D array to represent seat availability
Flood Fill Algorithm
This problem involves implementing a flood fill algorithm on a 2D grid representing an image.
Forest Fire Simulation
This problem simulates the spread of a forest fire in a 2D grid representing a forest.
ForestFire: Spread Simulation
This question involves designing the ForestFire class to simulate the spread of fire in a forest rep
Game Item Shop
This question involves designing a GameItemShop class to simulate an online shop for virtual game it
Game Level Map Editor
Implement the rotateLevel method in the LevelEditor class to rotate a game level map 90 degrees.
GameBoardMirror: Invert Puzzle Board
This question involves designing the GameBoard class for a sliding puzzle game. Implement the mirror
Garden Layout Analyzer
This question requires scanning a 2D array representing a garden to analyze plant distribution patte
Garden Plant Height Analysis
The GardenAnalyzer class manages a 2D array representing the heights of plants in a garden. Implemen
Garden Plot Watering Scheduler
This question involves managing a garden plot represented as a 2D array. Implement methods in the Ga
Geographic Location Lookup
Develop search methods to filter cities based on population thresholds using linear and binary searc
Grid Explorer Simulation
This problem simulates an explorer navigating an island grid with treasures, obstacles, and varied t
Healthcare Appointment System
This question involves managing healthcare appointments. You will implement methods to schedule appo
HeatMap: Smoothing and Normalization
This question involves designing the HeatMap class to process a 2D array of temperature readings. Im
Hospital Floor Navigator
This question involves navigating the complex layout of a hospital floor represented as a 2D grid. Y
Hospital Patient Management
Implement the sortPatientsByName and searchPatientByName methods in the PatientManager class.
Hospital Patient Record Management
This FRQ involves processing patient waiting times in a hospital. You will implement methods to sort
Hospital Patient Wait Times
Develop a Hospital Patient Wait Times analyzer to filter critical waits and compute the average wait
Image Filter Application
In this question, you will work with a grayscale image represented as a 2D array of pixel values. Im
Image Flipper
Develop methods in the ImageEditor class to flip an image horizontally and vertically.
Image Rotator
Develop methods in the ImageEditor class to rotate an image by 90 degrees and 180 degrees.
ImageFlipper: Vertical Flip
This question involves extending the ImageFlipper class to include a vertical flip method. Implement
ImageRotator: 90-Degree Clockwise Rotation
This question involves designing an ImageRotator class that rotates a 2D array representing an image
Inventory Item Locator
This question involves searching for items in an inventory system. You will implement the searchItem
Inventory Management System
Implement the sortItemsByID and searchItemByID methods in the InventoryManager class.
Inventory Management System
Manage an inventory by removing expired items and computing the total value of the remaining stock.
Inventory Management System
This question involves developing methods for an InventoryManager class to manage a retail store's i
Inventory Tracker
This question involves implementing an InventoryTracker class to manage product stocks and trigger r
InventoryManager
Design an InventoryManager class that tracks products and their quantities in a store.
Lawn Mower Simulator
This problem simulates a lawn mower navigating a garden grid that includes obstacles such as flower
Leaderboard Manager
Design a Leaderboard class that dynamically manages player scores and rankings.
Library Book Inventory
Process a library's book inventory by counting overdue books and computing total overdue fines.
Library Book Management
This FRQ focuses on managing a collection of library books. You will implement methods to sort books
Library Book Manager
This question simulates a library book manager that handles book search functionality. You will comp
Library Book Sorter
Implement two methods to sort library books by title using Bubble Sort and Insertion Sort.
Library Item Management
Design a library item management system using inheritance. Create an abstract LibraryItem class with
Library Locator
Implement a method to locate the nearest library in a 2D city map grid.
Library Management System
This question simulates a library catalog management system. The LibraryCatalog class uses parallel
Library Shelf Arrangement
The LibraryShelves class manages book placements on shelves using a 2D String array, where non-empty
LibraryCard Class Design
Implement the LibraryCard class as described above.
MathUtil Class
This question involves designing a MathUtil utility class that provides several mathematical computa
Matrix Sum Calculator
This question involves writing methods to compute the sums of each row and column in a given matrix.
MatrixOperations Utility Class
Implement the MatrixOperations class as described below.
Maze Navigator
Implement a method to determine if a path exists through a maze represented as a 2D grid of open ('0
Maze Solver
This question involves designing a MazeSolver class that finds a path through a maze represented by
Medical Image Processor
Design methods for processing medical images by enhancing contrast and detecting anomalies.
Messaging System Interface
Design a messaging system using inheritance. Create an abstract Message class with an abstract metho
Meteorological Storm Cell Detector
This question requires scanning a 2D array of radar data to identify storm cells based on intensity
MosaicMaker: Pixelation Effect
This question involves designing the MosaicMaker class to create a pixelated version of an image. Im
Movie Class Design
Implement the Movie class as described above.
Movie Database Search
This question involves searching for movies by rating in a movie database. You will implement the se
Movie Recommendation Engine
This question simulates a movie recommendation system. The MovieRecommender class stores movie title
Movie Showtime
This question asks you to design a MovieShowtime class to represent movie screening details.
Movie Ticket Sorter
Develop methods to sort movie showings by start time using selection sort and merge sort.
Museum Exhibit Organizer
This question involves organizing museum exhibits by their estimated age. You will implement the mer
Music Playlist Hierarchy
Design a class hierarchy for music playlists.
Music Playlist Organizer
Implement sorting methods to organize songs in a playlist by duration using bubble sort and merge so
Music Playlist Organizer
This question focuses on managing a music playlist stored in an ArrayList. You will implement a meth
Musical Instruments Hierarchy
Design a class hierarchy for musical instruments.
MusicPlaylist
Design a MusicPlaylist class that manages a playlist of songs with basic playback controls.
MusicTrack Class Design
Implement the MusicTrack class as described above.
Ocean Pollution Detector
Analyze a 2D ocean pollution map to detect and segment polluted clusters.
Office Temperature Monitor
Implement a method to detect potential hot zones in an office by scanning for 2x2 submatrices where
Online Course Enrollment
This question involves managing course enrollments in an online learning system. You will implement
Order Processor
This question involves designing an OrderProcessor class to manage online orders and calculate total
Parcel Delivery Optimization
This FRQ involves the management of parcel weights in a delivery system. You will implement methods
Park Ranger Monitoring Layout
This question involves calculating the number of trees visible from a given point in a park layout r
Parking Garage Levels Analysis
The ParkingGarage class models a multi-level parking structure using a 2D array, where each row repr
Parking Lot Manager
This question simulates a parking lot management system. The ParkingLot class manages a grid of park
PasswordGenerator Class
This question involves designing a PasswordGenerator utility class that generates random passwords m
PasswordGenerator Utility Class
Implement the PasswordGenerator class as described below.
PasswordValidator Utility Class
Implement the PasswordValidator class as described below.
Payment Processing Hierarchy
Design a class hierarchy for processing payments.
Payment Processing System
Design a payment processing system using inheritance and polymorphism. Create an abstract Payment cl
Pixel Image Filter
This question involves processing an image stored as a 2D array of grayscale pixel values (ranging f
Planet Surface Rover Simulator
This question involves simulating a rover navigating the surface of a planet represented as a 2D gri
Plant Growth Analysis
Design a plant growth analysis system using inheritance. Create an abstract Plant class with an abst
PrimeUtils Class
This question involves designing a PrimeUtils utility class that offers methods for prime number ope
Product Class Design
Implement the Product class as described above.
Product Inventory System
This FRQ simulates a product inventory system. You will implement methods to sort an ArrayList of pr
Product Pricing Sorter
This question involves sorting product objects by price using two distinct sorting algorithms: selec
Product Review Analyzer
This question involves analyzing product reviews by sorting them based on ratings. You will complete
Race Timing Analyzer
Determine the fastest race time from an array of finish times.
Real Estate Analyzer
This question involves implementing a RealEstateAnalyzer class to compute the average property price
Recipe Ingredient Calculator
This question simulates scaling recipe ingredients for different serving sizes. The RecipeCalculator
Reservation System
This question involves designing a ReservationSystem class to manage seat reservations for a venue.
Restaurant Order Processing
This question involves managing a restaurant's order queue using an ArrayList. You will implement me
Restaurant Order Processing
This FRQ entails managing restaurant orders represented as monetary amounts. You will implement meth
Restaurant Order Processor
This question involves processing restaurant orders by computing the total cost of items in an order
Restaurant Order Scheduler
Implement methods to sort restaurant orders by order time and search for an order by its ID.
Restaurant Order System
This question asks you to design a RestaurantOrder class to manage orders in a restaurant.
Restaurant Table Reservation Grid
The ReservationSystem class uses a 2D boolean array to represent table reservations in a restaurant,
Retail Inventory Empty Shelf Detector
Implement a method to check which rows in a retail inventory grid are completely empty.
Retail Inventory Manager
Implement methods to manage retail inventory by sorting items by stock quantity and searching for an
Retail Product Pricing
Design a retail product pricing system using inheritance. Create an abstract Product class with an a
Ride Sharing App Matching System
This question involves designing a RideShareMatcher class that matches riders with nearby drivers us
Robot Maze Navigation
This problem simulates navigating a robot through a maze with obstacles.
Satellite Crop Field Analyzer
This question requires scanning a 2D array representing a satellite image of crop fields to determin
Satellite Image Analyzer
Enhance the analysis of satellite imagery by implementing methods to flip an image horizontally and
Seating Chart Organizer
This question involves analyzing a theater seating chart represented by a 2D boolean array, where tr
Sensor Data Filter
Filter sensor readings by removing values below a specified threshold.
Shape Area Calculator
Develop a shape hierarchy using inheritance. Create an abstract Shape class with an abstract method
Smart Home Energy Monitor
This question involves designing an EnergyMonitor class that processes smart home energy usage data
Smart Home Energy Monitor
This question involves developing a smart home energy monitor that computes energy consumption. Impl
Smart Home Sensor Data Manager
This question involves managing sensor data in a smart home system. You will implement methods to so
Smartphone Class Design
Implement the Smartphone class as described above.
Soccer League Ranking
This question involves managing a soccer league. You will implement methods for the SoccerLeague cla
Social Distancing Layout Checker
Implement a method to count pairs of people seated too close in a 2D seating grid.
Social Media Engagement Tracker
Develop a Social Media Engagement Tracker to filter trending posts and compute the median number of
Social Media Feed Filter
This question involves processing social media posts using an ArrayList. You will implement methods
Social Media Post Analyzer
This question examines the analysis of social media posts for specific hashtags. The PostAnalyzer cl
Social Media Post Summaries
Design a social media content system using inheritance. Create an abstract Post class with an abstra
SocialNetwork
Design a SocialNetwork class that manages user registrations and friend relationships.
Space Explorer Grid
This problem simulates a space explorer navigating a sector grid of space filled with obstacles and
Sports Equipment Hierarchy
Design a class hierarchy for modeling sports equipment usage.
Sports Statistics Tracker
This FRQ involves tracking sports statistics for a player. You will implement methods to sort game p
Sports Team Player Evaluation
Develop a sports team player evaluation system using inheritance. Create an abstract Player class wi
Sports Team Ranking
This question involves ranking sports teams by their number of wins. You will implement the selectio
Sports Team Stats
Update player statistics by adjusting scores and identifying the highest scorer.
Sports Tournament Scoreboard
The Scoreboard class tracks game scores in a sports tournament using a 2D array, where each row repr
Spreadsheet Data Analyzer
This question analyzes a 2D array representing spreadsheet data. The SpreadsheetAnalyzer class store
StatisticsHelper Class
This question involves designing a StatisticsHelper utility class to compute basic statistical metri
Stock Market Analyzer
This question involves designing a MarketAnalyzer class that processes daily stock prices and uses s
StringAnalyzer Class
This question involves designing a StringAnalyzer utility class that performs various string manipul
StringManipulator Utility Class
Implement the StringManipulator class as described below.
StringParser Utility Class
Implement the StringParser class as described below.
Student Class Design
Implement the Student class as described above.
Student Grade Processor
Develop a Student Grade Processor to filter passing grades and compute the median grade.
Student Grades Analyzer
Analyze student grades using an ArrayList by computing the average and filtering failing grades.
Student Grades Sorting
This FRQ involves processing a list of student exam scores. You will implement methods to sort score
Student Record System
This question simulates the management of student records. The StudentRecords class maintains parall
Student Search Database
Implement linear and binary search methods to locate a student record by ID in a database.
TaskManager
Design a TaskManager class that tracks tasks and their completion status for project management.
Temperature Data Analyzer
Develop a Temperature Data Analyzer that manipulates an array of temperature readings.
Temperature Grid Analysis
This question involves analyzing a 2D array of temperature readings from various sensors. Complete t
Terrain Elevation Map
This question involves analyzing a terrain elevation map stored as a 2D array. Implement methods in
Terrain Map Editor
Implement methods to process a terrain map represented as a 2D array by flipping it vertically and s
TextStatistics Class
This question involves designing a TextStatistics utility class that analyzes text data using static
Thermal Image Converter
Implement a method in the ThermalImageConverter class to normalize thermal data to a 0-255 scale usi
Traffic Congestion Hotspot
Detect traffic congestion hotspots in a city grid by analyzing submatrix averages.
Traffic Congestion Zone Detector
This question requires scanning a 2D array representing traffic densities to count contiguous zones
Traffic Density Analyzer
Develop a Traffic Density Analyzer to process vehicle counts and compute average traffic at intersec
Traffic Flow Analyzer
This question involves developing a TrafficFlowAnalyzer class to evaluate traffic data collected by
Traffic Grid Simulator
This problem involves developing a simulation for vehicle movement within a city traffic grid.
Traffic Monitoring System
Develop methods to sort traffic data by vehicle speed and search for a vehicle with a specific speed
TrafficMonitor
Design a TrafficMonitor class that tracks vehicle counts on various roads and identifies peak traffi
Transportation Ticket Pricing Hierarchy
Design a class hierarchy for transportation tickets.
Travel Itinerary
This question asks you to design a TravelItinerary class to represent a planned travel schedule.
Travel Itinerary Planner
This question involves developing methods for an ItineraryPlanner class that organizes travel destin
Travel Time Estimator
Develop a Travel Time Estimator to filter outlier travel times and compute the median travel time.
Underwater Volcano Detector
This question requires scanning a 2D array representing ocean floor elevation to identify volcano pe
Vaccine Distribution Center Analyzer
This question requires scanning a 2D array representing vaccine storage bins to detect clusters of e
Vehicle Hierarchy
Design a class hierarchy for vehicles.
Vehicle Hierarchy System
Design a vehicle hierarchy using inheritance and polymorphism. Create an abstract Vehicle class and
Virtual Garden Layout Analyzer
Implement a method to count the number of contiguous plant regions in a garden layout grid.
Virtual Garden Planner
This question involves developing a method for a Virtual Garden Planner to select plants based on th
Virtual Zoo Habitat Enclosure
This question involves analyzing animal species within a virtual zoo's habitat, represented as a 2D
Virus Spread Simulation
This question simulates the spread of a virus over a series of days. You will implement methods to p
Warehouse Inventory Manager
Develop a Warehouse Inventory Manager to remove out-of-stock items and compute the average stock lev
Warehouse Pallet Organizer
Develop methods to organize and sort warehouse pallets by weight using selection sort and merge sort
Warehouse Path Planning
This problem involves planning and verifying a route for a warehouse robot navigating through a grid
Weather Data Analysis
This FRQ focuses on using an ArrayList of temperature readings. You will implement methods to sort t
Weather Data Analyzer
This question involves analyzing weather data represented as a 2D array of temperature readings. You
Weather Data Processing
This question involves implementing a WeatherAnalyzer class to process daily temperature readings an
Weather Station Data Processor
This question requires you to process temperature data from a weather station using arrays. You will
WeatherData Analyzer
This question involves designing a WeatherDataAnalyzer class to manage daily weather measurements an
WeatherMap: Temperature Gradient
This question involves designing a WeatherMap class to apply a temperature gradient to a 2D array re
WeatherReport Class Design
Implement the WeatherReport class as described above.
Wildlife Herd Counter
Implement a method to count the number of distinct animal herds in a wildlife tracking grid.
Wildlife Tracking System
Create a Wildlife Tracking System to manage animal species and their sighting counts.
Word Search Detector
This question simulates a word search puzzle pattern detection. Implement methods to locate a target
Everyone is relying on Knowt, and we never let them down.
We have over 5 million resources across various exams, and subjects to refer to at any point.
We’ve found the best flashcards & notes on Knowt.