The problem set for Week 1 introduces the C programming language.
Problem Set 1 guides students through installing and setting up the Appliance virtual machine, walks through the classic "hello, world" program, introduces the course utilities check50
and style50
and includes the problems mario and greedy.
The hacker edition of Problem Set 1 asks for a more complicated output in mario and deals with credit cards instead of coins in greedy.
Objectives
- Get comfortable with Linux.
- Start thinking more carefully.
- Solve some problems in C.
Recommended Reading
- Pages 1 – 7, 9, and 10 of http://www.howstuffworks.com/c.htm.
- Chapters 1 – 5, 9, and 11 – 17 of Absolute Beginner’s Guide to C.
- Chapters 1 – 6 of Programming in C.