X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=curriculum%2Fsquare.scm;h=7d08b9a1ea4bfe8188b3c649c31c39e6244cbbf2;hb=987b1c9c3a235dde70f34b10759a7920aa0a445d;hp=d01fbeb22cb724c8647aaa4dfa4da813610230a7;hpb=fde3e95154879bd2a530220eb367d72b0d8fbdeb;p=challenge-bot diff --git a/curriculum/square.scm b/curriculum/square.scm index d01fbeb..7d08b9a 100644 --- a/curriculum/square.scm +++ b/curriculum/square.scm @@ -1,3 +1,5 @@ +;; tldr; AGPLv3+ +;; copyright info at bottom (use-modules (skribilo source c)) (document @@ -32,4 +34,38 @@ (p [here's the output of ,(source :language c [square(2)\;])]) (figure :legend "square(2);" - (image :file "square2.png" :height 500)))) + (image :file "square2.png" :height 500)) + (p [note that it is twice the size of the prior 2 examples.])) + (chapter + :title [square(3)\;] + :number #f + (p [here's the output of ,(source :language c [square(3)\;])]) + (p [how big do you expect this square to be?]) + (figure + :legend "square(3);" + (image :file "square3.png" :height 500))) + (chapter + :title [quiz on square 1 2 3] + :number #f + (section + :title [questions for simplest square] + (p [what's the code for the simplest square?]) + (p [where is the bottom right corner of the simplest square?])))) + +;; Copyright 2016 daniel watson + +;; This file is part of challenge-bot. + +;; challenge-bot is free software: you can redistribute it and/or modify +;; it under the terms of the GNU Affero General Public License as +;; published by the Free Software Foundation, either version 3 of the +;; License, or (at your option) any later version. + +;; challenge-bot is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU Affero General Public License for more details. + +;; You should have received a copy of the GNU Affero General Public +;; License along with challenge-bot. If not, see +;; .