JoshThinh / JoshThinh2025

Apache License 2.0
0 stars 0 forks source link

Sprint 3 #6

Open JoshThinh opened 4 weeks ago

JoshThinh commented 4 weeks ago
Assignment Points Grade Evidence
Tri 1-3 Review Ticket 3 2.7 Screenshot 2024-11-08 120641
Sprint 3 Team Issue(s)/Plan 2 1.83 Screenshot 2024-11-08 121652 link to project plan Screenshot 2024-11-08 121900 link to feedback
Beginning-2-End Contribution 2 1.8 Screenshot 2024-11-08 115650 Screenshot 2024-11-08 115429
N@tM Team Presentation 2 1.81 IMG_1912
Live Review Indi Demo 1 .91 IMG_5023 IMG_5021 IMG_5020 IMG_5028 IMG_5024
Total 10
Skill Points Grade Evidence
Work Habits (Analytics) 1 0.9 Screenshot 2024-11-08 122949
Evidence of Role in Team 1 0.9 Screenshot 2024-11-08 120035 Screenshot 2024-11-08 115504
Function / Purpose Design 1 0.9 The overall function of the my project as a whole with my team is to provide basically a AI that will help the teacher grade code faster while not having to read the code. There are also sub categories within this project such as the popcorn ai generator which will provide not only the teacher but students faster ways to generate popcorn hacks that will be used for the students. I created a QNA where it basically provides students the ability to ask questions about anything related to computer science. Then other students and the teacher have the ability to respond to the student answering their question. The all the comments and questions are stored in the backend database so that everyone will have access to these questions and answers.
Live Review 2
Total 5
JoshThinh commented 2 weeks ago

Message Pojo Message Entity that stores the question from my website which can have many replies.

Comments(comment): Annotation: @OneToMany(fetch = EAGER) Description: This field defines a one-to-many relationship with the Comments entity. It uses eager fetching to load the roles immediately when a Message entity is loaded. Screenshot 2024-11-11 211045

Constructors Description: Message constructor for the Message class. These include a no-argument constructor and a constructor with all fields. Initializes an array for comments, and set the content. Screenshot 2024-11-11 211901

Id(id): Annotations: @Id, @GeneratedValue, Description: The @Id annotation specifies the entity's identifier (ID). Screenshot 2024-11-11 211836

Content(content) Description: This is the content attribute that stores the question. Screenshot 2024-11-11 212130

Custom Getter for Comments size (getNumberOfComments): Description: This method returns the number of comments in the message. Screenshot 2024-11-11 221001

Initialization Function (init): Description: This static method initializes an array list of Message objects with test data. It is useful for setting up initial data for testing and development purposes. Screenshot 2024-11-11 222917

implements Comparable Description: The Comparable interface and @Override of compareTo method allow objects of Message to use the content field as a key for comparison. Screenshot 2024-11-11 222340

Screenshot 2024-11-11 221947

Run Message.java directly To see that Message is truly a Plain Old Java Object you can run the file in isolation. This will output objects according to Lombok toString implementation. Screenshot 2024-11-11 222751

Comment Pojo Comment Entity stores the reply to the Message Entity. There can be many comments stored for a single Message Entity.

Id(id): Annotations: @Id, @GeneratedValue, Description: The @Id annotation specifies the entity's identifier (ID). Screenshot 2024-11-11 212704

Content(content) Description: This is the content attribute that stores the reply. Screenshot 2024-11-11 212800

Message(messsage) Description: This is a reference to the Message associated with the comments. ManyToOne defines many comments to one Message. The Message_id is stored in the comments DB to map with the message Entity. Screenshot 2024-11-11 212921

JoshThinh commented 1 week ago

CollegeBoard MCQ

Screenshot 2024-11-18 090637

Question 4: When dividing two numbers in Java, it truncates meaning that it doesn't display the decimal value.

Screenshot 2024-11-19 084143

Question 8: The third option had 15 in quotation marks which isn't needed because of being an integer.

Screenshot 2024-11-19 084228

Question 19: De Morgan's Law which states that !(p && q) is equivalent to !p || !q meaning that in this scenario the answer would have ||. Then the ! in the first expression cancels out and the second one changes the > into <=.

Screenshot 2024-11-19 084248

Question 25: The first one gets the normal height and width and depth of the box. But the third answer finds the volume and surface area which doesn't actually signify if box 1 is smaller than box 2.

Screenshot 2024-11-19 084312

Question 34: 3 would not be correct because the instance variables are set to private, therefore it cannot access directly into circle.

Screenshot 2024-11-19 084333

Question 37: Answer 2 would not be correct because it will iterate through the code infinitely.

Screenshot 2024-11-19 084354

Question 38: Confused || with &&.

Screenshot 2024-11-19 084410

Question 40: Confused the order of what was displayed where the code prints from up to down.

Screenshot 2024-11-19 084442

Dabear14 commented 1 week ago

MC review shows critical reflection on mistakes and a a thoughtful analysis of the changes that need to be made going forward. Lots of mistakes were silly and could be avoided by going slower and taking longer. Didn't seem to understand some questions he got right.

7mwang commented 1 week ago

Strengths -

Weaknesses -