From: Neil Smith Date: Thu, 5 Mar 2015 23:58:19 +0000 (+0000) Subject: First bit of the A-level miscellany X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;ds=inline;p=cas-master-teacher-training.git First bit of the A-level miscellany --- diff --git a/Hash_table_5_0_1_1_1_1_1_LL.svg b/Hash_table_5_0_1_1_1_1_1_LL.svg new file mode 100644 index 0000000..73a2b83 --- /dev/null +++ b/Hash_table_5_0_1_1_1_1_1_LL.svg @@ -0,0 +1,254 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + keys + + + + + John Smith + + + + + + + Lisa Smith + + + + + + + Sam Doe + + + + + + + Sandra Dee + + + + + + + Ted Baker + + + + + + + + + + + + buckets + + + + + 000 + + + + + + 001 + + + + + + 002 + + + + + : + : + + + + 151 + + + + + + 152 + + + + + + 153 + + + + + + 154 + + + + + : + : + + + + 253 + + + + + + 254 + + + + + + 255 + + + + + + + + + + + entries + + + + + + + Lisa Smith + + 521-8976 + + + + + + John Smith + + 521-1234 + + + + + + Sandra Dee + + 521-9655 + + + + + + Ted Baker + + 418-4165 + + + + + + Sam Doe + + 521-5030 + + + + + + diff --git a/Karnaugh_map2.png b/Karnaugh_map2.png new file mode 100644 index 0000000..a4eed10 Binary files /dev/null and b/Karnaugh_map2.png differ diff --git a/SIGNED.md b/SIGNED.md index 91947e6..7964d97 100644 --- a/SIGNED.md +++ b/SIGNED.md @@ -3,19 +3,19 @@ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAABAgAGBQJU53KIAAoJEJPB2e07PgbqI38P/j/eQEa78/O/0rw7Gvnnglut -pHkghfKnyX0NSTif8OpK7MtxikwC8h8BMu7+KOX+BZu31RAZxeXVdxHkyKXT7/jD -YLXPeK/803362bsJiL9yebVf5C1it8opIzCGe/nx6O+bLHqO8eEuaB9xmE5CnS+T -etEijh889LP3dwKPjYia+kJci55mHLoVgWQzXbQQnvc8Pi3TNR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/58 +ppfb5axeeU/DC+B0og/xUmqSAjwP9YYUqjSv7zu6YMVj3UDLJZVdb/RoRkA4AlCI +BJUEtMKvCe7wRoMbS91oA8UvOFqxkC05qBpPnwBmOJs5hbGbeg8fu7j8WK1K3DBs +cPHT6YsBiIb8dR1F7RFS +=yzXB -----END PGP SIGNATURE----- ``` @@ -30,9 +30,12 @@ D8y51adNR1cfzVefzyInBku3tu+lE3JRGKizT9rdWl8V+kq9Ma9BiGrn1W8LYHI3 size exec file contents ./ 384 .gitignore a93de2ae5c2a47a38599751d1f914566569dfa09dd1778e207117db6c71421dd +11547 Hash_table_5_0_1_1_1_1_1_LL.svg e95ff61c4b3a5e202fdea793673e5288321aade8eaac1e9bc61229ee0a27c7ba +2643 Karnaugh_map2.png fffe1982ec61fea8cc6488c7bf7206572297962419f3ee71d95867e27f7c9d87|30ce6e3887da5efb4068383508a86bc6e38153c53c307a23c29632795b166bd3 339 README.md b6a32e10a4a36e2de32385dedef3e88bad767c41a92caeb93086d5065ac0a188 78868 Untitled0.ipynb 8ac2a76fb3b6f29f2b3a35c4db46c35ec81d053c9a86bec8a1dee48905d5953a 1363 Untitled1.ipynb ef878c0d63f138a496713f862ef177f4346942944b690ad48589e7adb929b62d +7656 a-level-miscellany.html d0df27fdaeeebfb886193b8b2f68204e625093d363021e8dee5adfd8b1cfbd1d 81789 alan-turing.jpg 52fc427b7eee09b10682cf36594ff9038f497c856c284d912f44c7603561969b|300c9f022062d629ec4f4bcb7192d732ca850d0ab92f9f39b2b90981979abdf7 13180 algorithms.html 5d983371c7ba55108c68d19a8dfe419dfa387587b764415bce09c59e55d1c5da 20722 big-o-chart-2-smaller.png e57e10b28aa20f09b308fee493a996cea11a374160edd36a82170730130b7446|d0f348376c076c50c429756da7ee020e545aa5ff781fe4b983662cf23f503d0b @@ -63,7 +66,7 @@ size exec file contents 5366 hangman.html 64a75e50559c236118e2cc91651f5ac7091d14f3d27b7038a3d4770beb3dee08 4167 hangman2.html 84014a67033d320605b3ae2eacc6a2f622560a2694487624c39d9fd66a9278f4 41276 human-computer-worksheet.png 354fa591f28e7b979f8efa9ed6423ce76e019601628945ac61b173bf6107ce60|11073eea5462dd9fbd056cc6694dbab62408e251c64001dc7090060d7fbf96ff -2191 index.html 4b8e1de469018e557ce42955c3ede679f08d8a5421a9b1c5cb91ae03ed681a75 +2265 index.html a104a11703f9ca8b58711265a6d60c6f105c9061e7d8aeab898d1f344f0368be 650 make-change.dot cc56b42a08ee78b0ec2afa8c96ce4574ae546f959e535e68605beb66394247c1 54549 make-change.dot.png 7c46cdaac91b084a95903de65685906d2c61cd1c55d740936ec6f1bb9050ee22|bd52720ce8c4b7350caed16cc72954757550f4e62e8a030f151922ac9a11dffe 2216 oulogo_hor.png 93dae19a7dde063927ca9a3ec7d468cc20f0bc4da9091fdf4819273ab4cf524a|f73072930ecf211ce23d4559b9fbdd11c1be4a0451fa6a8f74ad803d4f5f71ee diff --git a/Untitled1.ipynb b/Untitled1.ipynb new file mode 100644 index 0000000..bf17f6f --- /dev/null +++ b/Untitled1.ipynb @@ -0,0 +1,75 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:383dbd07426142dba085750cea664fb5a2eb5d274834904c9266a800ddf86c5c" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "code", + "collapsed": false, + "input": [ + "def anagram1(word1, word2):\n", + " return sorted(word1) == sorted(word2)" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 2 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "anagram1('happy', 'sad')" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 3, + "text": [ + "False" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "anagram1('happy', 'hpayp')" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 4, + "text": [ + "True" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [], + "language": "python", + "metadata": {}, + "outputs": [] + } + ], + "metadata": {} + } + ] +} \ No newline at end of file diff --git a/a-level-miscellany.html b/a-level-miscellany.html new file mode 100644 index 0000000..832a4f0 --- /dev/null +++ b/a-level-miscellany.html @@ -0,0 +1,231 @@ + + + + A Level Miscellany + + + + + + + + + + + + diff --git a/index.html b/index.html index 14184be..5abad17 100644 --- a/index.html +++ b/index.html @@ -60,6 +60,9 @@ * [Hangman part 2](hangman2.html) * [Algorithms](algorithms.html) +# CAS A-level miscellany + +* [A level miscellany](a-level-miscellany.html)