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
270
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
340
Lecture 6: CSCI E-1 Spring 2013
tmacwill
1
410
Lecture 7: CSCI E-1 Spring 2013
tmacwill
0
440
Lecture 5: CSCI E-1 Spring 2013
tmacwill
1
440
Incorporating Version Control into Programming Courses
tmacwill
1
110
Lecture 4: CSCI E-1 Spring 2013
tmacwill
0
360
Lecture 3: CSCI E-1 Spring 2013
tmacwill
0
440
Lecture 2: CSCI E-1 Spring 2013
tmacwill
0
710
Lecture 1: CSCI E-1 Spring 2013
tmacwill
0
320
Other Decks in Education
See All in Education
大学院進学について(2024年度版)
imash
0
140
week3@tcue2024
nonxxxizm
0
630
Educació digital en l'adolescència
gonz1ale1
0
200
week12@tcue2024
nonxxxizm
0
530
Implicit and Cross-Device Interaction - Lecture 10 - Next Generation User Interfaces (4018166FNR)
signer
PRO
1
1.4k
Educación digital en la adolescencia
gonz1ale1
0
200
2024年度春学期 統計学 第9回 確からしさを記述する ー 確率 (2024. 6. 6)
akiraasano
PRO
0
110
プロジェクト型学習とそれを支える生成AI利用プログラミング/pbl-and-ai-assisted-programming
okana2ki
0
150
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019538FNR)
signer
PRO
1
1.5k
week13@tcue2024
nonxxxizm
0
400
大学業務における生成AI活用の現在地 -基本編-
gmoriki
3
2.4k
みんなのコード2023年度活動報告・2024年度活動方針/Annual report2023
codeforeveryone
0
130
Featured
See All Featured
Statistics for Hackers
jakevdp
792
220k
Debugging Ruby Performance
tmm1
71
11k
What's in a price? How to price your products and services
michaelherold
239
11k
Infographics Made Easy
chrislema
238
18k
Large-scale JavaScript Application Architecture
addyosmani
506
110k
Speed Design
sergeychernyshev
9
270
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
90
47k
The Invisible Side of Design
smashingmag
294
50k
[RailsConf 2023] Rails as a piece of cake
palkan
35
4.4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.5k
The Brand Is Dead. Long Live the Brand.
mthomps
52
36k
WebSockets: Embracing the real-time Web
robhawkes
59
7.2k
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