Open Soham360 opened 9 months ago
Part A: The code correctly defines the arraySum function and demonstrates a working knowledge of for loops. Part B: Demonstrates a solid comprehension of the previous textual techniques used in the question, as well as a solid grasp of for loops and indexing arrays. Part C: Effective use of nested for loops that complemented my implementation's capacity to compare with the list's subsequent elements and appropriately produce a result indicating whether or not the array was diverse. Reflections: Overall, a great grasp of the subject was shown here, and the observations were analytical and provided good insight regarding the challenge and how it was done.
Score: 1/0.9
General: An intriguing way to learn additional Java concepts than those covered in the course is to utilize the Scanner to examine user input for passability. General: An intriguing application of the String Builder in lieu of the more traditional approach of using a string and an explanation The HiddenWord class's constructor has been implemented well, with the appropriate instance variables and parameters provided. It was demonstrated how to use conditional statements correctly to concatenate to the String builder and produce the correctly returned string. Reflection: Well-considered analysis of how memory works to improve program efficiency and this realization that strings are immutable. An intriguing concept for enhancing the program's intractability is also presented.
Score: 1/0.9
General: An intelligent addition to the program, the addEntry function was a good addition, matching the constructor usage shown in the sample code. Part A: The conditional statement was cleverly written, and the for loop was well-utilized to locate the matching element in the entries Array collection. Part B: It's a good idea to add the toString method to SparseArrayEntry to make printing and testing easier, but it would be better to leave the template code alone given the circumstances of the situation. Effective use of the iterator pattern allowed for the removal of entries from the ArrayList and the discovery of values inside it that could be modified to satisfy every aspect of the challenge. Reflection: Thoughtful observation that touched on the challenges they encountered in working through the issue.
Score: 0.9/0.9
Part A: Great use of the NumberGroup interface with a method of contains which checks if a given number is contained within the group.
Part B: Amazing use of the concrete class Range
representing a numerical range with minimum and maximum values, providing an implementation for the contains
method to check if a number is within the range.
Part C: Perfect way of verifying that a number falls within multiple ranges and return boolean responses depending on the check.
Reflections: This reflection is very well written and descriptive in your understanding of how you attacked the problem and how you felt about it.
FRQ 1: This new grading system involves the use of two-dimensional arrays as it uses grades and assignments as rows and columns. FRQ 2: This code uses classes and defines multiple variables within the class such as name and completed which then outputs boolean responses. FRQ 3: This 2D array uses a flashcard response which to store questions and answers and checks the user's answer to verify if they move on or not. FRQ 4: This is a discussion board system where when a user posts, it is shown to public and contains multiple elements such as Author, content, and title.
Links to FRQs
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
It utilizes an ArrayList and add the Users to it
FRQ 2
Grade
.The
Grade
class 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.
It then checks if the user's answer matches the corresponding answer from the array and provides feedback.
FRQ 4
Post
andDiscussionBoard
.Post
class represents an individual post with attributes such as title, content, and author.The
DiscussionBoard
class 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.