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
330
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
490
Lecture 6: CSCI E-1 Spring 2013
tmacwill
1
480
Lecture 7: CSCI E-1 Spring 2013
tmacwill
0
600
Lecture 5: CSCI E-1 Spring 2013
tmacwill
1
640
Incorporating Version Control into Programming Courses
tmacwill
1
120
Lecture 4: CSCI E-1 Spring 2013
tmacwill
0
430
Lecture 3: CSCI E-1 Spring 2013
tmacwill
0
520
Lecture 2: CSCI E-1 Spring 2013
tmacwill
0
850
Lecture 1: CSCI E-1 Spring 2013
tmacwill
0
320
Other Decks in Education
See All in Education
Open Source Summit Japan 2025のボランティアをしませんか
kujiraitakahiro
0
740
OJTに夢を見すぎていませんか? ロールプレイ研修の試行錯誤/tryanderror-in-roleplaying-training
takipone
1
170
Sponsor the Conference | VizChitra 2025
vizchitra
0
560
2025.05.10 技術書とVoicyとわたし #RPALT
kaitou
1
230
万博非公式マップとFOSS4G
barsaka2
0
470
SkimaTalk Introduction for Students
skimatalk
0
390
2025年度春学期 統計学 第3回 クロス集計と感度・特異度,データの可視化 (2025. 4. 24)
akiraasano
PRO
0
150
Virtual and Augmented Reality - Lecture 8 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.7k
2025年度春学期 統計学 第4回 データを「分布」で見る (2025. 5. 1)
akiraasano
PRO
0
120
SkimaTalk Tutorial for Students
skimatalk
0
1.8k
小さなチャレンジが生んだチームの大きな変化 -私のふりかえり探求の原点
callas1900
0
570
2025年度春学期 統計学 第10回 分布の推測とは ー 標本調査,度数分布と確率分布 (2025. 6. 12)
akiraasano
PRO
0
160
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1031
460k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
The Language of Interfaces
destraynor
158
25k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Navigating Team Friction
lara
187
15k
Designing Experiences People Love
moore
142
24k
Designing for Performance
lara
610
69k
Fireside Chat
paigeccino
37
3.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
Six Lessons from altMBA
skipperchong
28
3.9k
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