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
340
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
560
Lecture 6: CSCI E-1 Spring 2013
tmacwill
1
500
Lecture 7: CSCI E-1 Spring 2013
tmacwill
0
670
Lecture 5: CSCI E-1 Spring 2013
tmacwill
1
770
Incorporating Version Control into Programming Courses
tmacwill
1
120
Lecture 4: CSCI E-1 Spring 2013
tmacwill
0
450
Lecture 3: CSCI E-1 Spring 2013
tmacwill
0
540
Lecture 2: CSCI E-1 Spring 2013
tmacwill
0
890
Lecture 1: CSCI E-1 Spring 2013
tmacwill
0
330
Other Decks in Education
See All in Education
HTML5 and the Open Web Platform - Lecture 3 - Web Technologies (1019888BNR)
signer
PRO
2
3.2k
卒論の書き方 / Happy Writing
kaityo256
PRO
54
28k
コマンドラインを見直そう(1995年からタイムリープ)
sapi_kawahara
0
640
Microsoft Office 365
matleenalaakso
0
2k
1216
cbtlibrary
0
130
KBS新事業創造体験2025_科目説明会
yasuchikawakayama
0
160
Google Gemini (Gem) の育成方法
mickey_kubo
2
1.1k
いわゆる「ふつう」のキャリアを歩んだ人の割合(若者向け)
hysmrk
0
290
Security, Privacy and Trust - Lecture 11 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
JAPAN AI CUP Prediction Tutorial
upura
1
210
1202
cbtlibrary
0
200
東大1年生にJulia教えてみた
matsui_528
7
11k
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
58
41k
BBQ
matthewcrist
89
10k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
210
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
83
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
360
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
1
350
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
HDC tutorial
michielstock
1
320
The #1 spot is gone: here's how to win anyway
tamaranovitovic
1
890
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