KRLC Classes 8-10

Class #1

Intro

Programming with Kojo

  • forward and right (and clear)
  • make square
  • get to know:
    • code completion
    • error recovery
      • syntax errors (take Kojo's help)
      • semantic errors (?)
    • incremental running
      • make pattern bit-by-bit
      • recover from semantic errors
    • copy and paste
  • make two squares
  • long program? use repeat
  • get to know: code formatting
  • make two squares using repeat

Class #2

  • make n squares within 15 lines of code - using nested repeat

Class #3

Pre-class

  • Forms
  • IT Topics - do we want to cover these topics? if so, when?
    • Class 9 - Wordprocessor, Presentation, Spreadsheet
    • Class 10 - Databases, HTML, Web development, XML
  • Some more work with nested repeats
  • Concentric squares, and on…

Class #4

  • Programs - series of instructions etc
  • Play with expressions
    • BODMAS
      • $7 \times 56 \div 8 - 63 \div 7 + 9$
    • math functions - sqrt, nth-root, exponents, log, etc.
  • concentric squares in less than 15 lines of code using for

Class #5

  • concentric squares in less than 15 lines of code using for
  • fitting a formula to data points

Class #6

  • Look at the solution to the above
  • Difference between repeat and for
  • Problem - print 90, 100, 110
    • Leads to arithmetic progression

Class #7

  • Difference between repeat and for
  • Introduce user defined commands

Class #8 (next)

  • Introduce user defined commands and functions
  • concentric squares with user def command and function
  • See application of pattern, variable, function, induction, theorems
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License