Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Lecture 9: CSCI E-1 Spring 2013
Tommy MacWilliam
April 24, 2013
Education
0
140
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
140
Lecture 6: CSCI E-1 Spring 2013
tmacwill
1
260
Lecture 7: CSCI E-1 Spring 2013
tmacwill
0
220
Lecture 5: CSCI E-1 Spring 2013
tmacwill
1
230
Incorporating Version Control into Programming Courses
tmacwill
1
100
Lecture 4: CSCI E-1 Spring 2013
tmacwill
0
200
Lecture 3: CSCI E-1 Spring 2013
tmacwill
0
260
Lecture 2: CSCI E-1 Spring 2013
tmacwill
0
460
Lecture 1: CSCI E-1 Spring 2013
tmacwill
0
300
Other Decks in Education
See All in Education
Digital Design 2022-02
mathatelle
0
260
Life is Tech ! Lesson Product Snapshot
lifeistech
0
360
2022年度データアナリティクスII-第2回-20220418
trycycle
0
130
Svyati
libshare
0
210
Forpost
libshare
0
210
World War I and the Red Scare
oripsolob
0
660
2030年代の情報教育のあり方についての提言
codeforeveryone
2
3.3k
TRPGからふりかえりを学ぶ~アジャイル以外のふりかえり文化~
shirayanagiryuji
0
1.1k
Lisätty todellisuus opetuksessa
matleenalaakso
0
1k
Case Studies and Course Review - Lecture 12 - Information Visualisation (4019538FNR)
signer
PRO
0
440
Baparekraf Developer Day 2022 - Back-End (Dimas Maulana Dwi Saputra)
dicodingevent
0
470
自分の道の歩み方~楽しくチャレンジするためのヒント~
tomoima525
0
140
Featured
See All Featured
BBQ
matthewcrist
74
7.9k
Build your cross-platform service in a week with App Engine
jlugia
219
17k
Embracing the Ebb and Flow
colly
73
3.4k
Designing on Purpose - Digital PM Summit 2013
jponch
106
5.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
269
11k
Teambox: Starting and Learning
jrom
122
7.7k
Designing for humans not robots
tammielis
241
23k
Producing Creativity
orderedlist
PRO
333
37k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
212
20k
The Power of CSS Pseudo Elements
geoffreycrofte
46
3.9k
Facilitating Awesome Meetings
lara
29
4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
181
15k
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