Академический Документы
Профессиональный Документы
Культура Документы
Methodologies
http://cs106a.stanford.edu
9
Piech, CS106A, Stanford University
Office Hours
Exceeds requirements.
Assignments
45%
Final
30%
Midterm
15%
*Two free late days
Piech, CS106A, Stanford University
Optional Contest
Start Here
Average about 10 hours / week for assignments
Are you an
undergrad or No Do you want Yes 3 Units
SCPD
to take CS106A for -or-
fewer units? 4 Units
student?
Yes
No
5 Units
Chris Piech
Footer Text 31
7/6/2019 Piech, CS106A, Stanford University
Meet Karel the Robot
Good morning
http://www.codingdojo.com/blog/7-most-in-demand-programming-languages-of-2018/
Piech, CS106A, Stanford University
Karel’s World
3 + + + + + North
2 + + + + + West East
1 + + + + +
South
1 2 3 4 5
3 + + + +
2 + + + +
1 + + + +
1 2 3 4
3 + + + +
2 + + + +
1 + + + +
1 2 3 4
move();
turnLeft();
putBeeper();
pickBeeper();
3 + + + +
2 + + + +
1 + + + +
1 2 3 4
3 + + + +
2 + + + +
1 + + + +
1 2 3 4
3 + + + +
2 + + + +
1 + + + +
1 2 3 4
3 + + + +
2 + + + +
1 + + + +
1 2 3 4
3 + + + +
2 + + + +
1 + + + +
1 2 3 4
3 + + + +
2 + + + +
1 + + + +
1 2 3 4
3 + + + + +
2 + + + + +
1 + + + + +
1 2 3 4 5
3 + + + + +
2 + + + + +
1 + + + + +
1 2 3 4 5
3 + + + + +
2 + + + + +
1 + + + + +
1 2 3 4 5
3 + + + + +
2 + + + + +
1 + + + + +
1 2 3 4 5
3 + + + + +
2 + + + + +
1 + + + + +
1 2 3 4 5
3 + + + + +
2 + + + + +
1 + + + + +
1 2 3 4 5
Program
}
Piech, CS106A, Stanford University
Anatomy of a Program
Import Packages
run method
helper methods
}
Piech, CS106A, Stanford University
Anatomy of a Program
Import Packages
helper methods
}
Piech, CS106A, Stanford University
Anatomy of a Program
Import Packages
Piech, CS106A,
Code.org
Stanford University
Everyone is Welcome