-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Links to FRQs
| FRQs | Links |
|---|---|
| FRQ 1 | Link |
| FRQ 2 | Link |
| FRQ 3 | Link |
| FRQ 4 | Link |
The code cells below for FRQ 1 and FRQ 3 have already been implemented and the code cells for FRQ 2 and FRQ 4 are features we plan to add in the future.
FRQ 1
- This FRQ was primarily about ArrayList and this is used in our project for the person file. We use them to store and create users in the project.
- This program creates the user accounts with all their other details such as DOB.
- These will be the built-in account for the teacher and the admins (Me, Aniket, and Colin)
- It utilizes an ArrayList and add the Users to it
FRQ 2
- This FRQ was primarily about Classes and we could use Classes to implement a class-based grading program, allowing teachers to grade assignments, and display their current status, helping organization and the management of coursework.
- This program implements an grading system for teacher to grade students assignments.
- It defines one classes:
Grade. - The
Gradeclass takes up the entire file and this file plus the other files like the Jpa and the APIController.
FRQ 3
- This FRQ was primarily 2D Arrays again and we could use them to create a flashcard program using 2D arrays, providing an interactive way for students to quiz themselves on various topics with questions and answers stored in a structured format. Currently we use multiple 1D Arrays but I realize that a single 2D Array is a lot better than multiple 1D Arrays.
public class FlashcardProgram {
public static void main(String[] args) {
String[][] flashcards = {
{"What is the capital of France?", "Paris"},
{"What is the chemical symbol for water?", "H2O"},
{"What year did World War II end?", "1945"}
};
Scanner scanner = new Scanner(System.in);
for (String[] flashcard : flashcards) {
System.out.println(flashcard[0]);
System.out.print("Your answer: ");
String userAnswer = scanner.nextLine();
if (userAnswer.equalsIgnoreCase(flashcard[1])) {
System.out.println("Correct!");
} else {
System.out.println("Incorrect. The correct answer is: " + flashcard[1]);
}
System.out.println();
}
}
}
- This program simulates a flashcard system for studying purposes.
- It uses a 2D array to store pairs of questions and answers.
- The program displays each question from the array and prompts the user to input an answer.
- It then checks if the user's answer matches the corresponding answer from the array and provides feedback.
FRQ 4
- This FRQ was primarily about Interfaces with some Classes and Methods & Control Structures and we could use it to design a discussion board system using classes and methods, enabling users to create and display posts with titles, authors, and content, facilitating online collaboration and communication among students and teachers.
- This program emulates a discussion board where users can post messages and interact with each other.
- It defines two classes:
PostandDiscussionBoard. - The
Postclass represents an individual post with attributes such as title, content, and author. - The
DiscussionBoardclass manages a list of posts and provides methods to add new posts and display all posts.
Overall Reflection on FRQs and PBL Crossover
Looking back on the FRQs and how they relate to our project, I've realized where I need improvement and where I'm more confident.
The FRQs about 2D arrays and programming structures were tough. I couldn't solve them alone and had to use outside help to finish them. My struggle wasn't with writing the basic parts but putting everything together into a working program. I need to practice working faster, understanding 2D arrays better, creating complex structures, and knowing when to use string to array conversions.
It's clear that the FRQ concepts are important for our project too. In the next trimester, I'll keep comparing our project work to practice FRQs. This way, I can understand the concepts better and see their relevance. It'll prepare me for the AP exam and future programming challenges.


