Sie sind auf Seite 1von 11

CodeHS

CurriculumandSyllabus
ThissuggestedsyllabusisbasedontheCodeHScurriculumofintroductorycodingtopics,andisdesignedforahighschool
classmeetingeveryschooldayfor60minutes.

SyllabusAtaGlance
GeneralTopic

Week

Karel

14

BasicJavaScriptandGraphics

59

AnimationandGames

1014

BasicDataStructures

1520

GameDesign:Helicopter

2123

ConsoleChallenges

2426

HTML/CSS

2729

ObjectOrientedJavaScript

3036

DaybyDayBreakdownfor60minuteclassinHighSchools
Day

Week

Activities

KeyWords

DiscussionQuestions

IntroductiontoProgramming
WithKarel
Quiz:KarelCommands
OurFirstKarelProgram
YourFirstKarelProgram
ShortStack
MoreBasicKarel
TennisBallSquare
MakeaTower
PyramidofKarel
KarelCan'tTurnRight
TowerandTurnRight
SlideKarel

Karel

Whatisprogramming?

Command

Who/whatisKarel?

Function

Whatisacommand?

Function

Whatisafunction?

StartFunction

Whatisabug?

FiremanKarel
FunctionsinKarel
TurnAround
Pancakes
MarioKarel
TheStartFunction
TowerwithStartFunction

PancakeswithStart
TopDownDesignand
DecompositioninKarel
HurdleKarel
TheTwoTowers

Whatisafunction?
Whatistheanalogyweusetodescribe
functionsinKarel?

Bug

TopDownDesign

Whatistopdowndesign?

Decomposition

Howwouldyouapplytopdowndesignto
everydayactivities?
Eatinglunch
Wakingup
Playingasport

CodeReuse

CommentingYourCode
HurdleKarel
TheTwoTowers+Comments
SuperKarel
HurdleKarel(withSuperKarel)

Comments

Whyshouldyouusecomments?

SuperKarel

Whatisprogrammingstyle?
WhatcanSuperKareldo?

TheTwoTowers+SuperKarel
ForLoops
RepeatedMove
PutDownTennisBalls
Take'emAll

Loop

Whatisaloop?

ForLoop

Whatisaforloop?

DizzyKarel
ForLoopSquare
LotsofHurdles

ForLoop

Whendoweuseaforloop?
Whatisaloop?
Whatisaforloop?
Whendoweuseaforloop?

IfStatements
IfStatements
SafeTakeBall
IsThereaBall?
If/ElseStatements
If/ElseStatements
OneBallinEachSpot

Ifstatement
If/ElseStatement

RightSideUp
WhileLoopsinKarel
MovetoWall
FollowTheYellowBallRoad

IfStatement

LayRowofTennisBalls
BigTower

Whatareexamplesofsituationswhenyou
useifstatementsorif/elsestatementsinyour
life?

World

If/ElseStatement

Whatareexamplesofsituationswhenyou
useifstatementsorif/elsestatementsinyour
life?

WhileLoop
WhileLoop

Whatisawhileloop?

Howdowedecideifweshoulduseawhile
looporaforloop?
10

ReadingOthers'Code:Grading ReadingCode
Take'emAll
GradingTake'EmAll
ProgrammingStyle
ControlStructuresExample
CleanupKarel
ControlStructures

Whatarethedifferenttypesofcontrol
structures,andhowdoweknowwhentouse
eachone?

11

RandomHurdles

Loops

Whatarethedifferenttypesofcontrol
structures,andhowdoweknowwhentouse
eachone?

TopDownDesign

Whyisindentingimportant?

12

13

MoreKarelExamplesand
Testing
MoveTennisBallStack
ClimbingKarel
HowtoIndentYourCode
DanceandCleanKarel
DiagonalStaircase
ChallengeExercises:
Fetch
RacingKarel

ControlStructures

Indenting

TopDownDesign

Whataretheimportantfactorsforgood
programmingstyle?

Functions
Comments
ControlStructures

14

RacingKarel

TopDownDesign
Functions
Comments

Howdoyouapproachbreakingdownatough
codingproblemintosmallerproblems?

ControlStructures
15

TowerBuilder

TopDownDesign

Howdoyouapproachbreakingdownatough
codingproblemintosmallerproblems?

Functions
Whatareedgecasesyouhaveruninto?
Comments
ControlStructures
EdgeCases
16

TowerBuilder

TopDownDesign

Howdoyouapproachbreakingdownatough
codingproblemintosmallerproblems?

Functions
Howdowetestanddebugourprograms?
Comments
ControlStructures

Whataretechniquesyouhavecomeupwith
tofixbugsinyourprogram?

EdgeCases
17

SuperCleanupKarel

TopDownDesign

Howdoyouapproachbreakingdownatough
codingproblemintosmallerproblems?

Functions
Comments
ControlStructures
EdgeCases
18

SuperCleanupKarel

TopDownDesign
Functions

Howdoyouapproachbreakingdownatough
codingproblemintosmallerproblems?

Whatareedgecasesyouhaveruninto?
Comments
ControlStructures
EdgeCases
19

DoubleTennisBalls

TopDownDesign

Howdoyouapproachbreakingdownatough
codingproblemintosmallerproblems?

Functions
Comments
ControlStructures
EdgeCases
20

DoubleTennisBalls

TopDownDesign

Howdoyouapproachbreakingdownatough
codingproblemintosmallerproblems?

Functions
Comments

Whataretheimportantthingswelearned
fromKarel?

