Soham360 / APCSA

hehe
MIT License
1 stars 0 forks source link

PBL/CB topics from FRQs #10

Open Soham360 opened 7 months ago

Soham360 commented 7 months ago

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

image

image

image

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.

paravsalaniwal commented 7 months ago

FRQs


FRQ 1:

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

FRQ 2:

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

FRQ 3:

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

FRQ 4:

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.


Total: 3.8/3.6

Connection:

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.


Total: 3.7/3.6

Final Total: 7.5/7.2