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
310
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
440
Lecture 6: CSCI E-1 Spring 2013
tmacwill
1
450
Lecture 7: CSCI E-1 Spring 2013
tmacwill
0
520
Lecture 5: CSCI E-1 Spring 2013
tmacwill
1
600
Incorporating Version Control into Programming Courses
tmacwill
1
110
Lecture 4: CSCI E-1 Spring 2013
tmacwill
0
410
Lecture 3: CSCI E-1 Spring 2013
tmacwill
0
490
Lecture 2: CSCI E-1 Spring 2013
tmacwill
0
790
Lecture 1: CSCI E-1 Spring 2013
tmacwill
0
320
Other Decks in Education
See All in Education
HCL Notes/Domino 14.5 EAP Drop1
harunakano
1
160
2024年度秋学期 統計学 第11回 分布の「型」を考える - 確率分布モデルと正規分布 (2024. 12. 4)
akiraasano
PRO
0
110
Image compression
hachama
0
390
Unraveling JavaScript Prototypes
debug_mode
0
140
プログラミング基礎#4(名古屋造形大学)
yusk1450
PRO
0
120
1113
cbtlibrary
0
290
Medidas en informática
irocho
0
1.1k
Поступай в ТОГУ 2025
pnuslide
0
16k
Introduction - Lecture 1 - Advanced Topics in Big Data (4023256FNR)
signer
PRO
1
1.7k
ビジネススキル研修紹介(株式会社27th)
27th
PRO
1
600
Initiatives on Bridging the Gender Gap in the Technology Sector
codeforeveryone
0
120
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
4
15k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
91
5.8k
It's Worth the Effort
3n
184
28k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.8k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.4k
Facilitating Awesome Meetings
lara
52
6.2k
Six Lessons from altMBA
skipperchong
27
3.6k
The Cult of Friendly URLs
andyhume
78
6.2k
KATA
mclloyd
29
14k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
Speed Design
sergeychernyshev
27
790
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
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