Week 7 Quiz

Due Date: 21st August, 2023; 1:00PM EDT

The quiz for this week has been released on Gradescope - Quiz 7.

Week 7 Exercises

Due Date: 27th August, 2023; 11:59PM EDT

In this week, there are several exercises for you to engage with. Some of which are optional and others mandatory. You are encouraged to attempt all the exercises, however, you are expected to submit the mandatory exercises to Gradescope.

Mandatory Exercises

This week, the mandatory exercises are:

  1. Prime Checker: In this exercise, you will write a program to determine if a given number is a prime number. You will also need to check if the given input is a number.

  2. Palindrome Checker: In this exercise, you will write a program to determine if a given input is a palindrome.

  3. Three-digit Armstrong: In this exercise, you will write a program to determine if a given number is an Armstrong number. You will also need to check if the given input is a three-digit number in the first place.

  4. Math Helper: In this exercise you will write a program to help calculate different math functions. This exercise combines the other three exercises in this week, namely, the Prime Checker, Palindrome Checker and the Three-digit Armstrong. Given a single interface, a user can specify which of the three math functions to be computed and the appropriate answer will be generated.

Accept the Assignment

Open the assignment on Github Classroom