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 Computer Science A FRQs to get ready for the big day.
Agricultural Field Monitor
Implement the applyVegetationFilter method in the AgriculturalFieldMonitor class to classify crop he
Ant Colony Simulation
This problem simulates the movement and pheromone updating of an ant colony on a terrain grid.
ArrayUtilities Class
This question involves designing an ArrayUtilities utility class for performing operations on intege
Bank Transaction Analyzer
Implement search methods to analyze bank transactions by amount and transaction ID.
Bank Transaction Explorer
This question involves searching for transactions by transactionID in a bank system. You will implem
Bank Transaction Monitor
This question involves designing a BankTransactionMonitor class to process a series of bank transact
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
BattleGrid Analysis
In this question, you will analyze a battleship board represented as a 2D array. Implement methods i
Battleship Board Scanner
This question requires scanning a 2D array representing a Battleship game board to identify ship clu
Book Class Design
Implement the Book class as described above.
Book Collection Manager
This question involves designing a BookCollection class for managing a collection of books, includin
Bookstore Item Discount Hierarchy
Design a class hierarchy for bookstore items with discount calculations.
CalendarEvent
Design a CalendarEvent class that manages events scheduled by date and time.
Campus Map Building Finder
The CampusMap class represents a campus using a 2D char array where each character represents a buil
Car Rental Service
This question asks you to design a CarRental class to model a car available for rent.
Chat Message Thread Organizer
This question involves processing chat messages recorded in a forum thread. You will implement metho
ChatBot Response System
This question involves designing a ChatBotResponseSystem class to simulate basic conversational resp
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 Grid Energy Consumption Analyzer
Implement a method to identify a high energy consumption area in a city grid by detecting a submatri
City Metro Routing
This question involves developing methods for a MetroRouter class that assists in finding optimal tr
City Traffic Congestion
Develop a City Traffic Congestion analyzer to filter intersections with high delays and compute the
City Traffic Grid Analysis
This question uses a 2D character array representing a city traffic grid, where 'C' indicates a car
CoffeeOrder Class Design
Implement the CoffeeOrder class as described above.
ComplexNumberOperations Utility Class
Implement the ComplexNumberOperations class as described below.
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 Hierarchy
Design a class hierarchy for course enrollments.
CreditCardFormatter Utility Class
Implement the CreditCardFormatter class as described below.
Cryptography Tool
This question simulates a simple cryptography tool that uses a Caesar cipher to encrypt messages. Th
Cuisine Dish Preparation Hierarchy
Design a class hierarchy for cuisine dish preparation.
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
DateCalculator Utility Class
Implement the DateCalculator class as described below.
Digital Art Transformer
This question involves transforming a digital art image represented as a 2D array of grayscale pixel
Digital Image Edge Detector
Implement a method to detect an edge in a digital image represented as a 2D array of pixel brightnes
Digital Library Borrowing Data
This FRQ involves analyzing borrowing data from a digital library. You will implement methods to sor
Digital Media Library
This question asks you to design a DigitalMedia class to represent digital media items in a library.
Digital Mosaic Generator
Develop methods in the DigitalMosaicGenerator class to create a mosaic effect by computing block ave
Dynamic Array Manipulation
This question involves writing a method to remove duplicates from an array of integers while preserv
E-commerce Order Tracker
Manage e-commerce orders by identifying high-value orders and applying discounts to applicable order
E-Commerce Price Analyzer
This FRQ involves processing product prices for an e-commerce platform. You will implement methods t
E-commerce Review Sorter
Implement methods to sort product reviews by rating and search for a review with a specific rating.
E-commerce Transaction Validator
This question revolves around the validation of e-commerce transactions using credit card verificati
E-Mail Filter
Filter an ArrayList of email messages to remove those containing the keyword 'spam'.
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
Emergency Alerts Hierarchy
Design a class hierarchy for an emergency alert system.
Employee Class Design
Implement the Employee class as described above.
Employee Records Search
This FRQ involves managing employee records represented as strings. You will implement methods to so
Employee Timesheet Processor
This question involves implementing a TimesheetProcessor class to compute total work hours and ident
Environmental Pollution Monitor
This question involves developing a PollutionMonitor class that analyzes environmental pollution dat
Environmental Sensor Readings
Develop a sensor reading system using inheritance. Create an abstract Sensor class with an abstract
Environmental Sensor Readings
Design an Environmental Sensor Readings analyzer to filter valid readings and compute standard devia
Event Registration System
This FRQ focuses on managing event registration data. You will implement methods to sort participant
Event Scheduling Simulator
Manage event schedules by detecting conflicts and removing conflicting events.
EventTicketing
Design an EventTicketing class that manages events and tracks ticket sales.
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 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
Financial Portfolio Manager
This question involves designing a FinancialPortfolioManager class to track and analyze a portfolio
Financial Stock Analyzer
This question simulates analysis of stock price data. The StockAnalyzer class processes an array of
Financial Transaction Processor
Implement the sortTransactionsById and searchTransactionById methods in the TransactionProcessor cla
Fire Evacuation Simulator
This problem simulates an evacuation scenario within a building during a fire, represented by a grid
Fitness Activity Calories Calculation Hierarchy
Design a class hierarchy to calculate calories burned during fitness activities.
Fitness Tracker
This question involves designing a FitnessTracker class to record and analyze workout sessions.
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.
Fitness Tracker Data Analysis
This question simulates analyzing daily step count data from a fitness tracker. The FitnessTracker c
Fitness Tracker Data Analyzer
This question requires you to develop a FitnessTracker class that processes daily step counts record
Flight Booking System
Implement the sortBookingsByDeparture and searchBookingByFlightNumber methods in the FlightBookingSy
Flight Reservation System
This question involves designing a FlightReservation class to manage seat bookings, cancellations, a
Flight Status Tracker
This question involves designing a FlightStatusTracker class to monitor and report the status of var
Flood Fill Algorithm
This problem involves implementing a flood fill algorithm on a 2D grid representing an image.
ForestFire: Spread Simulation
This question involves designing the ForestFire class to simulate the spread of fire in a forest rep
Game Level Map Editor
Implement the rotateLevel method in the LevelEditor class to rotate a game level map 90 degrees.
Game of Life Pattern Detector
This question requires scanning a 2D array representing a Game of Life board to count the live neigh
Garden Layout Analyzer
This question requires scanning a 2D array representing a garden to analyze plant distribution patte
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
Geometric Shapes Hierarchy
Design a class hierarchy for calculating the area of geometric shapes.
GeometryHelper Utility Class
Implement the GeometryHelper class as described below.
GPS Navigation Assistant
This question simulates a GPS navigation assistant. The NavigationSystem class computes distances be
GradeBook
Design a GradeBook class that maintains student scores and computes averages and letter grades.
Grayscale Image Edge Finder
This question requires scanning a 2D array representing a grayscale image to detect edge pixels base
Grid Explorer Simulation
This problem simulates an explorer navigating an island grid with treasures, obstacles, and varied t
Gym Membership Tracker
This question involves implementing a MembershipTracker class to update member statuses and generate
Healthcare Appointment System
This question involves managing healthcare appointments. You will implement methods to schedule appo
Hospital Floor Navigator
This question involves navigating the complex layout of a hospital floor represented as a 2D grid. Y
Hospital Patient Queue
Write two search methods to find patients by emergency level in a hospital queue.
Hospital Patient Record Management
This FRQ involves processing patient waiting times in a hospital. You will implement methods to sort
Hospital Patient System
This question involves a hospital patient management system. You will complete the searchPatient and
Hospital Patient Tracker
Track hospital patients by filtering critical cases and computing the average stay duration.
HospitalPatient Class Design
Implement the HospitalPatient class as described above.
Ice Cream Flavor Finder
This question involves analyzing an ice cream parlor’s flavor distribution grid. Implement methods t
Image Edge Enhancer
Implement a method in the ImageEditor class that enhances the edges in an image by applying an edge
Image Filter Application
In this question, you will work with a grayscale image represented as a 2D array of pixel values. Im
ImageFilter: Edge Detection Filter
This question involves designing an ImageFilter class to perform edge detection on a 2D array repres
ImageFlipper: Vertical Flip
This question involves extending the ImageFlipper class to include a vertical flip method. Implement
Inventory Item
This question asks you to design an InventoryItem class to represent an item in a store's inventory.
Inventory Item Locator
This question involves searching for items in an inventory system. You will implement the searchItem
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 System Simulation
This question involves designing a Leaderboard class to dynamically track players' scores and update
Library Book Finder
This question simulates a library system that retrieves books by their ISBN. You will complete the f
Library Book Search
This question focuses on designing a Library class that stores Book objects. You will implement a me
Library Book Sorter
Implement two methods to sort library books by title using Bubble Sort and Insertion Sort.
Library Floor Navigation
In this question, you will analyze a library floor plan represented as a 2D array. Implement methods
Library Item Management
Design a library item management system using inheritance. Create an abstract LibraryItem class with
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.
LibrarySystem
Design a LibrarySystem class that manages book inventory and tracks book lending.
Logistics Delivery Routing
This question involves optimizing logistics delivery routes. You will implement methods to sort deli
MathUtil Class
This question involves designing a MathUtil utility class that provides several mathematical computa
MathUtilities Utility Class
Implement the MathUtilities class as described below.
Matrix Sum Calculator
This question involves writing methods to compute the sums of each row and column in a given matrix.
MatrixOperations Class
This question involves designing a MatrixOperations utility class for performing matrix multiplicati
Maze Navigator
Implement a method to determine if a path exists through a maze represented as a 2D grid of open ('0
Maze Navigator
The MazeNavigator class manages a maze represented as a 2D char array, where '#' represents a wall a
Medical Imaging Tumor Scanner
This question requires scanning a 2D array representing an image to detect tumor regions based on pi
Meteorological Observation Grid
This question involves processing a 2D grid of temperature observations. You will implement a method
Mining Sensor Data Processor
This question involves designing a SensorData class that processes quantitative readings from mining
Mobile Phone
This question asks you to design a MobilePhone class to model a smartphone.
Movie Class Design
Implement the Movie class as described above.
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 Theater Seat Reservation
This question examines seating arrangements in a movie theater using a 2D array. Implement methods i
Museum Security Patrol
This problem simulates a museum guard’s patrol through a grid representing a museum layout.
Music Playlist Duration Analyzer
Develop a Music Playlist Duration Analyzer to filter short tracks and compute total duration.
Music Playlist Manager
This question involves designing a MusicPlaylistManager class to organize and manage a playlist of s
Music Playlist Organizer
This question focuses on managing a music playlist stored in an ArrayList. You will implement a meth
Music Playlist Organizer
Implement the sortPlaylistAlphabetically and searchSongByTitle methods in the PlaylistOrganizer clas
MusicPlaylist
Design a MusicPlaylist class that manages a playlist of songs with basic playback controls.
Network Packet Analyzer
This question involves analyzing network packet latencies using array processing techniques. You wil
OceanSimulator: Wave Distortion
This question involves designing the OceanSimulator class to simulate wave distortions on a water su
Office Temperature Monitor
Implement a method to detect potential hot zones in an office by scanning for 2x2 submatrices where
Online Review Analyzer
Design an Online Review Analyzer to filter positive reviews and compute the average rating.
Online Shopping Cart
This question asks you to design a ShoppingCart class to model a shopping cart in an online store.
Online Store Feedback Analyzer
Develop an Online Store Feedback Analyzer to filter valid feedback and compute the median rating.
Order Processor
This question involves designing an OrderProcessor class to manage online orders and calculate total
Pac-Man Maze Simulation
This problem involves simulating Pac-Man's movement in a maze to collect pellets.
PacMan Maze Simulation
This question involves simulating a PacMan maze where both PacMan and ghosts move through a 2D grid.
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
Park Ranger's Patrol
This problem simulates a park ranger patrolling a park grid to monitor potential hazards.
Parking Lot Occupancy Tracker
This question involves determining occupancy information for a parking lot represented as a 2D array
PasswordGenerator Utility Class
Implement the PasswordGenerator class as described below.
Payment Processing Hierarchy
Design a class hierarchy for processing payments.
Personal Finance Calculator
This question involves implementing a FinanceCalculator class to compute monthly interest and cumula
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
Production Quality Control
Assess production quality by counting defective items and identifying their indices.
Public Transport Usage Analyzer
Analyze public transport usage by identifying routes with unusual surges based on passenger counts.
Public Transportation Scheduler
This question requires you to write methods to compute bus wait times for public transportation. You
QR Code Processor
Implement methods for processing QR code images by reducing noise and flipping the code vertically.
Rainfall Data Processing
This question deals with processing a 2D array of rainfall data. The RainfallAnalyzer class stores r
Real Estate Listing Analyzer
Implement the sortListingsByPrice and searchListingByPrice methods in the ListingAnalyzer class.
Real Estate Listings
This FRQ simulates a real estate listings management system. You will implement methods to sort list
Recipe Scaler
This question involves implementing the RecipeScaler class with a method that scales ingredient meas
Reservation System
This question involves designing a ReservationSystem class to manage seat reservations for a venue.
Restaurant Order Processor
This question involves processing restaurant orders by computing the total cost of items in an order
Restaurant Order System
This question asks you to design a RestaurantOrder class to manage orders in a restaurant.
RestaurantOrder Class Design
Implement the RestaurantOrder class as described above.
Retail Inventory Empty Shelf Detector
Implement a method to check which rows in a retail inventory grid are completely empty.
Ride Sharing App Matching System
This question involves designing a RideShareMatcher class that matches riders with nearby drivers us
Robot Controller
This question involves designing a RobotController class to simulate a robot navigating a grid-based
Robot Navigation Simulator
This question involves designing a RobotNavigator class that simulates movement in a grid and determ
Robot Task Performance Hierarchy
Design a class hierarchy for robots performing various tasks.
Robot Vacuum Cleaner
This problem simulates a robot vacuum cleaner navigating and cleaning a room represented as a grid.
Robot Vacuum Floor Scanner
This question requires scanning a 2D array representing a home floor plan to simulate a robot vacuum
Sales Performance Analysis
This FRQ involves analyzing sales figures. You will implement methods to sort sales figures in desce
Satellite Image Analyzer
Enhance the analysis of satellite imagery by implementing methods to flip an image horizontally and
Score Analyzer
This question involves implementing the ScoreAnalyzer class to compute average scores and count the
Sea Temperature Analyzer
This question requires scanning a 2D float array representing sea surface temperatures to locate a h
Sensor Data Noise Filter
This question involves developing methods for a SensorFilter class to remove noise from sensor data.
Sensor Data Processor
This question involves designing a SensorDataProcessor class to handle and analyze data from multipl
Smart Device Hierarchy
Design a class hierarchy for smart devices.
Smart Home Energy Monitor
This question involves developing a smart home energy monitor that computes energy consumption. Impl
Smart Home Energy Monitor
This question simulates a smart home energy monitoring system. The EnergyMonitor class analyzes hour
Smart Home Energy Monitor
This question involves designing an EnergyMonitor class that processes smart home energy usage data
Smartphone Class Design
Implement the Smartphone class as described above.
Social Distancing Layout Checker
Implement a method to count pairs of people seated too close in a 2D seating grid.
Social Media Feed Analyzer
This question involves developing a SocialMediaFeedAnalyzer class that processes an array of like co
Social Media Friend Finder
Implement the sortFriendsAlphabetically and searchFriend methods in the FriendFinder class.
Social Media Friend Search
Design search methods to find user profiles by username using linear and binary search.
Social Media Post
This question asks you to design a SocialMediaPost class to represent posts on a social media platfo
Social Media Post Scheduler
This question involves designing a PostScheduler class to manage the scheduling of social media post
Social Media Post Sorter
This question involves managing social media posts by sorting them based on the number of likes. You
Social Media Post Summaries
Design a social media content system using inheritance. Create an abstract Post class with an abstra
Social Network Analyzer
This question involves designing a SocialNetworkAnalyzer class to analyze friendship networks and su
Space Explorer Grid
This problem simulates a space explorer navigating a sector grid of space filled with obstacles and
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 Tournament Scheduler
Design a Sports Tournament Scheduler to update team points and determine the top team.
Stock Market Trend Analyzer
This question involves analyzing stock price data using advanced array manipulation techniques. You
StockTracker
Design a StockTracker class that records stock prices and computes moving averages.
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 Grade Analyzer
This question involves designing a StudentGradeAnalyzer class to process student scores. You will im
Student Record System
This question simulates the management of student records. The StudentRecords class maintains parall
Student Test Score Analyzer
This question involves analyzing student test scores by sorting and searching them. You will complet
Submarine Sonar Anomaly Detector
Implement a method to detect a linear anomaly pattern in submarine sonar data represented as a 2D gr
TaskManager
Design a TaskManager class that tracks tasks and their completion status for project management.
TemperatureConverter Utility Class
Implement the TemperatureConverter class as described below.
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
Thermal Image Converter
Implement a method in the ThermalImageConverter class to normalize thermal data to a 0-255 scale usi
TimeConverter Utility Class
Implement the TimeConverter class as described below.
Tissue Culture Growth Simulation
This problem involves simulating the growth of tissue culture on a grid over time.
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 Flow Analyzer
This FRQ involves analyzing traffic data by managing vehicle count numbers. You will implement metho
Traffic Monitoring System
Develop methods to sort traffic data by vehicle speed and search for a vehicle with a specific speed
Traffic Monitoring System
In this question, you will process traffic data to determine if traffic conditions are safe. You are
Traffic Pattern Analyzer
Implement methods to process a traffic video frame by flipping it horizontally and detecting traffic
Traffic Signal Controller
This question simulates a traffic signal controller. The TrafficSignal class cycles through signal s
Traffic Simulator
This question involves designing a TrafficSimulator class to model and simulate traffic flow on a gr
TrainTicket Class Design
Implement the TrainTicket class as described above.
Transportation Ticketing System
Design a ticketing system using inheritance. Create an abstract Ticket class with an abstract method
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 Drone Explorer
This question involves simulating an underwater drone exploring a 2D grid representing the ocean flo
Underwater Volcano Detector
This question requires scanning a 2D array representing ocean floor elevation to identify volcano pe
UnitConverter Utility Class
Implement the UnitConverter class as described below.
Urban Building Cluster Analyzer
This question requires scanning a 2D array representing a city map to count clusters of a specified
UrbanPlanner: Map Rotation and Reflection
This multi-part question involves designing the UrbanPlanner class to manipulate a city map represen
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
Warehouse Pallet Organizer
Develop methods to organize and sort warehouse pallets by weight using selection sort and merge sort
Weather Data Analysis
This question involves analyzing weather temperature data using sliding window techniques. You will
Weather Data Analyzer
Implement the sortTemperatures and getTemperatureRange methods in the WeatherDataAnalyzer class.
Weather Data Analyzer
This question simulates analyzing daily weather data. The WeatherAnalyzer class processes an array o
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 Analyzer
This question involves analyzing weather station data records. You will implement methods to sort te
WeatherData Analyzer
This question involves designing a WeatherDataAnalyzer class to manage daily weather measurements an
Wildlife Herd Counter
Implement a method to count the number of distinct animal herds in a wildlife tracking grid.
Word Search Detector
This question simulates a word search puzzle pattern detection. Implement methods to locate a target
Word Search Puzzle Analyzer
This question requires scanning a word search puzzle represented by a 2D character array to locate a
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.