Compare commits
15 Commits
655e2af4e7
...
3c42400e0b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3c42400e0b | ||
![]() |
e380881844 | ||
![]() |
39ad418c22 | ||
![]() |
07c786f3ec | ||
![]() |
e171698cb9 | ||
![]() |
10cea2d197 | ||
![]() |
91c0643176 | ||
![]() |
fd87f2a05b | ||
![]() |
eb6e6f8356 | ||
![]() |
6481fe48b3 | ||
![]() |
72a1d8fb5b | ||
![]() |
a74c2e9648 | ||
![]() |
3f9ee1dae1 | ||
![]() |
4fc5f70c7f | ||
![]() |
f27b44b15b |
3
.obsidian/community-plugins.json
vendored
3
.obsidian/community-plugins.json
vendored
@ -1,3 +1,4 @@
|
||||
[
|
||||
"obsidian-git"
|
||||
"obsidian-git",
|
||||
"d2-obsidian"
|
||||
]
|
@ -0,0 +1,42 @@
|
||||
# Banana Cake
|
||||
## Instructions
|
||||
|
||||
1. Assume an action set of {add \<ingredient>, stir, bake, cool}. Draw a flowchart, using the paradigm discussed in class, to show the process of baking a banana cake. Use Google to find a typical list of ingredients.
|
||||
2. Represent the flowchart from problem 1 as pseudocode.
|
||||
|
||||
## Diagram
|
||||
```d2
|
||||
vars: {
|
||||
d2-config: {
|
||||
dark-theme-id: 200
|
||||
layout-engine: elk
|
||||
}
|
||||
}
|
||||
grid-columns: 3
|
||||
|
||||
begin: {
|
||||
shape: oval
|
||||
# near: top-left
|
||||
}
|
||||
|
||||
begin -> add 3c flour\
|
||||
-> add 1 1/2 tsp baking soda\
|
||||
-> add 1/2 tsp cinnamon\
|
||||
-> add 1/2 tsp salt\
|
||||
-> stir\
|
||||
-> add 3 mashed bananas\
|
||||
-> add 1 tsp lemon juice\
|
||||
-> stir again\
|
||||
-> add 3 eggs\
|
||||
-> add 2tsp vanilla extract\
|
||||
-> stir a final time\
|
||||
-> bake @ 350f for 50 min\
|
||||
-> let cool for 1 hour\
|
||||
-> end
|
||||
end: {
|
||||
shape: oval
|
||||
# near: bottom-right
|
||||
}
|
||||
```
|
||||
|
||||
## Pseudocode
|
Loading…
x
Reference in New Issue
Block a user