welcome to cs106a
play

Welcome to CS106A! Four Handouts Today: Course Overview Why Learn - PowerPoint PPT Presentation

Welcome to CS106A! Four Handouts Today: Course Overview Why Learn to Program? Meet Karel the Robot Who's Here Today? Aeronautical Engineering Drama Materials Science Anthropology Earth Systems Mathematics


  1. Welcome to CS106A! ● Four Handouts ● Today: ● Course Overview ● Why Learn to Program? ● Meet Karel the Robot

  2. Who's Here Today? ● Aeronautical Engineering ● Drama ● Materials Science ● Anthropology ● Earth Systems ● Mathematics ● Art ● Economics ● Mechanical Engineering ● Biochemistry ● Medicine ● Education ● Biology ● Management Science and ● Electrical Engineering Engineering ● Biophysics ● Energy Resources ● Music Engineering ● Business Administration ● Physics ● English ● Chemical Engineering ● Political Science ● Environmental ● Chemistry Engineering ● Psychology ● Civil Engineering ● Film Studies ● Race and Ethnicity ● Classics ● Genetics ● Religious Studies ● Communication ● Geological Science ● Science, Technology, and ● Comparative Literature Society ● Human Biology ● Computational and ● Statistics ● International Relations Mathematical Science ● Symbolic Systems ● Law ● Computer Science ● Urban Studies

  3. Course Staff Instructor : Keith Schwarz (htiek@cs.stanford.edu) Head TA : Jeremy Keeshin (jkeeshin@cs.stanford.edu) The CS106A Section Leaders The CS106A Course Helpers

  4. Course Website http://cs106a.stanford.edu

  5. Prerequisites The void where prerequisites usually go

  6. Required Reading KAREL THE ROBOT LEARNS JAVA

  7. Required Reading

  8. Grading Policies

  9. Grading Policies 55% Assignments 15% Midterm 25% Final 5% Section Participation

  10. Grading Policies 55% Assignments 15% Midterm 25% Final 5% Section Participation 7 Programming Assignments

  11. Grading Policies 55% Assignments 15% Midterm 25% Final 5% Section Participation

  12. Grading Policies 55% Assignments 15% Midterm 25% Final 5% Section Participation Midterm Exam: Monday, February 13 7:00PM – 9:00PM

  13. Grading Policies 55% Assignments 15% Midterm 25% Final 5% Section Participation

  14. Grading Policies 55% Assignments 15% Midterm 25% Final 5% Section Participation Final Exam: Wednesday, March 21 12:15PM – 3:15PM

  15. Grading Policies 55% Assignments 15% Midterm 25% Final 5% Section Participation

  16. Discussion Sections ● Weekly discussion sections. ● Section attendance is required in CS106A. ● Sign up between Thursday, January 12 at 5:00PM and Sunday, January 15 at 5:00PM at http://cs198.stanford.edu/section ● Do not enroll through Axess; everything will be handled through the above link.

  17. The CS106A Units Flowchart Start Here 3 Units Do you want NO YES Are you an -or- to take CS106A for undergrad? fewer units? 4 Units YES NO NO 5 Units

  18. A Word on the Honor Code...

  19. A Word on the Honor Code... ● Feel free to discuss general ideas with other students, but do not share any programs or code (text of the programs). ● Cite all sources you use and everyone you collaborated with. ● This is not an exhaustive list; please see Handout #03 for a full discussion of the Honor Code.

  20. On a Happier Note... ● There are 38 hours a week where we're available to help you! ● Section leaders and course helpers staff the Tresidder LaIR Sunday – Thursday, 6PM – Midnight. ● Starts next Tuesday. ● Keith and Jeremy hold office hours each week. ● See Handout #00 for details.

  21. Why Learn to Program Computers?

  22. Computer science is no more about computers than astronomy is about telescopes, biology is about microscopes or chemistry is about beakers and test tubes. Science is not about tools, it is about how we use them and what we find out when we do. - Michael Fellows and Ian Parberry, “SIGACT trying to get children excited about CS”

  23. Computer science is no more about computers than astronomy is about telescopes, biology is about microscopes or chemistry is about beakers and test tubes. Science is not about tools, it is about how we use them and what we find out when we do. - Michael Fellows and Ian Parberry, “SIGACT trying to get children excited about CS”

  24. (c) 2012 Intuitive Surgical, Inc.

  25. All of these projects occurred within the last ten years.

  26. Who's Here Today? ● Aeronautical Engineering ● Drama ● Materials Science ● Anthropology ● Earth Systems ● Mathematics ● Art ● Economics ● Mechanical Engineering ● Biochemistry ● Medicine ● Education ● Biology ● Management Science and ● Electrical Engineering Engineering ● Biophysics ● Energy Resources ● Music Engineering ● Business Administration ● Physics ● English ● Chemical Engineering ● Political Science ● Environmental ● Chemistry Engineering ● Psychology ● Civil Engineering ● Film Studies ● Race and Ethnicity ● Classics ● Genetics ● Religious Studies ● Communication ● Geological Science ● Science, Technology, and ● Comparative Literature Society ● Human Biology ● Computational and ● Statistics ● International Relations Mathematical Science ● Symbolic Systems ● Law ● Computer Science ● Urban Studies

  27. Goals for this Course ● Learn how to harness computing power to solve problems . ● To that end: ● Explore fundamental techniques in computer programming. ● Develop good software engineering techniques. ● Gain familiarity with the Java programming language.

  28. Meet Karel the Robot

  29. Karel's World . . . . . 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  30. Karel's World . . . . . 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  31. Karel's World . . . . . 3 . . . . . 2 . . . . . 1 Each row is called a street. 1 2 3 4 5

  32. Karel's World . . . . . 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  33. Karel's World . . . . . 3 . . . . . 2 . . . . . 1 1 2 3 4 5 Each column is called an avenue.

  34. Karel's World . . . . . 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  35. Karel's World . . . . . 3 . . . . . 2 . . . . . 1 The intersection of a street and an 1 2 3 4 5 avenue is a corner.

  36. Karel's World . . . . . 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  37. Karel's World . . . . . 3 . . . . . 2 . . . . . Karel cannot 1 move through walls. 1 2 3 4 5

  38. Karel's World . . . . . 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  39. Karel's World . . . . . 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  40. Karel's World . . . . . 3 . . . . . 2 . . . . . 1 Beepers mark 1 2 3 4 5 locations in Karel's world.

  41. Karel's World . . . . . 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  42. Karel's World Karel Commands . . . . . 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  43. Karel's World Karel Commands . . . . . move 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  44. Karel's World Karel Commands . . . . . move 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  45. Karel's World Karel Commands . . . . . move 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  46. Karel's World Karel Commands . . . . . move 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  47. Karel's World Karel Commands . . . . . move 3 . . . . . 2 . . . . . 1 1 2 3 4 5

  48. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . 2 . . . . . 1 1 2 3 4 5

  49. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . 2 . . . . . 1 1 2 3 4 5

  50. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . turnLeft 2 . . . . . 1 1 2 3 4 5

  51. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . turnLeft 2 . . . . . 1 1 2 3 4 5

  52. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . turnLeft 2 . . . . . 1 1 2 3 4 5

  53. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . turnLeft 2 . . . . . 1 1 2 3 4 5

  54. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . turnLeft 2 . . . . . 1 1 2 3 4 5

  55. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . turnLeft 2 . . . . . 1 1 2 3 4 5

  56. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . turnLeft 2 . . . . . 1 1 2 3 4 5

  57. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . turnLeft 2 . . . . . 1 1 2 3 4 5

  58. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . turnLeft 2 putBeeper . . . . . 1 1 2 3 4 5

  59. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . turnLeft 2 putBeeper . . . . . 1 1 2 3 4 5

  60. Karel's World Karel Commands . . . . . move 3 pickBeeper . . . . . turnLeft 2 putBeeper . . . . . 1 1 2 3 4 5

More recommend