Update flashcards and daily notes.
parent
a5b3b4f1af
commit
175e60efbe
|
@ -580,7 +580,7 @@
|
||||||
"_journal/2024-06/2024-06-04.md": "52b28035b9c91c9b14cef1154c1a0fa1",
|
"_journal/2024-06/2024-06-04.md": "52b28035b9c91c9b14cef1154c1a0fa1",
|
||||||
"_journal/2024-06-06.md": "3f9109925dea304e7172df39922cc95a",
|
"_journal/2024-06-06.md": "3f9109925dea304e7172df39922cc95a",
|
||||||
"_journal/2024-06/2024-06-05.md": "b06a0fa567bd81e3b593f7e1838f9de1",
|
"_journal/2024-06/2024-06-05.md": "b06a0fa567bd81e3b593f7e1838f9de1",
|
||||||
"set/relations.md": "2759e68e8dd19f513fca2da8d2506433",
|
"set/relations.md": "f29889b9cde0e8bb24fae4f5c37fb7ad",
|
||||||
"_journal/2024-06-07.md": "795be41cc3c9c0f27361696d237604a2",
|
"_journal/2024-06-07.md": "795be41cc3c9c0f27361696d237604a2",
|
||||||
"_journal/2024-06/2024-06-06.md": "db3407dcc86fa759b061246ec9fbd381",
|
"_journal/2024-06/2024-06-06.md": "db3407dcc86fa759b061246ec9fbd381",
|
||||||
"_journal/2024-06-08.md": "b20d39dab30b4e12559a831ab8d2f9b8",
|
"_journal/2024-06-08.md": "b20d39dab30b4e12559a831ab8d2f9b8",
|
||||||
|
@ -748,7 +748,7 @@
|
||||||
"_journal/2024-08/2024-08-07.md": "119c052f4109a3e098d825b771af89de",
|
"_journal/2024-08/2024-08-07.md": "119c052f4109a3e098d825b771af89de",
|
||||||
"_journal/2024-08-09.md": "2ce3e0c468f51750d8ad86a19bcc3264",
|
"_journal/2024-08-09.md": "2ce3e0c468f51750d8ad86a19bcc3264",
|
||||||
"_journal/2024-08/2024-08-08.md": "b8211a4c576ff594217e2e9cae9396c0",
|
"_journal/2024-08/2024-08-08.md": "b8211a4c576ff594217e2e9cae9396c0",
|
||||||
"data-structures/b-tree.md": "011f11424c9892219dcaa66de72f3f18",
|
"data-structures/b-tree.md": "4c1d61ab9b9184e02c3455fb0c701369",
|
||||||
"data-structures/binary-tree.md": "67b0b5b9688faa205983993fe507079a",
|
"data-structures/binary-tree.md": "67b0b5b9688faa205983993fe507079a",
|
||||||
"_journal/2024-08-10.md": "08e7ea4a78c46645b93ec51e2372d04f",
|
"_journal/2024-08-10.md": "08e7ea4a78c46645b93ec51e2372d04f",
|
||||||
"_journal/2024-08/2024-08-09.md": "2ce3e0c468f51750d8ad86a19bcc3264",
|
"_journal/2024-08/2024-08-09.md": "2ce3e0c468f51750d8ad86a19bcc3264",
|
||||||
|
@ -791,7 +791,7 @@
|
||||||
"c17/enums.md": "9414fb67aa256a0a11b7240534c67bf6",
|
"c17/enums.md": "9414fb67aa256a0a11b7240534c67bf6",
|
||||||
"c17/derived-types.md": "6fb8f23a2423f05d5bdccb6672a32e38",
|
"c17/derived-types.md": "6fb8f23a2423f05d5bdccb6672a32e38",
|
||||||
"c17/basic-types.md": "7c6653bf6dc24c2f2aa72fc95c4f7875",
|
"c17/basic-types.md": "7c6653bf6dc24c2f2aa72fc95c4f7875",
|
||||||
"c17/types/simple.md": "502c7a742e8516057f820c75cc7a096e",
|
"c17/types/simple.md": "48e455d1cb6a631fe74e419e52e0a695",
|
||||||
"c17/types/enumerated.md": "e1f70a30677c776b7b44ac3e0ff4e76d",
|
"c17/types/enumerated.md": "e1f70a30677c776b7b44ac3e0ff4e76d",
|
||||||
"c17/types/derived.md": "cd77112313bd0f9cf99b0f224a364179",
|
"c17/types/derived.md": "cd77112313bd0f9cf99b0f224a364179",
|
||||||
"c17/types/basic.md": "5064e21e683c0218890058882e06b6f3",
|
"c17/types/basic.md": "5064e21e683c0218890058882e06b6f3",
|
||||||
|
@ -876,7 +876,13 @@
|
||||||
"_journal/2024-10/2024-10-08.md": "2f737d8198b12bf635808964c4887ae1",
|
"_journal/2024-10/2024-10-08.md": "2f737d8198b12bf635808964c4887ae1",
|
||||||
"x86-64/procedures.md": "c36268b99c0681bfca245e0538a302e0",
|
"x86-64/procedures.md": "c36268b99c0681bfca245e0538a302e0",
|
||||||
"_journal/2024-10-10.md": "29e4be2c164c63f8b7aab56bddee3dd6",
|
"_journal/2024-10-10.md": "29e4be2c164c63f8b7aab56bddee3dd6",
|
||||||
"_journal/2024-10/2024-10-09.md": "b718c6f4cfe3069fcc0faf07ec414f73"
|
"_journal/2024-10/2024-10-09.md": "b718c6f4cfe3069fcc0faf07ec414f73",
|
||||||
|
"_journal/2024-10-15.md": "6e696a8d16ba257ed89e8564b771d290",
|
||||||
|
"_journal/2024-10/2024-10-14.md": "fbb5a82a18e3acca55bb46a824a9419d",
|
||||||
|
"_journal/2024-10/2024-10-13.md": "8882c01060a4a909fd890180db356e73",
|
||||||
|
"_journal/2024-10/2024-10-12.md": "1c299384b7f1fffa4e9f50fa5a1c05c2",
|
||||||
|
"_journal/2024-10/2024-10-11.md": "6c98c6541efcb92854c1de68a2881d89",
|
||||||
|
"_journal/2024-10/2024-10-10.md": "b7c386d47a9f1e860effaa36001404ba"
|
||||||
},
|
},
|
||||||
"fields_dict": {
|
"fields_dict": {
|
||||||
"Basic": [
|
"Basic": [
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
title: "2024-10-15"
|
||||||
|
---
|
||||||
|
|
||||||
|
- [x] Anki Flashcards
|
||||||
|
- [x] KoL
|
||||||
|
- [x] OGS
|
||||||
|
- [ ] Sheet Music (10 min.)
|
||||||
|
- [ ] Korean (Read 1 Story)
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
title: 2024-10-11
|
||||||
|
---
|
||||||
|
|
||||||
|
- [x] Anki Flashcards
|
||||||
|
- [x] KoL
|
||||||
|
- [ ] OGS
|
||||||
|
- [ ] Sheet Music (10 min.)
|
||||||
|
- [ ] Korean (Read 1 Story)
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
title: 2024-10-12
|
||||||
|
---
|
||||||
|
|
||||||
|
- [x] Anki Flashcards
|
||||||
|
- [x] KoL
|
||||||
|
- [ ] OGS
|
||||||
|
- [ ] Sheet Music (10 min.)
|
||||||
|
- [ ] Korean (Read 1 Story)
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
title: "2024-10-13"
|
||||||
|
---
|
||||||
|
|
||||||
|
- [x] Anki Flashcards
|
||||||
|
- [x] KoL
|
||||||
|
- [ ] OGS
|
||||||
|
- [ ] Sheet Music (10 min.)
|
||||||
|
- [ ] Korean (Read 1 Story)
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
title: "2024-10-14"
|
||||||
|
---
|
||||||
|
|
||||||
|
- [x] Anki Flashcards
|
||||||
|
- [x] KoL
|
||||||
|
- [x] OGS
|
||||||
|
- [ ] Sheet Music (10 min.)
|
||||||
|
- [ ] Korean (Read 1 Story)
|
|
@ -358,7 +358,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the minimum precision of a `bool`?
|
What is the minimum precision of a `bool`?
|
||||||
Back: $1$
|
Back: $1$ bit.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
<!--ID: 1727551341548-->
|
<!--ID: 1727551341548-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -374,7 +374,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the minimum precision of an `unsigned char`?
|
What is the minimum precision of an `unsigned char`?
|
||||||
Back: $8$
|
Back: $8$ bits.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
<!--ID: 1727551341550-->
|
<!--ID: 1727551341550-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -406,7 +406,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the minimum precision of an `unsigned short`?
|
What is the minimum precision of an `unsigned short`?
|
||||||
Back: $16$
|
Back: $16$ bits.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
<!--ID: 1727551341554-->
|
<!--ID: 1727551341554-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -422,7 +422,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the minimum precision of an `unsigned int`?
|
What is the minimum precision of an `unsigned int`?
|
||||||
Back: $16$
|
Back: $16$ bits.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
<!--ID: 1727551341556-->
|
<!--ID: 1727551341556-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -446,7 +446,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the minimum precision of an `unsigned long`?
|
What is the minimum precision of an `unsigned long`?
|
||||||
Back: $32$
|
Back: $32$ bits.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
<!--ID: 1727551341559-->
|
<!--ID: 1727551341559-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -469,7 +469,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the minimum precision of an `unsigned long long`?
|
What is the minimum precision of an `unsigned long long`?
|
||||||
Back: $64$
|
Back: $64$ bits.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
<!--ID: 1727551341560-->
|
<!--ID: 1727551341560-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -587,7 +587,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the minimum precision of a `signed char`?
|
What is the minimum precision of a `signed char`?
|
||||||
Back: $7$
|
Back: $7$ bits.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
<!--ID: 1727551341563-->
|
<!--ID: 1727551341563-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -603,7 +603,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the minimum precision of a `signed short`?
|
What is the minimum precision of a `signed short`?
|
||||||
Back: $15$
|
Back: $15$ bits.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
<!--ID: 1727551341565-->
|
<!--ID: 1727551341565-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -626,7 +626,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the minimum precision of a `signed int`?
|
What is the minimum precision of a `signed int`?
|
||||||
Back: $15$
|
Back: $15$ bits.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
<!--ID: 1727551341567-->
|
<!--ID: 1727551341567-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -642,7 +642,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the minimum precision of a `signed long`?
|
What is the minimum precision of a `signed long`?
|
||||||
Back: $31$
|
Back: $31$ bits.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
<!--ID: 1727551341569-->
|
<!--ID: 1727551341569-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -658,7 +658,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the minimum precision of a `signed long long`?
|
What is the minimum precision of a `signed long long`?
|
||||||
Back: $63$
|
Back: $63$ bits.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
<!--ID: 1727551341571-->
|
<!--ID: 1727551341571-->
|
||||||
END%%
|
END%%
|
||||||
|
@ -1028,7 +1028,7 @@ END%%
|
||||||
Basic
|
Basic
|
||||||
*Why* isn't `b42` in the following considered an ICE?
|
*Why* isn't `b42` in the following considered an ICE?
|
||||||
```c
|
```c
|
||||||
enum { b42 = 42 }
|
enum { b42 = 42 };
|
||||||
```
|
```
|
||||||
Back: N/A. It is.
|
Back: N/A. It is.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
|
@ -1040,7 +1040,7 @@ Basic
|
||||||
*Why* isn't `b42` in the following considered an ICE?
|
*Why* isn't `b42` in the following considered an ICE?
|
||||||
```c
|
```c
|
||||||
signed const a42 = 42;
|
signed const a42 = 42;
|
||||||
enum { b42 = a42 }
|
enum { b42 = a42 };
|
||||||
```
|
```
|
||||||
Back: Because it depends on the evaluation of object `a42`.
|
Back: Because it depends on the evaluation of object `a42`.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
|
@ -1051,7 +1051,7 @@ END%%
|
||||||
Basic
|
Basic
|
||||||
*Why* isn't `c52` in the following considered an ICE?
|
*Why* isn't `c52` in the following considered an ICE?
|
||||||
```c
|
```c
|
||||||
enum { b42 = 42, c52 = b42 + 10 }
|
enum { b42 = 42, c52 = b42 + 10 };
|
||||||
```
|
```
|
||||||
Back: N/A. It is.
|
Back: N/A. It is.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
|
@ -1063,7 +1063,7 @@ Basic
|
||||||
*Why* isn't `b42` in the following considered an ICE?
|
*Why* isn't `b42` in the following considered an ICE?
|
||||||
```c
|
```c
|
||||||
signed const a42() { return 42; }
|
signed const a42() { return 42; }
|
||||||
enum { b42 = a42() }
|
enum { b42 = a42() };
|
||||||
```
|
```
|
||||||
Back: Because it depends on a function call.
|
Back: Because it depends on a function call.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
|
@ -1235,7 +1235,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
Suppose `intN_t` exists. What is its precision?
|
Suppose `intN_t` exists. What is its precision?
|
||||||
Back: `N - 1`
|
Back: `N - 1` bits.
|
||||||
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
Reference: Jens Gustedt, _Modern C_ (Shelter Island, NY: Manning Publications Co, 2020).
|
||||||
<!--ID: 1727551341577-->
|
<!--ID: 1727551341577-->
|
||||||
END%%
|
END%%
|
||||||
|
|
|
@ -69,7 +69,7 @@ END%%
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
What is the maximum number of children a node in a B-tree have?
|
What is the maximum number of children a node in a B-tree have?
|
||||||
Back: N/A. It depends on the tree's order.
|
Back: A number equal to the tree's order.
|
||||||
Reference: Donald Ervin Knuth, _Art of Computer Programming, 3: Sorting and Searching_, 2. ed., 34. (Reading, Mass: Addison-Wesley, 1995).
|
Reference: Donald Ervin Knuth, _Art of Computer Programming, 3: Sorting and Searching_, 2. ed., 34. (Reading, Mass: Addison-Wesley, 1995).
|
||||||
<!--ID: 1723211542010-->
|
<!--ID: 1723211542010-->
|
||||||
END%%
|
END%%
|
||||||
|
|
|
@ -638,12 +638,20 @@ END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
Given $R = \{\langle a, a \rangle, \langle b, c \rangle\}$, is $R$ reflexive on $a$?
|
Is $R = \{\langle a, a \rangle, \langle b, c \rangle\}$ reflexive on $a$?
|
||||||
Back: N/A. We should ask if $R$ is reflexive on set $\{a\}$.
|
Back: No.
|
||||||
Reference: Herbert B. Enderton, *Elements of Set Theory* (New York: Academic Press, 1977).
|
Reference: Herbert B. Enderton, *Elements of Set Theory* (New York: Academic Press, 1977).
|
||||||
<!--ID: 1720967429808-->
|
<!--ID: 1720967429808-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
|
%%ANKI
|
||||||
|
Basic
|
||||||
|
Is $R = \{\langle a, a \rangle\}$ reflexive on $a$?
|
||||||
|
Back: No.
|
||||||
|
Reference: Herbert B. Enderton, *Elements of Set Theory* (New York: Academic Press, 1977).
|
||||||
|
<!--ID: 1728996104568-->
|
||||||
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
*Why* isn't $R = \{\langle a, a \rangle, \langle b, c \rangle\}$ reflexive on $\{a\}$?
|
*Why* isn't $R = \{\langle a, a \rangle, \langle b, c \rangle\}$ reflexive on $\{a\}$?
|
||||||
|
@ -652,6 +660,14 @@ Reference: Herbert B. Enderton, *Elements of Set Theory* (New York: Academic Pre
|
||||||
<!--ID: 1720967429812-->
|
<!--ID: 1720967429812-->
|
||||||
END%%
|
END%%
|
||||||
|
|
||||||
|
%%ANKI
|
||||||
|
Basic
|
||||||
|
Is $R = \{\langle a, a \rangle\}$ reflexive on $\{a\}$?
|
||||||
|
Back: Yes.
|
||||||
|
Reference: Herbert B. Enderton, *Elements of Set Theory* (New York: Academic Press, 1977).
|
||||||
|
<!--ID: 1728996104575-->
|
||||||
|
END%%
|
||||||
|
|
||||||
%%ANKI
|
%%ANKI
|
||||||
Basic
|
Basic
|
||||||
*Why* isn't $R = \{\langle a, a \rangle, \langle b, c \rangle\}$ reflexive on $\{a, b\}$?
|
*Why* isn't $R = \{\langle a, a \rangle, \langle b, c \rangle\}$ reflexive on $\{a, b\}$?
|
||||||
|
|
Loading…
Reference in New Issue