Introduction To CS 106A
Introduction To CS 106A
3. 4. 5. 6. 7. 8. 9. 10.
Source: U.S. Department of Labor, Bureau of Labor Statistics, Employment Projections: 2006-16, December 2007.
94,889
57,127
55,208
Physical Sciences
Biological Sciences
Engineering
Computer Science
The educational data comes from the National Center for Education Statistics IPEDS (Integrated Postsecondary Education Data System) Data Center. The data used is for degrees granted in the 2008-2009 academicvery happy with the students that we get from this We are year. The employment data comes from the Department of Labors Occupational Outlook Handbook for times as many of them. 2010-11. This handbook includes employment for 2008 as well as a 10-year projection to 2018. I Bill Gates at I calculated job openings per year manually selected which occupations mapped to which degrees.Stanford, February 19, 2008 as 10% of the expected job growth over 2008-2018 plus 2.5% of the number of jobs in 2008. This second term describes the number of jobs opening as people retire. It assumes that people work for 40 years and leave a job at a uniform rate; the latter is of course not true in difficult economic times.
Beyond its marketability, computer science is an intellectually challenging and highly creative discipline. It can also be a great deal of fun. In CS 106A, we will cover many of the ideas and skills you need to begin a career in this field. At the same time, we try as hard as we can not to lose sight of the creativity and fun, making sure you have ample opportunities for both.
CS 106A Staff
Professor: Eric Roberts
[email protected]
Undergraduates must take CS 106A for 5 units. Unfortunately, the default on Axess is 3 units, so make sure that you change this value as you register.
All handouts, assignments, lecture slides, and announcements are posted on the course web site at
http://cs106a.stanford.edu/
Both the midterm and the final are given at two scheduled times as shown in Handout #2. Special arrangements can be made for those who cannot make either time.
SyllabusWeek 1
April 2 Administration CS and the Honor Code Meet Karel the Robot
4 Simple Karel programs Extending the Karel class The concept of inheritance Control structures in Karel
Friday Four-Square
Read: Karel, Chapters 1-3 Read: Karel, Chapters 4-6
SyllabusWeek 2
9 Programming by example Classes and objects The Program hierarchy Simple graphical objects
SyllabusWeek 3
SyllabusWeek 4
23 The acm.graphics package Responding to mouse events The Java listener model
SyllabusWeek 5
4 Arrays in Java
SyllabusWeek 6
7 Debugging strategies
9 Multidimensional arrays
Midterm Exam Tuesday, May 8 9:00 A.M. or 3:15 P.M. Read: Section 11.7 Due: HW #4 (TurtleGraphics)
SyllabusWeek 7
SyllabusWeek 8
25 Overview of Adventure!
SyllabusWeek 9
28 Memorial Day
(no class)
Read: Chapter 14
Assignments in CS 106A
Assignments in CS 106A are due at 5:00P.M. Assignments that come in after 5:00 will be considered late. Everyone in CS 106A starts the quarter with two late days that you can use at any time you need some extra time. In my courses, late days correspond to class meetings, so that, if an assignment is due on Wednesday and you turn it in on Friday, that counts as one late day. Extensions can be approved only by the TA, Jeremy Keeshin. Assignments are graded by your section leader, who discusses your work in an interactive, one-on-one grading session. Each assignment is given two grades: one on functionality and one on programming style. Style matters. Companies in Silicon Valley expect Stanford graduates to understand how to write code that other programmers can maintain.
Contests
CS 106A will have three contests as follows:
The Karel Contest associated with Assignment #1 The Graphics Contest associated with Assignment #3 The Adventure Contest associated with Assignment #7
First prize in the contest is a score of 100% on one of the graded components of the course, typically the final exam. As an additional incentive, entering any of the contests gives you chances to win an additional grand prize in a random drawing at the end of the quarter. Entering a contest also earns house points for your class in the style of the Hogwarts School from Harry Potter. Securing a runner-up prize or an honorable mention on any contest gives you additional chances in the random drawing, as does having an assignment submitted as a + + candidate.
Rule 2: You must not share actual program code with other students.
Rule 3: You must not look at solution sets or program code from other years Rule 4: You must be prepared to explain any program code you submit.
The weight assigned to the homework will be whatever is left after the announced weights are assigned to the various other components, subject to a minimum of 15%.
For example, if no Honor Code cases come up this quarter, the final will count for 15% and the homework will count for 60%. If, however, there are three cases (as there were when I taught 106A in 2009), the final will count for 30% and the homework for 45%. And so on . . .
+
1
+
2
+
3
+ 4
+
5
+
1
+
2
+
3
+ 4
+
5
The End