Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scottstanfield/compsci
Computer Science for High School
https://github.com/scottstanfield/compsci
Last synced: 20 days ago
JSON representation
Computer Science for High School
- Host: GitHub
- URL: https://github.com/scottstanfield/compsci
- Owner: scottstanfield
- Created: 2013-09-04T16:46:57.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-27T03:13:25.000Z (almost 11 years ago)
- Last Synced: 2024-04-10T13:59:12.083Z (9 months ago)
- Language: Python
- Size: 410 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Computer Science Class
----------------------Google Python Videos
====================
Google Python Class
Three hours with Nick Parlante* [Day 1](http://www.youtube.com/watch?v=tKTZoB2Vjuk)
* [Day 2](http://www.youtube.com/watch?v=EPYupizJYQI)
* [Day 3](http://www.youtube.com/watch?v=haycL41dAhg)Kahn Programming Videos
=======================
Quiz postponed to Monday, Oct 28Watch the first 6 [Khan videos](https://www.khanacademy.org/science/computer-science).
- intro to programs: types and variables
- binary numbers
- python lists
- for loops
- while loops
- fun with stringsUse the code ZM6ZR6 to join my class on Khan Academy.
Not required but recommended. Read this on Python lists:
http://effbot.org/zone/python-list.htmTest
====
First test will be on Friday, Oct 11th.
It will cover:- number system and conversions (like binary and hexadecimal).
- Encoding the alphabet in [ASCII](http://en.wikipedia.org/wiki/ASCII)
- basic Unix
[commands](https://github.com/scottstanfield/compsci/blob/master/commands.md)There will be a mix of multiple choice questions, written answers and a
practical portion (running commands on the computer).To study for the command part of the test:
* Read [Survival Guide to UNIX for Newbies](http://matt.might.net/articles/basic-unix/)
* Then read part 2, [Settling into Unix](http://matt.might.net/articles/settling-into-unix/)Scavenger Hunt
==============
Leading up to the test, we've been on a "scavenger hunt", looking through various bits of the Mac.Here's the [scavenger hunt](https://github.com/scottstanfield/compsci/blob/master/scavenger-hunt.md)
Homework
========### 4.4 (Week 4, Day 4: Sept 26)
Read this one short tutorials on Python:
* [Instant Python](http://hetland.org/writing/instant-python.html)
Notes on today's class lecture on [finding square
roots](http://radiantbytes.com/books/python-latex/src/chap9.html).This tutorial is longer than I realized. So we won't be tested on it
this week. We'll continue reviewing the concepts it covers in class
tomorrow.
About this class
================A set of materials for teaching CompSci to High-School students
Link to the gist for Unicorns and Rainbows:
https://gist.github.com/scottstanfield/6450745## Mac Setup
### 0. Setup mouse right-click
Go to System Preferences, locate Mouse and enable the right-mouse
button.### 1. Spectacle
[Spectacle](http://cl.ly/RQLx) is a free window resizer program.The Spectacle [website](http://spectacleapp.com/) shows a good
demonstration of the capabilities.### 2. TextWrangler
[TextWrangler 4.5.3](http://www.barebones.com/products/textwrangler/download.html) is a free code editor and a
better replacement for TextEdit.
1. Double-click on the TextWrangler_4.5.3.dmg
2. Drag the icon to the Application shortcut
3. Launch the program
4. Skip the registration
5. You may be prompted for your credentials...this is an important step### 3. Terminal
Change your terminal preferences:
- Set BASIC to the default
- Change the typeface to 16 pt.Pin it to you start menu.
Also:
- make a `code` folder
- arrange icons on dock
- turn off AirDrop#### Tutorials
Lost a lot of folks yesterday on the command line. Some tutorials?
http://www.davidbaumgold.com/tutorials/command-line/Simple but good
http://blog.teamtreehouse.com/introduction-to-the-mac-os-x-command-lineZed Shaw:
http://cli.learncodethehardway.org/book/## Python
Installing [iPython](http://ipython.org/) the interactive Python:
1. Apple doesn't install a C language compiler on your Mac, and it's
needed by many programs. Install from the command line tools.2. Install the `brew` program from [Homebrew](http://brew.sh)
`
% brew doctor
% brew install cowsay
% cowsay 'brew is awesome'
`The `brew doctor` command might ask you to modify your path, so that
`/usr/local/bin` is in your path before `/usr/bin`. Follow those
instructions.3. Upgrade your Python. Apple does ship a version of `python` with OS X,
but there are extra features we need, only available by customizing
our installation. Follow these stepseasy_install ipython[all]
iptest
brew install pyqt* [Dive into Python](http://www.diveintopython.net)
My favorite book jumps right in. It may assume you have some programming
knowledge, but I like the detail in each chapter.* [Python Learn](http://www.pythonlearn.com/book_007.pdf) is a more
traditional book, that builds from very little starting knowledge.http://www.stavros.io/tutorials/python/
## vi(m): the best text editor
We're not going to learn vim in class, but some of you have expressed an
interest. Use these links to learn more:- [VIM Adventures](http://vim-adventures.com/)
- [Interactive Tutorial](http://www.openvim.com/tutorial.html)There's a great [grahical cheatsheet](http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html);
just focus on Lesson 1 for now.Also, [the vi(m) learning curve is a
myth](http://robots.thoughtbot.com/post/13164810557/the-vim-learning-curve-is-a-myth).## HTML5 Links
I learned HTML5 from (Dive into HTML5)[http://diveintohtml5.info/]
by Mark Pilgram.## Homework
(Scroll back up to the top of the page)