0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
4,896
On Slideshare
4,896
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Computer Science 50 Introduction to Computer Science I Harvard College Week 10 David J. Malan malan@post.harvard.edu 0
  • 2. Your Classmates by Year 1
  • 3. Your Classmates by Gender Female 29% 79 Male 71% 194 2
  • 4. Your Classmates’ Comfort Levels 3
  • 5. Your Classmates’ Prior Experience 4
  • 6. Time Spent on Problem Sets 5
  • 7. Oh, the Places You’ll Go! CS 51: Introduction to Computer Science II sneak preview on Friday, 7 December 2007 Abstraction and design in computation. Topics include: Functional and object- oriented styles of programming; software engineering in the small; implementation of a language interpreter. Goal: understanding how to design large programs to make them readable, maintainable, efficient, and elegant. Exercises in LISP (Scheme) and C++. CS 61: Systems Programming and Machine Organization sneak preview on Monday, 10 December 2007 Fundamentals of computer systems programming, machine organization, and performance tuning. This course provides a solid background in systems programming and a deep understanding of low-level machine organization and design. Topics include C and assembly language programming, program optimization, memory hierarchy and caching, virtual memory and dynamic memory management, concurrency, threads, and synchronization. 6
  • 8. TFs Graders Coders Image from http://members.memlane.com/gromboug/P16MvSig.htm. 7
  • 9. The year was 1995... 8
  • 10. Recommended Reading TCP/IP Tutorial http://www.w3schools.com/tcpip/ How Web Servers Work http://computer.howstuffworks.com/web-server.htm XHTML Tutorial http://www.w3schools.com/xhtml/ CSS Tutorial http://www.w3schools.com/css/ PHP Tutorial http://www.w3schools.com/php/ SQL Tutorial http://www.w3schools.com/sql/ 9
  • 11. “RTFM” PHP Manual http://us.php.net/manual/en/ MySQL 5.0 Reference Manual http://dev.mysql.com/doc/refman/5.0/en/ 10
  • 12. Use the Bulletin Board! 11
  • 13. TCP/IP Image from http://www.belkin.com/support/download/files/F5D7231-4.pdf. 12
  • 14. HTTP Image from http://computer.howstuffworks.com/web-server1.htm. 13
  • 15. XHTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>hello, world</title> </head> <body> hello, world </body> </html> 14
  • 16. CSS <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link href="styles.css" rel="stylesheet" type="text/css" /> <title>hello, world</title> </head> <body> hello, world </body> </html> 15
  • 17. Validation http://validator.w3.org/ 16
  • 18. Forms Text Fields <input name="email" type="text" /> Password Fields <input name="password" type="password" /> Checkboxes <input name="save" type="checkbox" /> Radio Buttons <input name="gender" type="radio" value="F" /> <input name="gender" type="radio" value="M" /> Drop-Down Menus <select name="dorm"> <option value=""></option> <option value="Matthews"></option> <option value="Weld"></option> </select> 17
  • 19. Mispellings $dictionary[$word] = TRUE; 18
  • 20. Some Predefined Variables $_GET $_POST 19
  • 21. SQL SELECT INSERT UPDATE DELETE 20
  • 22. Computer Science 50 Introduction to Computer Science I Harvard College Week 10 David J. Malan malan@post.harvard.edu 21