Skip to content

Commit 967956a

Browse files
committed
12/7
1 parent 24ac18e commit 967956a

File tree

8 files changed

+115
-4
lines changed

8 files changed

+115
-4
lines changed

_practice/2022-12-07.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
```{index} surprisingfacts.md
2+
```
3+
```{index} projectplanning.md
4+
```
5+
1. In `surprisingfacts.md` explain why each of the following and one additional fact of your own is true. For each fact, include a demo showing that it happens.
6+
7+
```
8+
1. rename and move use the same command in bash
9+
1. `git revert` adds a commit
10+
1. adding to a large number can result in a negative number
11+
1. the following would most likely cause an endless loop `while not(i==.3)`
12+
1. A program without any inputs or randomization in it can give different results each time it is run
13+
```
14+
1. For two imaginary projects, compare and contrast different programming languages and git workflows. Choose the two projects so that the best language and best workflow will be different choices. Include a description of each project, your comparisons, and conclusions in `projectplanning.md`

_prepare/2022-12-05.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
2-
1. Make a table that compares and contrasts the unix file system to git *as* a file system on at least 5 aspects (eg header + 5 rows) in {index}`filesystem.md`. Based on this, write a definition of a file system generally and how knowing that these are both file systems helps reinforce concepts and improve understanding.
3-
1. In {index}`whypointers.md` write a blog-post style argument for why understanding pointers as a concept is important for a computer science student even if they will not work directly in a language that uses pointers. Consider your audience to be a student who is in CSC212 and struggling. Use two examples from this class where we relied on the concept of pointers to explain how something worked.
4-
1. Reflect on how this course impacts programming/debugging skills in {index}`skillup.md`. You can write this as how you think your own skill has improved **or** as if you are convincing another student to take this class. Touch on at least three topics.

_prepare/2022-12-07.md

Whitespace-only changes.

_review/2022-12-07.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
```{index} review.md
2+
```
3+
```{index} conclusion.md
4+
```
5+
1. Review the questions from today's class and write a solution guide for any that you got wrong with notes about what confused you in `review.md` (to make sure you do not leave with misconceptions)
6+
1. Add `conclusion.md` to your KWL repo. In the file include 2 sections: summary with an overall description of what you learned and how this course was/not helpful to you (paragraph or bullet form is fine) key points with the top 10 thigns you want to make sure you remember from this class

activities/practice.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,4 +217,11 @@ Activities:
217217

218218
Activities:
219219
```{include} ../_practice/2022-12-05.md
220+
```
221+
## 2022-12-07
222+
223+
[related notes](../notes/2022-12-07)
224+
225+
Activities:
226+
```{include} ../_practice/2022-12-07.md
220227
```

activities/prepare.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,11 @@ Activities:
248248

249249
Activities:
250250
```{include} ../_prepare/2022-12-05.md
251+
```
252+
## 2022-12-07
253+
254+
[related notes](../notes/2022-12-07)
255+
256+
Activities:
257+
```{include} ../_prepare/2022-12-07.md
251258
```

activities/review.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,3 +244,11 @@ Activities:
244244
Activities:
245245
```{include} ../_review/2022-12-05.md
246246
```
247+
248+
## 2022-12-07
249+
250+
[related notes](../notes/2022-12-07)
251+
252+
Activities:
253+
```{include} ../_review/2022-12-07.md
254+
```

notes/2022-12-07.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Review and Logistics
2+
3+
## Checker action
4+
5+
I created a branch `checkaction`; merge it into your main branch to be able to run the action form the actions tab.
6+
7+
## IDEA
8+
9+
You get a small number of free corrections if 75% of the students respond to the survey.
10+
11+
## Final Due Date
12+
13+
11/19 is the last time to submit any work.
14+
15+
## Review Questions
16+
17+
### How are number systems chosen ?
18+
19+
- [ ] the optimal one for each scenario is evaluated
20+
- [ ] they are cultural artifacts
21+
- [ ] the only systems are decimal (10 fingers) and binary (on/off)
22+
23+
24+
25+
### What happens in linking?
26+
27+
- [ ] code from includes is copied into the file
28+
- [ ] binaries for compiled libraries is combined with the compiled program code
29+
- [ ] code is translated from assembly to machine code
30+
- [ ] code is translated from a high level language to assembly
31+
32+
33+
### How can we figure out what gates to use to a calculation?
34+
35+
- [ ] memorize them
36+
- [ ] experiment
37+
- [ ] compare logic tables
38+
39+
40+
41+
42+
### What are three factors that you could use to choose the right langague for a project?
43+
44+
_assuming you know or have time and motivation to learn many languages_
45+
46+
### What types of problems would you look for if you got a linking error?
47+
48+
49+
50+
### What is the relationship between a half adder and a full adder?
51+
52+
- [ ] a half adder adds half of the bits in the register and the full adds all
53+
- [ ] a half adder adds two one bit numbers into a two bit number; a full adder adds two one bit numbers and a carry bit into a one bit output and a carry bit
54+
- [ ] a half adder adds two one bit numbers into 1 bit; a full adder adds two one bit numbers into two bits
55+
## Review today's class
56+
57+
```{include} ../_review/2022-12-07.md
58+
```
59+
60+
61+
62+
## Prepare for Next Class
63+
64+
```{include} ../_prepare/2022-12-07.md
65+
```
66+
67+
68+
69+
## More Practice
70+
71+
```{include} ../_practice/2022-12-07.md
72+
```
73+

0 commit comments

Comments
 (0)