Skip to content

Commit

Permalink
Some quick fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
misja committed Sep 12, 2023
1 parent 19f95cd commit 2b010cc
Show file tree
Hide file tree
Showing 3 changed files with 274 additions and 84 deletions.
93 changes: 70 additions & 23 deletions lectures/1_binaire_getallen.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "subslide"
}
"slide_type": "slide"
},
"tags": []
},
"source": [
"# Binaire getallen\n",
Expand All @@ -17,7 +19,14 @@
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"metadata": {
"editable": true,
"jp-MarkdownHeadingCollapsed": true,
"slideshow": {
"slide_type": "skip"
},
"tags": []
},
"source": [
"## Machinetaal\n",
"\n",
Expand All @@ -28,9 +37,11 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "slide"
}
},
"tags": []
},
"source": [
"## Het getal 42\n",
Expand All @@ -41,9 +52,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "notes"
}
},
"tags": []
},
"source": [
"Het boek [The Hitchhiker's Guide to the Galaxy](https://en.wikipedia.org/wiki/The_Hitchhiker%27s_Guide_to_the_Galaxy) van [Douglas Adams](https://en.wikipedia.org/wiki/Douglas_Adams) heeft sporen nagelaten in onder andere informatica: de kans is groot dat je in voorbeelden of uitwerkingen het getal 42 tegenkomt. Maar ook in het gewone leven als je op [25 mei](https://en.wikipedia.org/wiki/Towel_Day) mensen met een handdoek ziet lopen ..."
Expand All @@ -53,9 +66,11 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "subslide"
}
},
"tags": []
},
"source": [
"### Tientallig stelsel (decimaal)\n",
Expand All @@ -72,9 +87,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "fragment"
}
},
"tags": []
},
"source": [
"![123](images/9/123.png)\n",
Expand All @@ -85,9 +102,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "subslide"
}
},
"tags": []
},
"source": [
"### Tweetallig stelsel (binair)\n",
Expand All @@ -100,9 +119,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "fragment"
}
},
"tags": []
},
"source": [
"$$101010_2 = 1 \\cdot 32 + 0 \\cdot 16 + 1 \\cdot 8 + 0 \\cdot 4 + 1 \\cdot 2 + 0 \\cdot 1 = 42$$\n",
Expand All @@ -113,9 +134,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "subslide"
}
},
"tags": []
},
"source": [
"![There are 10 types of people: those who understand binary, and those who don't](images/9/binary.jpg)"
Expand All @@ -124,9 +147,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "subslide"
}
},
"tags": []
},
"source": [
"### Decimaal\n",
Expand All @@ -139,9 +164,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "fragment"
}
},
"tags": []
},
"source": [
"![1111011](images/9/1111011.png)\n",
Expand All @@ -152,9 +179,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "subslide"
}
},
"tags": []
},
"source": [
"## Quiz\n",
Expand All @@ -168,9 +197,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "fragment"
}
},
"tags": []
},
"source": [
"$$\n",
Expand All @@ -187,9 +218,11 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "slide"
}
},
"tags": []
},
"source": [
"## Rekenen met talstelsels\n",
Expand All @@ -202,9 +235,11 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "subslide"
}
},
"tags": []
},
"source": [
"## Tientallig rekenen\n",
Expand All @@ -215,9 +250,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "fragment"
}
},
"tags": []
},
"source": [
"* We gebruiken *opzoektabellen* om de berekeningen voor 1 cijfer te kunnen doen, en *algoritmes* voor langere getallen"
Expand All @@ -226,9 +263,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "subslide"
}
},
"tags": []
},
"source": [
"## Optellen\n",
Expand All @@ -239,9 +278,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "fragment"
}
},
"tags": []
},
"source": [
"$$\n",
Expand All @@ -259,9 +300,11 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "subslide"
}
},
"tags": []
},
"source": [
"## Tweetallig rekenen\n",
Expand All @@ -280,9 +323,11 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "subslide"
}
},
"tags": []
},
"source": [
"## Tweetallig rekenen\n",
Expand All @@ -298,9 +343,11 @@
{
"cell_type": "markdown",
"metadata": {
"editable": true,
"slideshow": {
"slide_type": "subslide"
}
},
"tags": []
},
"source": [
"## Quiz\n",
Expand Down Expand Up @@ -375,7 +422,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 2b010cc

Please sign in to comment.