You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: adds lesson_06 details and lesson_07 pre-work
Signed-off-by: Anthony D. Mays <[email protected]>
* chore: remove hint
Signed-off-by: Anthony D. Mays <[email protected]>
---------
Signed-off-by: Anthony D. Mays <[email protected]>
Copy file name to clipboardExpand all lines: lesson_06/README.md
+84-1Lines changed: 84 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,87 @@ Please review the following resources before lecture:
8
8
9
9
## Homework
10
10
11
-
- TODO(anthonydmays): Add details on Monday
11
+
-[ ] Complete the [Expression Calculator](#expression-calculator) exercise.
12
+
-[ ] Read article entitled [3 Questions That Will Make You A Phenomenal Rubber Duck][article-link]
13
+
-[ ] Do pre-work for [lesson 07](/lesson_07/).
14
+
15
+
### Expression Calculator
16
+
17
+
For this assignment, you will need to implement the functions and logic required to calculate a mathematical expression. After implementing the `add`, `divide`, and `multiply` functions, you will combine these functions to compute the final result.
18
+
19
+
1. Update the [.env.test][env-file] file to configure the correct homework version.
20
+
```bash
21
+
# Example config for students assigned to homework "D".
22
+
HW_VERSION=D
23
+
```
24
+
2. Run the program to determine the expression you must implement.
25
+
```bash
26
+
npm install
27
+
npm run compile
28
+
npm start
29
+
```
30
+
1. Update the code in the [expression_calculator.ts][calculator-file] file.
31
+
2. To check your work, you can run the application using the first command below and run the tests using the second one.
32
+
```bash
33
+
npm start
34
+
```
35
+
1. As usual, make sure that you format your code and run the check command before creating your pull request.
36
+
```bash
37
+
npm run check
38
+
```
39
+
1. You must only submit changes to the `expression_calculator.ts` file to receive full credit.
40
+
41
+
### Stretch Assignment
42
+
43
+
Implement a function that validates whether a given alphabetic abbreviation matches a word using a special encoding system.
44
+
45
+
In this system, numbers in abbreviations are replaced by their corresponding alphabet letters:
0 commit comments