Lecture 1 module

Lecture 1 module - Welcome to CS 136 Instructors: Byron...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Welcome to CS 136 Instructors: Byron Weber Becker, Kate Larson, Jiye Li, Prabhakar Ragde Tutors: Sanderz Fung, Kyung-Min Kim, Kyle Spaans (plus part-timers) Web page (main information source): http://www.student.cs.uwaterloo.ca/˜cs136 Newsgroup : uw.cs.cs136 Lectures: TuTh 8:30, 1:00 (MC 2054), 10:00, 11:30, 2:30 (MC 2017) Tutorials: Wed or Fri, starting January 14 CS 136 Winter 2009 01: Introduction to CS 136 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Some logistics Textbooks: ˆ How to Design Programs (HtDP) by Felleisen, Flatt, Findler, Krishnamurthi. ˆ C Programming: A Modern Approach (CP) by K. N. King. Presentation handouts: will be available on Web page. Marking Scheme: 5% participation, 20% assignments (7-9 in total), 30% midterm (one), 45% final. Software: ˆ DrScheme v4.1.3 ˆ GNU C compiler ( gcc ), text editor (e.g. vim ) CS 136 Winter 2009 01: Introduction to CS 136 2
Background image of page 2
Class participation mark ˆ Based on use of “clickers” ˆ Register on course Web page ˆ Purpose: to encourage active learning and provide real-time feedback ˆ Multiple-choice questions asked during lecture ˆ One mark for voting, one additional mark for right answer ˆ Votes from all lecture sections pooled ˆ Best 75% over whole term used for 5% of final grade CS 136 Winter 2009 01: Introduction to CS 136 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Course overview ˆ continues with functional paradigm (using Scheme) ˆ introduces imperative paradigm (using C) ˆ preparation for subsequent CS courses (major and minor) ˆ more focus on “real-world” issues dealing efficiently with large amounts of data organizing larger programs reusing and sharing code CS 136 Winter 2009 01: Introduction to CS 136 4
Background image of page 4
Why C? ˆ basic imperative syntax shared with many other languages ˆ modest number of new language constructs and concepts ˆ can be explained with a reasonably clear semantic model ˆ visibility of machine level contrasts with the abstractions of Scheme CS 136 Winter 2009 01: Introduction to CS 136 5
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Why not C++? C++ has several different layers: ˆ An imperative core (almost identical to C); ˆ An object/class system for organizing larger programs; ˆ Templates allowing the design of parameterized classes for use in libraries. The last two are not central to CS 136 (we will touch on the ideas). You can think of C as a “Beginning Student” level of C++. C++ will be examined further in CS 241 and CS 246. CS 136 Winter 2009 01: Introduction to CS 136 6
Background image of page 6
Why not Java? ˆ originally designed to appeal to experienced C++ programmers ˆ requires premature introduction of advanced concepts ˆ Java’s benefits are better appreciated after learning C ˆ learning Java (or C++) is straightforward after CS 136 CS 136 Winter 2009 01: Introduction to CS 136 7
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Overview: Interaction ˆ so far: in DrScheme’s read-evaluate-print loop (REPL) . ˆ much computation involves more frequent interaction (keyboard, mouse, file system, network) ˆ interactive programs can be run inside or outside DrScheme ˆ C requires explicit input and output , or I/O CS 136 Winter 2009 01: Introduction to CS 136 8
Background image of page 8
Overview: Architecture ˆ substitution model provides a simple explanation of programs ˆ How does DrScheme really run a program?
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/21/2010 for the course CS 136 taught by Professor Becker during the Fall '08 term at Waterloo.

Page1 / 44

Lecture 1 module - Welcome to CS 136 Instructors: Byron...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online