Skip to content

Commit 6b92acd

Browse files
committed
add open ended mp2.
1 parent 1f33c2d commit 6b92acd

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

projects/02-calculator-app.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,28 @@ Hint: You can refer to `pages/1_Users.py` to see how to write a DataFrame into a
434434

435435
Once you are done with this part, your web app should be working fine. The other two pages are written for you and you need not do anything. However, it is good if you try to understand what the code is doing and see if you can rewrite and modify this page to make it better.
436436

437+
## Exercise 3
438+
439+
This is an open ended exercise for Mini Project 2. You need to create a new page called `5_Improved.py`. Your task is the following:
440+
441+
* Choose one of the previous existing pages and create an improved version of that page.
442+
* The improvement must involve not only the **User Experience** but also the **Code Quality**.
443+
444+
You need to satisfy the following constraints:
445+
446+
* Your overall app should continue to work as it is either using the old version or the improved version. For example, let's say you create an improved version of the `2_Question.py` page. Users should still be able to use the other pages either when they create the questions using the old page `2_Question.py` or the new page `5_Improved.py`.
447+
* The improvements must comprises both categories: User Experience and Code Quality.
448+
* You cannot replace your user-defined functions with a third party library.
449+
* You are allowed to refactor your code when calling Streamlit or Pandas libraries with an alternative functions in those libraries to make the code better.
450+
451+
Use the following guide to do this design exercise:
452+
453+
* Do some research about good User Interface/User Experience for an app.
454+
* Do some research about Code Quality and some of the metrics you can use to measure good code.
455+
* Brainstorm some of the pain points in using the various pages of the current app.
456+
* List down various improvements that could potentially be done on the app. Consider the cost of doing those improvements as well.
457+
* Use Pugh Chart to choose which page that you would like to improve.
458+
* Document all your design considerations and decisions and present them during your checkoff.
437459

438460
## Appendix: Setup for Local Machine
439461

@@ -495,4 +517,4 @@ Then, in Vocareum, use the terminal to clone your updated project.
495517
```shell
496518
cd work
497519
git clone https://your-mini-project-2-repo-url
498-
```
520+
```

0 commit comments

Comments
 (0)