## CS101 - Introduction to Computing Principles

Welcome to CS101 -- the essential ideas of computing via little phrases of Javascript code. This is a live Spring 2012-03 class at Stanford.

This page is for the live lecture class at Stanford. You might also be interested in the MOOC on coursera at cs101-class.org, and for high schools or other small classes to use in an ad-hoc way, the materials are freely available at introcomputing.org.

 Lectures and Exercises Week 1 Syllabus Code-1 Introduction getting started with code, print, syntax errors Code-1 Exercises (part of hw1) Code-2 Variables Code-2 Exercises (part of hw1) Image-1 Introduction Image-2 Code Image-2 Exercises (part of hw1) Homework-1 due Mon Apr 8th Week 2 Image-3 Loops Image-3 Exercises Image-4 Expressions Image-4 Exercises Image-5 Puzzles (may not get this far today) Image-5 Exercises Image-6 Grayscale Image-6 Exercises Image-7 If Logic Image-7 Exercises Homework-2 due Mon Apr 15th Week 3 Image-8 Bluescreen Monkey! Image-8 Exercises Image-9 Bluescreen2 Advanced Image-9 Exercises nicks-camera-images (click the "grid" icon to see previews) I will bring the blue background again on Tue for people who want to take another picture, or you can just improvise your own of course. Homework-3 due Wed Apr 24th Week 4 Bits and Bytes Computer Hardware Bits and Gigabytes Software-1 Software-2 Homework-4 due Mon Apr 29th Week 5 Contest: images here (view as grid, or click one and then use the arrows) Voting: vote form ( Best artistic, Best humor, Best use of background, Best multi-pass/paint, Best you hanging with an Obama) Midterm prep and instructions Midterm 2012 solution Week 6 Network-1 Introduction Network-2 Internet Midterm Solution Network-3 The Web Homework-5 due Wed May 15th Week 7 Network-4 Email Table-1 Data Table-1 Exercises (HW6 will be due Wed 22nd) Table-2 startsWith Table-2 Exercises Table-3 Boolean Table-3 Exercises (HW6) Table-4 Count1 Table-4 Exercises (HW6) Table-5 Count2 Table-5 Exercises (HW6) Homework-6 due Wed May 22nd Week 8 Computer Security Spreadsheets Homework-7 due Wed May 29th Week 9 Computer Security - Malware Computer Security - Cryptography Analog Digital Analog Digital - Digitization Analog Digital - Media Formats Week 10 Pre-Final Info Computer Economics CS101 Conclusions Office hours -- we have lots of hours in case you get stuck Homework Due date hours: 4:00-7:00 pm 2nd floor Meyer, the day the hw is due (Mon typically) Nick P's hours: chat immediately after lecture, then Gates 189 2:30-4:30 Tu/Thu Rafael: Mon 9:00am - 11:00am @ Meyer 2nd floor Nick I: Mon 1:00pm - 3:00pm @ Huang Basement David: Wed 2:20pm - 4:20pm @ Meyer 2nd floor Rose: Fri 1:30pm - 3:30pm @ Huang Basement Other Links Our CourseWork site -- we just use this for assignment turn-in and storing grades email cs101@cs.stanford.edu -- email a question to the staff RGB Explorer Image Functions Reference Ars Technica example: typical hack of passwords from site. You would expect 50-90% of these passwords to get cracked, so it's important the drupal users did not re-use those passwords somewhere important.