Lesson 1: It's Nice to C You
Outline:
- Welcome!
- Representing data:
- bits and bytes
- ASCII
- The C programming language
- first introduction:
hello.c chararrays:char.c- there are more samples available for you to try out
- first introduction:
- Course logistics
- resources:
- Course website: lesson summaries, assignments, code samples, etc.
- Slack: questions, announcements
- Gradescope: assignment submissions
- Moodle: gradebook
- policies:
- we’ll discuss the policies in the Syllabus more Wednesday and Friday
- assignments: approximately weekly, first one due Wednesday
- resources:
- Working with C
- Unix/Linux and
mantis.mathcs.carleton.edu(see the Resources page for extra help) - VS Code
hello.candchar.c, revisited
- Unix/Linux and
- Next steps
- complete Lab 0: Using VS Code and
mantis– do this today! - read and complete the first assignment – due Wednesday afternoon!
- explore the next few samples
- complete Lab 0: Using VS Code and
Want additional practice?
The DiS online textbook is adding exercises. Try out the exercises for Sec. 1 to get more practice.
Reading assignment (to be completed by the next class):
- Assignment 1: Starting C
- DiS Sec. 1.1: Getting Started Programming in C
- Skim the next few sections in DiS to get a feel for print statements, if statements, functions, and arrays
Note: The examples in Sec. 1 compare Python to C. You can find Java versions in Sec. 16.