Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lecture 9: CSCI E-1 Spring 2013
Search
Tommy MacWilliam
April 24, 2013
Education
0
320
Lecture 9: CSCI E-1 Spring 2013
Tommy MacWilliam
April 24, 2013
Tweet
Share
More Decks by Tommy MacWilliam
See All by Tommy MacWilliam
Lecture 8: CSCI E-1 Spring 2013
tmacwill
0
460
Lecture 6: CSCI E-1 Spring 2013
tmacwill
1
460
Lecture 7: CSCI E-1 Spring 2013
tmacwill
0
550
Lecture 5: CSCI E-1 Spring 2013
tmacwill
1
610
Incorporating Version Control into Programming Courses
tmacwill
1
110
Lecture 4: CSCI E-1 Spring 2013
tmacwill
0
420
Lecture 3: CSCI E-1 Spring 2013
tmacwill
0
500
Lecture 2: CSCI E-1 Spring 2013
tmacwill
0
810
Lecture 1: CSCI E-1 Spring 2013
tmacwill
0
320
Other Decks in Education
See All in Education
SkimaTalk Teacher Guidelines
skimatalk
0
730k
zupanijska natjecanja
petarradanovic2
0
330
Sanapilvet opetuksessa
matleenalaakso
0
32k
Padlet opetuksessa
matleenalaakso
4
14k
Dominus autem in templo sancto suo
cm_manaus
0
110
Ch4_-_Partie_3.pdf
bernhardsvt
0
120
アジャイルやっていきを醸成する内製講座
nomuson
1
410
横浜翠嵐高校 職業講話 / Talk for YOKOHAMA SUIRAN 2024
mura_mi
0
170
Policing the Poor
oripsolob
0
430
OCIでインスタンス構築してみた所感
masakiokuda
0
180
統計学に必要な数学(線形代数含む)
kosugitti
0
350
OpenAI Education Forum 資料「教育と生成AI ~事例から見えるこれからの活用~」
luiyoshida
1
600
Featured
See All Featured
Thoughts on Productivity
jonyablonski
69
4.6k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.5k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.3k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Statistics for Hackers
jakevdp
798
220k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Building Adaptive Systems
keathley
41
2.5k
How GitHub (no longer) Works
holman
314
140k
Typedesign – Prime Four
hannesfritz
41
2.6k
Transcript
Computer Science E-1 Lecture 9: Programming
Final Project
http://cse1.net/store
HTML
Algorithms
What chair is everyone sitting in?
1. Ask the person to your left where he/she is
sitting 2. If there is no one to your left, say “one” 3. Add one to the answer of the person to your left, and say it out loud
How many people are here?
None
None
1. Stand up. You are number 1. 2. Pair off
with someone standing. Add your numbers together. The sum is your new number. 3. One person sits. The other goes to step 2.
None
How do you make a peanut butter and jelly sandwich?
Scratch
Sprites
Stage
Scripts
None
Statements
None
None
None
Boolean expressions
None
None
Combining expressions
None
None
Conditions
None
None
None
Loops
None
None
Variables
None
Arrays
None
Threads
Events
Mario
Javascript
<script>
alert(‘O hai, world!’);
var socks_on_feet = 0;
if (socks_on_feet == 2) { alert(‘Done!’); } else { alert(‘Keep
going!’); }
None
var counter = 0; while (counter < 10) { alert(counter);
counter = counter + 1; }
var counter = 0; while (counter < 10) { alert(counter);
counter++; }
for (var i = 0; i < 10; i++) {
alert(i); }
DOM
<html> <head> <title>Web Page</title> </head> <body> <h1><span>A web page!</span></h1> </body>
</html>
html
html head body
html head body title
html head body title h1 span
document.getElementById
document.querySelectorAll
Thanks! Ben, R.J., Chris, Dan, Ramon
Computer Science E-1 Lecture 9: Programming