ControlStructures
EdgeCases
21

22

HelloWorld
HelloWorld
YourNameandHobby
Variables
BasicVariables
ApplesandOranges

UserInput

ConsoleProgram

Whatisavariable?Comeupwithseveral
exampleswhereyoucoulduseavariable.

println
Variable
readInt

Howdoyoureadinputfromauser?

BasicUserInput
GroceryStore

readLine

Whatarethedifferenttypesofinputyoucan
getfromauser?
Nowthatyoucanreadinputfromauser,
whattypeofprogramcanyoucomeupwith?

23

24

BasicMathinJavaScript
SimpleCalculator
DollarstoPounds
DividingUpGroups
TShirtShop
RunningSpeed

Cariable

Whatisthemodulusoperator?

Operators

Comeupwithsomethingtocompute.What
istheprocessforwritingthisprogram?

Graphics
GraphicsHelloWorld
BlueCircle
RedRectangle
8Ball
FrenchFlag

Object

Modulus(remainder)
Whatarethebasicstepsforcreatinga
graphicsobjectonthescreen?

Circle
Rectangle
Coordinatesystem
Canvas

25

Snowman

Object

Whydoconstantsmatterinthesnowman
program?

Circle
Rectangle
Coordinatesystem
Canvas
Constants

Whatareproblemswithusingmagic
numbers?

Magicnumbers
26

Booleans
FirstBoolean
DoYouHaveaDog?
LogicalOperators
LightSwitch
President
WastingTime
CanYouGraduate?
TheWeekend

Boolean
Logicaloperator

Whataresimpleyes/noortrue/false
questionswhereyoucanstoretheresultina
boolean?
Comeupwithanexampleofaboolean
expressionbycombiningthedifferentlogical
operators.

27

ComparisonOperators
WalkintoaBar
GradeRange
RollingDice
AllStar

Comparisonoperator

Whendoyouusecomparisonoperators?

28

IfStatments
NegativeNumbers
GreatNames
EvenandOdd
SecretPassword
Teenagers
StopLight

Ifstatement

Whatareexamplesinyourdaytodaylife
whenyoudoif/elseorif(condition)then,
otherwiselogic?

BasicForLoop
ForLoop
Chalkboard
Caterpillar

Forloop

Howdoesthisforloopcomparetoforloops
inkarel?

Forloop

Whatwasthemostchallengingpartofthe
caterpillarproblem?

29

30

Caterpillar

Conditional
If/else

If/elsestatement

Whatwerethebugsyouraninto?
Howdidyoudebugthem?
31

GeneralForLoop
Countdown
CountByTwos
CountBySevens
PowersofTwo

Forloop

Whatarethepartsoftheforloop?

Counter

Explainhowyouwriteaforlooptocountby
9s.

Loopingvariable

32

ForLoopExamples
ForLoopSum
BetterSum
Factorial

Forloop

Ifyouwanttohavesomeresultvariablethat
existsthroughoutaforloop,wheredoyouput
it?

33

AllDiceValues
RandomNumbers
RollingaDie
FlippingaCoin
LotsofDice
RandomColorSquare

Randomizer

Howwouldyousimulatearandomcoinflip?
Howwouldyousimulatearandomdiceroll?

34

WhileLoops
WhileLoopCountdown
Inventory
Fibonacci

Whileloop

HowdowhileloopsinJavaScriptcompareto
whileloopsinKarel?

35

Fibonacci
LoopandaHalf
AddingUpNumbers
SnakeEyes

Loopandahalf

Whatistheloopandahalf?

Sentinel

Whyusetheloopandahalf?

BetterPasswordPrompt
FunctionsandParameters1
DoubleNumber
Square

Parameters

Comeupwiththreeexamplesofdaytoday
tasksthatyoucanturnintoaproblemof
functionsandparameters.

36

Triple
37

FunctionsandParameters2
SumFunction
AreaofTriangle
HeightinMeters

Parameters

Comeupwiththreeexamplesofdaytoday
tasksthatyoucanturnintoaproblemof
functionsandparameters.

38

FunctionsandParameters3
DrawCircles
HorizontalLines
GraphicsStopLight

Parameters

Comeupwiththreeexamplesofdaytoday
tasksthatyoucanturnintoaproblemof
functionsandparameters.

39

PoolTable
Returnvalues
FunctionsandReturnValues1
DoubleNumber
SquarewithReturnValues
TriplewithReturnValues

Comeupwiththreeexamplesofdaytoday
tasksthatyoucanturnintoaproblemof
functionsandparametersandreturnvalues.

40

FunctionsandReturnValues2 Returnvalues
ReturnValues
IsItEven?
Localvariables
Max
LocalVariablesandScope
Scope
ReturnValues
LocalVariables

Comeupwiththreeexamplesofdaytoday
tasksthatyoucanturnintoaproblemof
functionsandparametersandreturnvalues.

41

42

Ghosts

Ghosts

Whydoyounotwantglobalvariables?

Parameters

WhatarethepatternsintheGhostproblem?

Helpermethods

Whathelperfunctionsdidyouwriteandwhy?

Parameters

Whathelperfunctionsdidyouwriteandwhy?

Helpermethods

43

GuessingGame

Loopandahalf

Whatproblemsdidyourunintointhis
problem?
Howdidyoudebugthem?

44

DrawSomething

Parameters

Whathelperfunctionsdidyouwriteandwhy?

Helpermethods
45

DrawSomething

parameters
helpermethods

Whathelperfunctionsdidyouwriteandwhy?