Materials
Important links
- www.crashwhite.com/pfscs/ - this website
- replit.com/ - Where we'll write code
- p5js.org - Where we'll explore graphics
- Course Description and Policies
- Student Info form
- Turn in Work - share your replit work with the instructor
- View Progress - View your assignments and grade
- Student replit accounts
Unit 1 - Introductions
Welcome to the class!
Your first program
- Discussion 2
- Assignments: helloWorld, helloWorldPersonal
Computational Thinking
Solving puzzles that will help us better understand how to work with the computer.
- Discussion 3
- Assignments: Bebras Challenge - Solve some computational thinking problems!
Unit 2 - Websites on the World Wide Web
Everybody visits websites. You're going to build your own. Feel the power.
- Discussion 4 - Hypertext Markup Language (HTML)
- Assignments: sampleWebsite
- Discussion 5 - Divs, Cascading Style Sheets (CSS)
- Discussion 6 - Technology & Diversity
- Project 1 - Static website, Mr. White's Sample Website (for reference), Mr. White's Project 1 (2020), Mr White's Project 1 (2021)
Unit 3 - Intro to Computer Science, JavaScript
We'll use the JavaScript programming language to solve a series of increasingly challenging problems. This is the heart of our course.
- Discussion 7 - Output, Strings, Numbers, Variables, Input
- Assignments: Input Name, Age, Calculate Height
- Discussion 8 - Writing functions w/ parameters.
- Assignments: Hello Function, OldMacDonald
- Discussion 9 - Writing functions w/ returns, the random module
- Assignments: Celebrate Birthday, Die Function 1, Die Function 2
- Discussion 10 - Conditional Statements
- Assignments: Secret Message, Voting Age, Bar Bouncer
- Discussion 10.5 - Website Follow-ups
- Discussion 11 - Conditional Loops
- Assignments: Counting Up, Counting Down, Sentinel Goodbye
- Discussion 12 - Unconditional Loops
- Assignments: Flipping Coins
Unit 4 - Forms, and Interactive Web pages
Let's try some more advanced JavaScript programming to see what we can do in the browser!
- Discussion 13 - Interacting with Webpages
- https://replit.com/@RichardWhite2/MusicQuiz-RW - You can fork this
- Discussion 14 - Data Cleaning, Loops, Automation...
- Music folder
Unit 5- Processing and JavaScript
Using JavaScript with computer graphics
- Discussion 16 - Introduction to Processing, p5.js
- Discussion 17 - Writing a Computer Game
- RaindropCatcher final version
Unit 6 - Finishing Up
This summer has flown by. I hope you have a chance to get some rest before the start of the school year in August!
Before we say goodbye...
- Discussion 18 - Course wrap-up
- The ethical dilemma of self-driving cars [Patrick Lin, YouTube]
- Make some decisions of your own: The Moral Machine [MIT]
- Quick, Draw! (video)
- Play Quick, Draw!