CS 223 - Spring 2017. 1/18
Welcome to CS 223!
Logical problem of the day
x = 10;
x = x++;
What is the output of the above program?
Lecture 1: Introductory Lecture.
- Biography. Hybrid: academia (theory) / industry (practice).
- Yale undergraduate. music major. (studied CS with Alan Perlis)
- Developed computer systems for presidential campaigns and the White House.
- Yale graduate student, M.S., Ph.D., computer science (artificial intelligence)
- Yale Computer Science Department: Assistant Chairman, Assistant Director
of the Yale AI Project, Lecturer.
- NYU Stern School of Business, Department of Information Systems, Assistant
- Wrote three books (T/Scheme, LISP, decision making) - dedicated
to Yale alumnae.
- Developed investment and risk technology systems for Wall Street.
Sell side (Morgan Stanley), Buy side (INVESCO, Bank of America, Commonfund)
- Note: You will be required to learn UNIX. It is unavoidable. You can't learn
to swim without getting wet.
If you're thinking of taking
CPSC 223, please do the following.
Data Structures == Abstractions
CS 223 covers the intersection of the following topics:
One way to think about data structures (as well as computer science itself)
is as an abstract representation of knowledge.
I don't think C gets enough credit. Sure, C doesn't love you. C isn't
about love--C is about thrills. C hangs around in the bad part of
town. C knows all the gang signs. C has a motorcycle, and wears the
leathers everywhere, and never wears a helmet, because that would mess
up C's punked-out hair. C likes to give cops the finger and grin and
speed away. Mention that you'd like something, and C will pretend to
ignore you; the next day, C will bring you one, no questions asked,
and toss it to you with a you-know-you-want-me smirk that makes your
heart race. Where did C get it? "It fell off a truck," C says, putting
away the boltcutters. You start to feel like C doesn't know the
meaning of "private" or "protected": what C wants, C takes. This
excites you. C knows how to get you anything but safety. C will give
you anything but commitment. In the end, you'll leave C, not because
you want something better, but because you can't handle the
intensity. C says "I'm gonna live fast, die young, and leave a
good-looking corpse," but you know that C can never die, not so long
as C is still the fastest thing on the road
Aspnes' Very Fine CS 223 notes from Spring 2015
We conclude with a discussion of the simple C program for counting
characters in standard input. This is the basis for the first
homework assignment. s17h1.v0.
- Structure of a C Program
- Basic Integer Types
See /c/cs223/hw1/Total.c and /c/cs223/hw1/Makefile