AP Computer Science
AP Computer Science
This program is a simple quiz application that uses a list of dictionaries to store questions and answers, and another list to keep track of the user's responses. A function called ask questions takes an index to display each question, collects the user's input, and checks it for the correct answer using an if-statement. The function is called in a loop that goes through each question, updating the score for every correct answer. At the end, the program displays the total number of correct answers out of the total questions, summarizing the user's performance.
link - https://codehs.com/sandbox/id/new-sandbox-program-S3ib7X/run
Subjects involved include: Science, Technology, Art
In this pair programming assignment, my partner and I created a flag using the colors green, white, and yellow to represent our school's colors. We worked together to design and implement the flag, ensuring it accurately reflected the school’s identity. The code involved using these colors to create a simple yet meaningful flag design. Our collaboration allowed us to combine our ideas and coding skills to complete the task successfully.
link - https://codehs.com/share/id/create-your-ultrakarel-image-b03PxB/run#
Subjects involved include: Science, Technology, Art