0047ecaa6ea3e9ac0a13a2fe96f4de3bfd515c88f5d90c1fae79b956363d7f02c7fa060269

Post on 06-Sep-2014

4.421 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

0

Computer Science 50Introduction to Computer Science I

Harvard College

David J. Malanmalan@post.harvard.edu

Week 10

1

Your Classmates by Year

2

Your Classmates by GenderFemale 29% 79Male 71% 194

3

Your Classmates’ Comfort Levels

4

Your Classmates’ Prior Experience

5

Time Spent on Problem Sets

6

Oh, the Places You’ll Go!CS 51: Introduction to Computer Science IIsneak 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 Organizationsneak 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.

7

TFsGradersCoders

Image from http://members.memlane.com/gromboug/P16MvSig.htm.

8

The year was 1995...

9

Recommended ReadingTCP/IP Tutorialhttp://www.w3schools.com/tcpip/How Web Servers Workhttp://computer.howstuffworks.com/web-server.htmXHTML Tutorialhttp://www.w3schools.com/xhtml/CSS Tutorialhttp://www.w3schools.com/css/PHP Tutorialhttp://www.w3schools.com/php/SQL Tutorialhttp://www.w3schools.com/sql/

10

“RTFM”PHP Manualhttp://us.php.net/manual/en/MySQL 5.0 Reference Manualhttp://dev.mysql.com/doc/refman/5.0/en/

11

Use the Bulletin Board!

12

TCP/IP

Image from http://www.belkin.com/support/download/files/F5D7231-4.pdf.

13

HTTP

Image from http://computer.howstuffworks.com/web-server1.htm.

14

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>

15

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>

16

Validation

http://validator.w3.org/

17

FormsText 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>

18

Mispellings

$dictionary[$word] = TRUE;

19

Some Predefined Variables

$_GET

$_POST

20

SQLSELECT

INSERT

UPDATE

DELETE

21

Computer Science 50Introduction to Computer Science I

Harvard College

David J. Malanmalan@post.harvard.edu

Week 10

top related