This is a day by day list of what we did in 2016-2017.
Location: Madison East High School (Wisconsin)
Class: AP Computer Science Principles
Teacher: Evan Genest
Audience: 16 students (5 seniors, 7 juniors, 4 sophomores)
Overview: The APCSP is 60% coding. The remaining 40% of time emphasizes Agile/Scrum, security, privacy. For the former we followed Harvard CS50 (C-language, followed by a light treatment of Python). For the latter, we followed Code.org. Both are astonishingly good resources.
Location: Madison East High School (Wisconsin)
Class: AP Computer Science Principles
Teacher: Evan Genest
Audience: 16 students (5 seniors, 7 juniors, 4 sophomores)
Overview: The APCSP is 60% coding. The remaining 40% of time emphasizes Agile/Scrum, security, privacy. For the former we followed Harvard CS50 (C-language, followed by a light treatment of Python). For the latter, we followed Code.org. Both are astonishingly good resources.
Monday, June 5, 2017
Show and tell our Lexile projects.
Scoring:
8/10 does everything from May 24 list.
10/10 does everything from May 31 list
14/10 all the above AND is second best in the class OR
18/10 all the above AND is best in class
Friday, June 2, 2017
Finish the DVD 'We Steal Secrets'
Thursday, June 1, 2017
Worked in scrum teams on our Lexile project.
Wednesday, May 31, 2017
Worked in scrum teams on our Lexile project.
Tuesday, May 30, 2017
We mentioned the bravery BUT also extreme illegality of being a whistleblower in some situations.
We recalled that Wikileaks is built upon Julian Assange's tool for encrypting and anonymizing submissions.
We continued to watch the DVD 'We Steal Secrets'
Monday, May 29, 2017
No school; Memorial Day.
Friday May 26, 2017
We watched the beginning of 'We Steal Secrets'
Thursday/Wednesday May25 & 24
We worked in our scrums to make progress on our Lexile Project Team Goals
We looked at a snippet of Python code. (features: command-line user args, sorting, file opening, file reading)
We learned to use help during Python3 Interactive Mode
Tuesday, May 23, 2017
Due Wednesday 11:59pm send a screenshot with your name and stars visible, showing 3 stars from List 1 and 3 stars from String 1 for codingbat.com
Don't forget to sign in with a user name while solving.
And make sure your name is visible in the screenshot you send Wednesday.
Trevor/Jackson video.
Monday, May 22, 2017
Git Version Control.
We spent the period using Git.
We practiced the following four git commands: init branch log checkout, all in git command line.
We used Hemingway and git and a story prompts worksheet to revise our short stories based on Ernest Hemmingway and save each new version as a commit on Git.
The last Tower TV of the year,.
Friday, May 19, 2017
We took the test for Stage 3 Code.org
We finished Code.org lessons for sections 8 and 9 of Stage 3.
Tuesday, May 16, 2017
All students, including those absent, for 3 pts, read Why the World is Getting Hacked by Zeynep Tufekci (NYTimes, May 16, 2017) and turn in a highlighted or marked-up copy with your name on the top for credit.
If in class, present your main point from the article, using words more than pictures.
Tomorrow, If in class, show and tell your 'Create' project.
Signup so far for show and tell is: Jackson, Jonah, Munchie, Jay, Maggie, Michaela, Cody, Lily, Sandor, Nat . By the end of the week will be done with Code.org Stage 3 and will take the Stage quiz.
Monday, May 15, 2017
Today: We worked on code.org stage 3-8. You should finish all parts of Stage 3 this week because Friday we have a Code.org Quiz covering Stage 3.
This week: (1) show and tell our CREATE projects from last month (2) give away the CS50 pen (3) Finish Code.org. (4) Learn GIT reversion control by writing a collaborative story. (5) Quiz on Code.org Stage 3 this Friday
(What's Due When.)
Wednesday, May 10, 2017
We tried out Coding Bat and then emailed our coding goals for the
next 48 hours. (What's Due When.)
Tuesday, May 9, 2017
We watched the current episode of CS50TV: Insecurity (15 minutes). There is no assignment or notes to turn in for this.
Help for Python beginners is at our sidebar link Python Resources.
Monday, May 8, 2017
For points: just email me by tomorrow after school, a single sentence saying how many CODINGBAT python problems you will try to solve by Thursday 11:59pm. This will be your personal goal. Thursday we can report by the honor system how many we solved. We are learning Python so we can solve a group project next week.
We watched an extra good Tower TV.
Friday, May 5, 2017
CodingBat challenges for learning Python.
Thursday, May 4, 2017
Hey, there are sample exam questions starting on page 84 of this.
Also, tons of flashcards from other schools doing APCSP are here:
one
two
filetypes
more
After the test:
Using Python to write a lexical analyzer for Ms. Potter
Zuckerberg lectures CS50 in 2005. Start around 8:00? 13:00 starts less technical.
Due Sunday, April 30, 2017 (11:59)
Code.Org Lessons 5, 6, 7 in Stage 3.
Due Sunday, April 30, 2017 (11:59)
Five parts from the Create Task + Explore Task
Submitted to your portfolio page at College Board.
Tuesday, April 18, 2017
Click here for instructions to bubble in the AP pack (Nat, Eli, Jackson, Trevor, Jay only)
Wednesday, April 4, 2017
Click tosdr.org to see ratings of User Agreements for various web sites.
We watched 'Terms and Conditions May Apply'
Wednesday, March 22, 2017
No homework.
We carefully discussed how to answer THIS QUESTION on the AP Create Project.
You should be working at home on your Create project. . .
Monday, March 20, 2017
Today we rewrote the rubric in our own words (for the 14 day 'Create' project).
Links for finding typical things students do for projects: Due today: Monday reading assignment notes.
Homework tonight: extend this list (started in class) to ten lines at least (for the list of brainstorming ideas for your final Create project).
Thursday, March 16, 2017
Use these two sites: codeStage4Lesson6 and howsecure?
To solve these two sets of worksheet questions (due Friday in class): vigenere and passwords
Wednesday, March 15, 2017 Links for today:
Monday + Tuesday, March 13-14, 2017
By Thursday at 11:59 you are making what is called in business-speak a 'One Pager' that describes to someone, like a boss, or your family, one new innovation in interpreting big data. We saw one example in class where a computer scientist built software that analyzed NBA
An example is here.
The instructions are here.
Thursday, March 9, 2017
Homework: at this link take notes onto our normal reading notes paper. And on the back, make your usual four questions for a quiz.
Wednesday March 8, 2017
Watch the Flu Video (2 min)
Go to our blog and report on the article you signed up for during class. If absent, choose any one article there.
Friday, March 3, 2017
1. Circle up with another pod and share out your video
2. Create an abstraction of one person's video into verbs and nouns (and...?).
3. Encode it and share with the class.
Thursday , March 2, 2017
We took a complex event and tried to encode it into 1's and 0's. Our complex events were all things that we found on youtube. Tomorrow we will circle up, choose the best event, recode it, and share out up front.
Homework tonight is a worksheet of rapid research on types of lossy/lossless encoding .
Our next written test is ten multiple choice questions this Monday, March 6.
Wednesday, March 1, 2017
If you didn't finish the assignment below, it is to be finished as homework tonight.
Also, remember to register for the final exam (see above).
Topic: Making color pixels with 1001010101111. Unit 2, Stage 4 at Code.org.
Start by taking notes during this video.
Then solve the puzzles and answer the questions at code.org.
Here are five definitions to study & understand before our next test.
Monday, February 25, 2017
1) Finish Unit 2, Stage 3 at Code.org, answer the questions that are on each computer screen of the Stage 3.
2) And email me this word doc, after you paste in YOUR low-resolution image and code.
Warmup: Tell an important story with code + data: slave ships example
Today's topic: Making B&W pixels with 1001010101111. Unit 2, Stage 3 at Code.org.
Solve the puzzles and answer the questions at code.org.
After you solve Puzzle 4, fill in this... Word.doc.
Before you solve Puzzle 4, Choose a B&W image from here: One or Two
- CREATE: The 'Mr Genest Project' mentioned in tonight's homework: LINK.
- CREATE: Create simulators that test big problems like Monty Hall or apply brute force and simulations
- CREATE: Dictionaries and madlibs.
- CREATE: A video game, blockdude.c in the cs50 terminal! It uses the ncurses library.
- CREATE: MIT App Inventor makes apps you can put onto an Android OS phone today. First app takes one hour to build.
- CREATE: Invent With Python book.
- World's Biggest Data Breaches Visualization - Web Site
- Data Privacy Lab - Web Site
- Activity Guide - Research Yourself (PDF | DOCX)
- Code Studio Unit 4 - Identifying People with Data
..
Friday, February 24, 2017
Homework: In your code.org account, level 2, stage 2, finish the 4, 5, 6, 7 on Data Compression at your code.org page (click for clarification)
Compression challenge: I will give 6 pts extra credit in the readings category to the top compression score per song here.
Topic: Compressing data files. Unit 2, Stage 2 at Code.org.
Vocabulary: Lossless compression.
Vocabulary: Heuristics.
Examples of heuristics from Computers and from Writing
Choose your two best reading questions. Then we will take notes during this video.
Then solve the puzzles and answer the questions at code.org Unit 2, Stage 2. Submit your answers in class or as homework.
February 22, 2017
We began Unit 7 Today. This is a code.org curriculum, like we did in September. Recall: code.org has written tests with their curriculum, so save and memorize the daily definitions, notes, and vocabulary. At the end of class we watched some of this excellent video from the Black Student Union. Homework due Thursday: (1) Finish Bytes & File Sizes if you didn't in class. (2) Do your weekly reading notes sheet that was originally due Feb 20.
Feb 13 to Feb 21, M, T, W, R, F, M, T, 2017
We are making our EXPLORE task.
1. Learn everything you can about a computing innovation that is new (it must be from this year or last year).
2. Make a short report that answers the required questions.
3. Make a sort of artwork, mostly nontextual, that conveys purpose/function/effect of the innovation. Filetype: mp3, mp4, wmv, avi, mov, wav, aif, or pdf. (Less than 1 minute and less than 30megabyte.)
4. Submit the two files to AP College Board in Princeton NJ by March 5. (We don't have a submittal portal yet.)
Tuesday Feb 21, 2017
We looked at a short clip from a javascript convention and announced the call for student videos for code.org (incentives: t-shirts and a bit of fame possible). Explore reports and artwork are due tonight. We looked at JohnBrown's self-imposed art challenge "100 days of CSS art".
Tuesday - Friday, February 7 - 10, 2017
Team name generator.
We will work for the rest of this week on
Whodunnit ,
Re-size , and
Every Little Bit
Here (pdf) is an overview of our Whodunnit scrum this week.
Monday, February 6, 2015
In pairs program the SECOND 1, 2 (structs) from here.
Wednesday, February 1, 2017
Get the file bike into your cs50.io terminal and type unzip bike.
We made a .csv file describing a list of people.
Then we made program in C that could read that file and output sentences about the people.
Volunteers will show and tell our C programs Thursday morning in class. You don't have to email them to me, just finish it for pride and practice.
Tuesday, January 31, 2017
We shared our sorting race results.
The week ahead...Tuesday - File input/output. Wednesday - File input/output. Thursday - Structs. Monday- putting it all together to read a .tiff file. Next week, in groups - our last week of C for awhile: open a corrupted file and uncorrupt it. Open a TIFF of pixels and change them, pixel by pixel.
Monday, January 30, 2017
We arrived in class with our sorting routines working.
It is a long Monday schedule so we had enough time to signup for
screencast-o-matic and make a video of our program running, similar to this.
Friday, January 27, 2017
We are in Day 3 of a 4 day Agile/Scrum project called "Racing Sorts"
We had a stand up meeting where each team member spoke for 90 seconds.
Thursday, January 26, 2017
We are in Day 2 of a 4 day project called "Racing Sorts"
We started keeping track of our work flow with a scrum board.
For now, our scrum boards look like this.
Wednesday, January 25, 2017
...was a snow day.
Tuesday, January 24, 2017
Your assignment is here, due Monday at midnight.
We took notes on the first five minutes of Intro to Scrum.
My notes are here if you find them helpful.
Monday January 23, 2017
Today (and every Monday until the exam in May) we have a reading assignment due.
[January 12 through January 20] Final Exams Project
You have no final exam. Instead, finish the project fifteen.c
Wednesday, January 4, 2016
Welcome back. Download rngJN.c from here for doing Pt I and II of the Obama sheet.
We did the Obama sheet ( a review of some Linux tools backed by a warmup for caesar.c. Caesar.c is due Friday at midnight).
Wednesday, December 21, 2016
We have vacation homework here.due Thursday, December 29th and Thursday January 5th at 11:59pm.
(See the announcement for details.)
For class today, not for homework (don't turn in, just whiteboard), we tried out the following.
Please download looker.c.
Try these commands :
- make looker
- ./looker
- .looker | wc
- ./looker > alpha.txt
- more alpha.txt
Know what each fo the five lines above do for our next assessment.
(Quiz 5 will be the week of finals.)
Tuesday, December 20, 2016
Download kingLear.txt or hamlet.txt.
Re-take part two of the test! Details here.
(For your project in April you may somehow make use of the many interesting free texts, Shakespeare and otherwise, at Project Gutenberg)
Thursday, December 14, 2016
Today we learned more argc and return examples on the Holland Sheet.
Then we had class time to finish our esteem.c
We will have show and tell for esteem.c first thing on Friday in class. It is just for enjoyment, you don't need to submit.
Tuesday, December 13, 2016
Our Quiz 4 is postponed until December 19, 2016.
We watched 'how to add command line arguments' from Doug of CS50 [link here].
We took notes using the Finland sheet.
We have homework due tonight and tomorrow night. See the homework list.
Friday, December 9, 2016
We started initials.c. It is due Tuesday December 13, 11:59pm
Wednesday, December 7, 2016
To review our lesson from today, click here to take notes from the very short (60 second!) string-0, string-1, and string-2. These videos show skills needed for solving the work you have this weekend.
Or at least, understand this Romania sheet of code from the strings videos.
Tuesday, December 6, 2016
We have homework tonight, bank.c.
Friday, December 2, 2016
1) instructions for doing the Excel spreadsheet homework due Monday night.
2) presentations by your groups to show what you made for concentration, version 2.
Thursday, December 1, 2016
We improved our ARRAY skills by solving and whiteboard presentating the Croatia Sheet.
You should self-study ARRAY-HELP here.
Our next Quiz is Dec 10. It will have many questions from the European Sheets.
Homework: be ready to present your group's improved concentration, version 2, as described in the France sheet
Wednesday, November 30, 2016
- here is a clean copy of a working concentration.c [updated again after 1st period to make sure it works]
- Announcement (exciting!!): December 10 (930am - 430 pm) is free lunch at the Central library for 'Girls Who Code'. High school girls from all over Madison will be in a room making programs together. Flyer here.
- Work in class today to make your concentration.c version 2.0.
- Tomorrow, we will have one more day to work on this.
- Friday, teams will stand and give presentations explaining what they made.
- Meet up with your team as homework or after school here. I'm staying until 4:59pm today. Your team can come in and use the laptops at lunch but I am always in and out then; I'm not available for many questions at lunch.
Tuesday, November 29, 2016
High/Low level languages. Link (0:00 - 5:00)
Study today's Norway Notes!
Today and Wednesday we will work in class to create a 2.0 version of concentration.c. We are doing it in teams and can present our awesome results on Thursday in class as a team.
Monday, November 28, 2016
NOTE: WHEN TYPING IN THE CONCENTRATION.C, IT NEEDS #INCLUDE<TIME.H> !! Add that.
Tower TV link(14:00).
Source code/Object code and the compiler Link.
Homework: type in the program on your England Worksheet. Name the program concentration.c
Make sure it compiles okay and is ready to go in class tomorrow.
Tuesday, November 22, 2016
Download hero.c
Due Tuesday November 29 , make hero.c work.
Play with the already-compiled heroSolved if you want to see how your implementation should work.
Instructions on how to store Arrays of Chars: class notes here(revised) or Your Textbook, pages 64, 65 AND pp. 200-202
Monday, November 21, 2016
We learned three ways to store an array of chars.
Homework: by Tuesday at 5pm, write a program that stores three proper nouns. Powerpoint lecture notes here. similar to pages 64, 65 AND pp. 200-202 in your textbook.
Friday, November 18, 2016
Homework is the Artificial Intelligence report and poster. Details here.
Tuesday, Nov 15, 2016
Today's quiz will take > 20 minutes.
It covers the State Sheets: Texas, Florida, Oregon, California, Nevada, Virginia, Maryland, Washington, Idaho, Michigan and the stateless "Part 1: Variable Types in C" .
Homework tonight is to
1) read and highlight the article "Wired for Thought" . Use whatever underlining or highlighting scheme you enjoy. It will be handed in and graded for effort and sincerity.
2) by 11:59 tonight post two questions that nobody else has posted yet at our blog. They should bequestions or wonderings that occurred to you while reading "Wired for Thought".
Monday, Nov14, 2016
wedge.c is a program that is organized into functions and creates a triangle.
Design its function definitions and prototypes. Get classwork points for showing progress by the end of the hour. It will not be checked as homework.
Turn in your Virginia Sheet Homework today in class.
Thursday, Nov 10, 2016
From the Virginia Sheet we did the first three questions in class. Students should do the rest as homework , due Monday at the start of class.
Wednesday, Nov 9, 2016
The Maryland sheet is "Functions, Pt 2"
Download generation.c
Tuesday, Nov 8, 2016
We solved the Washington sheet. "Functions, Pt 1".
Download float.c .
Monday, November 7, 2016
Purpose: What are functions?
We watched the functions part of the CS50 lecture from Harvard (38:00 to 50:00)
On your own, you should reinforce this video by watching one of these more focused versions of the same material:
functions (Doug) or functions (Nate).
With pen and paper we wrote and prototyped a function called snore.
We then tried to type it into our cs50.io and compile it. Code below:
Friday, November 4
Wednesday, November 2, 2016
Updated: Homework due TUESDAY at 11:59pm is ISBN and Mario.
1.On the projector, look at a nested loop & a digit-biter
2.Read ISBN
3.In threes, show a solution on a whiteboard to ISBN
4.Your show and tell of these
Monday, October 31, 2016
Download oneLine.c here.
Homework due Tuesday 11:59 pm: Rewrite oneLine per the instructions in the comments and submit by email, subject of email should start with 'oneLine.c' .
Tower TV should start early, around 9:37.
Thursday, October 27, 2016
(was due Wed Oct 26 11:59pm. Pennies, emailed to me)
due Sunday Oct 30 11:59pm are only two programs Skittles, and Greedy emailed to me.
Three hints for solving Pennies:
Hint #1: Many students are showing an incorrect solution; Pennies doesn't want you to just calculate the payday for the last day of the month, it wants you to add up all the pay days until the end of the month.
money = 0.02 * pow(2, days) will not work.
Hint#2: Put in some print statements for de-bugging, like PRINTF("ON DAY X YOU HAVE Y PENNIES") where X and Y are your amounts of pennies and you put the printf statement inside your for-loop
Hint #3: Try allowing the program to calculate just a day or two. Make a test case table like the one Katherine posted below:
- Purpose: Look at a nested loop for diamond2.c
- notes on this sheet.
- work on homework programs (see above)
Wednesday, November 2, 2016
Updated: Homework due TUESDAY at 11:59pm is ISBN and Mario.
1.On the projector, look at a nested loop & a digit-biter
2.Read ISBN
3.In threes, show a solution on a whiteboard to ISBN
4.Your show and tell of these
Monday, October 31, 2016
Download oneLine.c here.
Homework due Tuesday 11:59 pm: Rewrite oneLine per the instructions in the comments and submit by email, subject of email should start with 'oneLine.c' .
Tower TV should start early, around 9:37.
Thursday, October 27, 2016
(was due Wed Oct 26 11:59pm. Pennies, emailed to me)
due Sunday Oct 30 11:59pm are only two programs Skittles, and Greedy emailed to me.
Three hints for solving Pennies:
Hint #1: Many students are showing an incorrect solution; Pennies doesn't want you to just calculate the payday for the last day of the month, it wants you to add up all the pay days until the end of the month.
money = 0.02 * pow(2, days) will not work.
Hint#2: Put in some print statements for de-bugging, like PRINTF("ON DAY X YOU HAVE Y PENNIES") where X and Y are your amounts of pennies and you put the printf statement inside your for-loop
Hint #3: Try allowing the program to calculate just a day or two. Make a test case table like the one Katherine posted below:
Wednesday, October 26, 2016
Debugging the Gender Gap (2 min video).
Panel discussion at the Madison Public Library yesterday (45 min video, stop at 6)
Working on our homework (skittles, greedy, mario) in class today.
The shortest way to repeatedly prompt for correct input: do-while (video 2 min.).
Tuesday, October 25, 2016
Download loopy.c.
Contest today: in groups of three, make a whiteboard that correctly predicts all the output of loopy.c (above). Prize: two t-shirts and sunglasses from Harvard's CS50!
A paper copy of our handout is the Florida sheet.
More practice with if-else conditionals. Practice with nested loops.
Preview of Debugging the Gender Gap from code.org
Monday, October 24, 2016
Homework due Wednesday -- Get your Pennies program written and make it pass as many check50 tests as possible.
[the code for check50 is different for each assignment. check50 for Pennies is at the bottom of the Pennies spec sheet]. Email it to me by Wednesday midnight with the code pasted into the body of the text of the email.
Friday, October 21, 2016
Thursday, October 20, 2016
Wednesday, October 19, 2016
Tuesday, October 18, 2016
Warmup: adding comments using /* */ or // to any program you already wrote. Come up and share.
How does the electricity on a CPU chip remember the char 'A' ? (video link, 1:00).
Practice variable naming with a worksheet.
Homework for the weekend: write Fahrenheit .
PLEASE BE COMPLETE. I've already had some submissions where the student didn't do the last step of the instructions where it says DO 'CHECK 50'.
Once your code works, and after you do Check50, send the code you wrote by just pasting the lines of code into the text of an email to me by Sunday at 11:59pm.
My address.
Thursday, October 13, 2016
Purpose: What types of variables can C store and print?
What math mistakes does C make?
Today, pairs programming, grab one machine for two people. Every 6 minutes switch.
Check note-taking homework due today.
Homework: Read Chapters 2 through 5 in our textbook: Absolute Beginners C
If you don't have the book yet, read these links: How Stuff Works C .
If time today, try downloading these (missing, twoChars ) to your laptop. Then while inside 'cs50.io' upload them into your october folder.
Tuesday, October 11, 2016
Today, pairs programming, grab one machine for two people. Every 6 minutes switch.
(1) Warmup code analyze. Warmup play with the command line. (2) Variables int, char, string Watch Variables together, taking notes for the hw. (3) Coding in class Basic: With your partner, type in, compile, and run the code from the 'CS50 Variables Reference Sheet '. Hacker: take the program you typed in and change it so it accepts two numbers. Then have it add it square the sum of the two numbers and print it out.
Homework. Tonight take notes in your notebook, to show Mr. Genest in class on Wednesday, but not to hand in. Take notes on the following three videos from Harvard CS50. Altogether, your notes should between half a page or up to a full page of your notebook. You will NOT hand this in; I will stamp your notebook on Wednesday to check you did it.
Homework: At home, (1) sign in to your workspace at Harvard's cs50.io Using our cheat sheet try to type in and then try to compile the program 'hello.c' shown on the cheat sheet.
Then (2) get started reading some of Chapter 2 of our textbook. If your book didn't come yet, read online "Hello World" in C or if you learn better by youtube, try watching this (it will automatically start near the 15th minute. Run it up to minute 30).
Friday, October 7, 2016 Today:
Thursday, October 6, 2016
Wednesday, October 5, 2016
Tuesday, October 4, 2016
Purpose: What do algorithms look like?
At our blog, report how it went. If it didn'twork at all, describe the problems. If it did work, post a link of what you made.
Thursday and Friday in Class we
We saw two videos ( 1, 2 ) about Net Neutrality.
We stood up and described the results of loading web pages into Firefox using Developer Tools -> Network to view the http 'get' requests. Summary of what we found, here.
We spent two days researching a speech we will give on Monday.
Your only homework due Monday is to show up in class with a two minutes speech, typed out and ready to speak.
The requirements for full credit are in the rubric you received Wednesday.
Part of the assignment is to turn in a copy of the speech to me. Either give me a printed copy in class or email the text to me by the start of class on Monday.
Wednesday, September 28, 2016
Homework is the Review Sheet (2 stapled pages) DUE FRIDAY IN CLASS.
Oops, Typo: the third page should say at the top, this:
Debugging the Gender Gap (2 min video).
Panel discussion at the Madison Public Library yesterday (45 min video, stop at 6)
Working on our homework (skittles, greedy, mario) in class today.
The shortest way to repeatedly prompt for correct input: do-while (video 2 min.).
Tuesday, October 25, 2016
Download loopy.c.
Contest today: in groups of three, make a whiteboard that correctly predicts all the output of loopy.c (above). Prize: two t-shirts and sunglasses from Harvard's CS50!
A paper copy of our handout is the Florida sheet.
More practice with if-else conditionals. Practice with nested loops.
Preview of Debugging the Gender Gap from code.org
Monday, October 24, 2016
Homework due Wednesday -- Get your Pennies program written and make it pass as many check50 tests as possible.
[the code for check50 is different for each assignment. check50 for Pennies is at the bottom of the Pennies spec sheet]. Email it to me by Wednesday midnight with the code pasted into the body of the text of the email.
Friday, October 21, 2016
- classwork: solve parts 1 & 2 of the California sheet. (Boolean truth table. Use 'if' statements to check whether a user is eligible to be a US Senator.
- homework: check our blog. due Sunday night
Thursday, October 20, 2016
- Look at the second half of the loops lecture, how to write a for loop and a do while loop. Programming tip: 'do while' is the function you were wishing you had last week when you needed to ask the user something and then re-ask the user if their input was inappropriate.
- In class, implement math calculations and store the answers by solving #5, #6, and #7 from the Oregon sheet.
Wednesday, October 19, 2016
- Show and tell: students showed at the front of the room their implementation of complimenter.c. Their programs greeted us in Finnish, Arabic, etc, with our name and apropos time of day.
- In class we worked on modifying cough.c on the back of the Idaho sheet.
- We looked at the first half of the loops lecture with boolean and, boolean or, and escaped characters to print ( \n, \t, \", and %%, which print out newline, tab, a quote mark, and a percent sign, when placed inside of a printf function).
- With our group, we practiced how to use check50, a type of robot-grader that can grade our homework. We used it to throw test-cases at our fahrenheit.c program.
Tuesday, October 18, 2016
- Check and give answers to Michigan sheet homework.
- See cough-0, cough-1. Lecture: slides here. Control statements (while & do-while). Logical operators.
- Idaho Sheet classwork, with complimenter.c (comment it) (fix two errors to make it work) (extend it) cough.c (comment it) (extend it)
- Paired programming of Pennies.
- Lecture with notes: Learn some special types of math in C. If you remember to put #include<math.h> you can use sqrt() and pow(). We learned C operator precedence and modulus and how to print '%' in a printf statement.
- many of the math functions we saw today are demonstrated in someMath.c
- In pairs, try programming pennies.
- In pairs run check50 on each other's Fahrenheit.
- Homework: Michigan sheet (order of precedence math practice)
- Recommended reading: Pages 1 – 7, 9, and 10 of http://www.howstuffworks.com/c.htm. and Chapters 1 – 5, 9, and 11 – 17 of Absolute Beginner’s Guide to C.
Warmup: adding comments using /* */ or // to any program you already wrote. Come up and share.
How does the electricity on a CPU chip remember the char 'A' ? (video link, 1:00).
Practice variable naming with a worksheet.
Homework for the weekend: write Fahrenheit .
PLEASE BE COMPLETE. I've already had some submissions where the student didn't do the last step of the instructions where it says DO 'CHECK 50'.
Once your code works, and after you do Check50, send the code you wrote by just pasting the lines of code into the text of an email to me by Sunday at 11:59pm.
My address.
Thursday, October 13, 2016
- PBJ robot.
- twoChars.c download this
- Variables lecture notes from class into your notebook.
- Download the missing.c program
- then, from inside the cs50.io, click upload, to upload twoChars.c from your laptop.
- If time, open up 'Fahrenheit' from tomorrow and take a look.
Purpose: What types of variables can C store and print?
What math mistakes does C make?
Today, pairs programming, grab one machine for two people. Every 6 minutes switch.
Check note-taking homework due today.
Homework: Read Chapters 2 through 5 in our textbook: Absolute Beginners C
If you don't have the book yet, read these links: How Stuff Works C .
If time today, try downloading these (missing, twoChars ) to your laptop. Then while inside 'cs50.io' upload them into your october folder.
Tuesday, October 11, 2016
Today, pairs programming, grab one machine for two people. Every 6 minutes switch.
(1) Warmup code analyze. Warmup play with the command line. (2) Variables int, char, string Watch Variables together, taking notes for the hw. (3) Coding in class Basic: With your partner, type in, compile, and run the code from the 'CS50 Variables Reference Sheet '. Hacker: take the program you typed in and change it so it accepts two numbers. Then have it add it square the sum of the two numbers and print it out.
Homework. Tonight take notes in your notebook, to show Mr. Genest in class on Wednesday, but not to hand in. Take notes on the following three videos from Harvard CS50. Altogether, your notes should between half a page or up to a full page of your notebook. You will NOT hand this in; I will stamp your notebook on Wednesday to check you did it.
- Libraries (only watch 0:00 to 2:00)
- Declaring variables. (0:00 to 5:33)
- Compiling a program (0:00 to 7:35)
Homework: At home, (1) sign in to your workspace at Harvard's cs50.io Using our cheat sheet try to type in and then try to compile the program 'hello.c' shown on the cheat sheet.
Then (2) get started reading some of Chapter 2 of our textbook. If your book didn't come yet, read online "Hello World" in C or if you learn better by youtube, try watching this (it will automatically start near the 15th minute. Run it up to minute 30).
Friday, October 7, 2016 Today:
- Take an open notes quiz on the algorithms reading.
- Gallery walk the whiteboarded flowcharts that we made yesterday. Your objective: pinpoint ways that each flowchart falls short of the definition of 'algorithm'. (Algorithms are: Ordered, Unambiguous, Executable, Processes that (usually) Terminate.)
- Group huddle on what the correct answers were to Quiz 2.
- View 10 algorithms that rule the world.
- If you have not already done so, log on to your email. Please respond to the three question survey I sent...
- Log in to the Harvard Linux machine for the first time. Try typing the command 'cal'. Or try saving files with the commands mkdir, ls, cd. If you want to play with this at home, the link is cs50.io
- HOMEWORK, DUE SUNDAY AT MIDNIGHT: Can you try to guess how a big algorithm works? Go here. Choose one algorithm you are interested in. Make a simple flowchart for how you IMAGINE it might work (this is just your best guess). You should spend 20 minutes on this. Not more or less. Three turn in options:
- Full credit if you turn it in on Monday on paper.
- One point extra credit if you scan/photo it to my email by Sunday midnight OR
- Three points extra credit if you hashtag it #cs50ap at Twitter.
Thursday, October 6, 2016
- We learned the four symbols for drawing a flowchart.
- We learned the five elements that most algorithms have.
- We translated last night's homework algorithms to flowcharts on dryboards.
- We took notes on an algorithm video(7 min) from the founder of OK Cupid.
Wednesday, October 5, 2016
- We took notes. You should know how efficient the following two algorithms are: Binary Search Algorithm and Sequential Search Algorithm. For a refresher, watch from 16 to 29 minutes of CS50 at Harvard. Link.
- We brainstormed something we do when we do when we get home and decided whether it was an algorithm.
- Homework tonight is at our class blog. NOTE: YOU DO NOT NEED TO USE 'PRIMITIVES' IF YOU DON'T KNOW WHAT PRIMITIVES ARE. Also, if the blog is ever buggy, email me your answer for full credit.
- Yesterday we took Quiz 2.
- Some remixes from our class, using Scratch, were made last night: Nathaniel, Lilah, Maggie, Michaela, Sandor,
Tuesday, October 4, 2016
Purpose: What do algorithms look like?
- log in to code.org.
- take Quiz 2 at 9:17AM when I unlock it.
- After you finish, go online and find two definitions of 'algorithm'. Copy them both to your class notes. At least one must be from an edu site. To limit Google hits to a edu site, search like this: "site:edu algorithm definition"
- Go make a free account at Edx.org for the course cs50. Make an account with a password. Log out. We will use EdX this Friday.
- Go to scratch.mit.edu. Make a free account.
- Please take the survey at our blog that says 'October 2'. It just asks what your names are at the two accounts you set up.
- At Scratch, go to Explore. Open some of the projects. Post the link to one project you find interesting at our class blog.
- Discussion: As a class, we will try to connect your definition of algorithm to the projects you found.
- You have homework tonight.
At our blog, report how it went. If it didn'twork at all, describe the problems. If it did work, post a link of what you made.
Thursday and Friday in Class we
We saw two videos ( 1, 2 ) about Net Neutrality.
We stood up and described the results of loading web pages into Firefox using Developer Tools -> Network to view the http 'get' requests. Summary of what we found, here.
We spent two days researching a speech we will give on Monday.
Your only homework due Monday is to show up in class with a two minutes speech, typed out and ready to speak.
The requirements for full credit are in the rubric you received Wednesday.
Part of the assignment is to turn in a copy of the speech to me. Either give me a printed copy in class or email the text to me by the start of class on Monday.
Wednesday, September 28, 2016
Homework is the Review Sheet (2 stapled pages) DUE FRIDAY IN CLASS.
Oops, Typo: the third page should say at the top, this:
Tuesday, September 27, 2016
We learned the highest 'layer' of the Internet page request, http.
We took notes on a video. (Click to watch again.)
We have no homework tonight.
Monday, September 26, 2016
Homework: Go to Code.org and answer the reflection questions for Stage 12, Questions 4, 5, 6, 7.
We watched Tower TV [link here]
Our next Quiz is Tuesday October 4.
Our 2 minute speeches will be given October 3.
We simulated a DNS in class. Mr Genest kept giving different addresses (changing 39.30 to 78.19 for example). This simulates the ever-changing list of real-world IP addresses and the need for the DNS to be constantly updating. The DNS exists physically over a wide range of machines.
Friday, September 23, 2016
We took notes on this video, The Internet: Packets, Routing, and Reliability.
Homework due Sunday at 11:59pm is to read and respond our blog to Blown to Bits.
Thursday, September 22, 2016
What we (in this room) know about how the Internet works.
Homework tonight answer the questions at code.org for stage 10 by midnight.
Wednesday, September 21, 2016
We jotted a couple notes while watching The Internet is for Everyone. Be able to answer the question 'Who Controls the Internet?'
We took a few more notes during lecture.
We played battleship in trios, first on paper, then silently, sending messages with binary.
Homework tonight, by midnight: at code.org, Stage 9 answer questions 4, 5, 6, 7, & 8
Tuesday, September 20, 2016
In class we read Vint Cerf's warning from 2002, "The Internet is for Everyone".
Your homework tonight is to write your reaction to this reading and post it at our class blog.
Monday, September 19, 2016
We did a sheet to practice converting number systems & abstraction.
We took Quiz 1.
Weekend
The homework due Sunday night is at OUR BLOG. Follow the instructions there.
Our quiz on Monday is 12 questions.
It includes one question from last Tuesday's video, the one you took notes while watching.
Friday, September 16, 2016
Edward Snowden on video: Citizen4 trailer + OliverStone's Snowden (opens 9/16) + TED Talk
Today's lesson (pptx).
1) We watched just the first video link above.
2) We read and marked-up editorials from The National Review and The New York Times (some read the former, some the latter)
3) We stood on opposite sides of the room and supported or criticized Snowden, supporting our opinion with evidence.
4) We practiced twice how to encrypt and decrypt a secret message using public key - private key encryption:
(a) graphic version on photocopied paper and
(b) Large Prime Number Simulator. on laptops.
5) We finished the period by writing paragraphs using the following two stems.
"Edward Snowden is ..." (use evidence from readings, Wikipedia, or things you learned today)
and
"How public key encryption works..."
For further info on Public Key Encryption:
(nice layman's explanation of P.K.E. by Panayotis Vryonis )
(long, somewhat technical Wikipedia article)
(experts only: hash value explanation at Microsoft)
We learned the highest 'layer' of the Internet page request, http.
We took notes on a video. (Click to watch again.)
We have no homework tonight.
Monday, September 26, 2016
Homework: Go to Code.org and answer the reflection questions for Stage 12, Questions 4, 5, 6, 7.
We watched Tower TV [link here]
Our next Quiz is Tuesday October 4.
Our 2 minute speeches will be given October 3.
We simulated a DNS in class. Mr Genest kept giving different addresses (changing 39.30 to 78.19 for example). This simulates the ever-changing list of real-world IP addresses and the need for the DNS to be constantly updating. The DNS exists physically over a wide range of machines.
Friday, September 23, 2016
We took notes on this video, The Internet: Packets, Routing, and Reliability.
Homework due Sunday at 11:59pm is to read and respond our blog to Blown to Bits.
Thursday, September 22, 2016
What we (in this room) know about how the Internet works.
Homework tonight answer the questions at code.org for stage 10 by midnight.
Wednesday, September 21, 2016
We jotted a couple notes while watching The Internet is for Everyone. Be able to answer the question 'Who Controls the Internet?'
We took a few more notes during lecture.
We played battleship in trios, first on paper, then silently, sending messages with binary.
Homework tonight, by midnight: at code.org, Stage 9 answer questions 4, 5, 6, 7, & 8
Tuesday, September 20, 2016
In class we read Vint Cerf's warning from 2002, "The Internet is for Everyone".
Your homework tonight is to write your reaction to this reading and post it at our class blog.
Monday, September 19, 2016
We did a sheet to practice converting number systems & abstraction.
We took Quiz 1.
Weekend
The homework due Sunday night is at OUR BLOG. Follow the instructions there.
Our quiz on Monday is 12 questions.
It includes one question from last Tuesday's video, the one you took notes while watching.
Friday, September 16, 2016
Edward Snowden on video: Citizen4 trailer + OliverStone's Snowden (opens 9/16) + TED Talk
Today's lesson (pptx).
1) We watched just the first video link above.
2) We read and marked-up editorials from The National Review and The New York Times (some read the former, some the latter)
3) We stood on opposite sides of the room and supported or criticized Snowden, supporting our opinion with evidence.
4) We practiced twice how to encrypt and decrypt a secret message using public key - private key encryption:
(a) graphic version on photocopied paper and
(b) Large Prime Number Simulator. on laptops.
5) We finished the period by writing paragraphs using the following two stems.
"Edward Snowden is ..." (use evidence from readings, Wikipedia, or things you learned today)
and
"How public key encryption works..."
For further info on Public Key Encryption:
(nice layman's explanation of P.K.E. by Panayotis Vryonis )
(long, somewhat technical Wikipedia article)
(experts only: hash value explanation at Microsoft)
Thursday, September 15, 2016
Answers to Decimal-Binary Practice worksheet.
Note: this website name is changing to http://cgenest.weebly.com after 11:59pm Sunday.
Announcement: Cash Scholarships! A trip to New York (I think). High School girls will be "chosen for their demonstrated interest and achievements in computing" by the NCWIT. Click here to see the application. If you have time you should really apply, even if you don't feel like a computing genius. It will put your name out there and a variety of organizations will probably start mailing you interesting offers.
Today we reviewed number converting, showing how to go decimal -> hexadecimal and hexadecimal -> binary. The whole point of even using hexadecimal is it is a human readable way to read what the computer is reading. The computer says "00110 11010 10010" (unwieldy for humans to read) and we rewrite it as "6CA" in hexadecimal because that is easier for us to read.
Also today we finished Stage 7: Sending Formatted Text; Lesson 1-7
Homework tonight is online: go to click on Stage 7 and answer the yellow circled parts from today's activity (see below):
Answers to Decimal-Binary Practice worksheet.
Note: this website name is changing to http://cgenest.weebly.com after 11:59pm Sunday.
Announcement: Cash Scholarships! A trip to New York (I think). High School girls will be "chosen for their demonstrated interest and achievements in computing" by the NCWIT. Click here to see the application. If you have time you should really apply, even if you don't feel like a computing genius. It will put your name out there and a variety of organizations will probably start mailing you interesting offers.
Today we reviewed number converting, showing how to go decimal -> hexadecimal and hexadecimal -> binary. The whole point of even using hexadecimal is it is a human readable way to read what the computer is reading. The computer says "00110 11010 10010" (unwieldy for humans to read) and we rewrite it as "6CA" in hexadecimal because that is easier for us to read.
Also today we finished Stage 7: Sending Formatted Text; Lesson 1-7
Homework tonight is online: go to click on Stage 7 and answer the yellow circled parts from today's activity (see below):
Looking ahead, you have a sort of long homework due Sunday night. Click to blog to see it.
Announcement: Does your family have an old, crashed, virused, barely usable computer? Get it working again! I can show you how to resurrect your old machine to run Linux. For computer programming, Linux is better than Windows anyway. All you need to bring me is a flash-drive (key drive, pen drive, jump drive...).
Wednesday, September 14, 2016
Note: this website name is changing to http://cgenest.weebly.com after 11:59pm Sunday.
Today we started Stage 7: Sending Formatted Text; Lesson 1-7
You have no homework tonight.
Click here to see the ASCII table. [You will not need to memorize this. You will always have one available on tests.]
Tuesday, September 13, 2016
Homework to do Tuesday night: Read pages 5 - 13 of Blown to Bits (click here to read online for free). In your classnotes, for me to see, but not to be torn out or handed in, your homework is to write one thing that YOU find interesting per koan (in the reading you will discover the koans).
Monday, September 12, 2016
Today's notes are here.1.6-monday_binary_notes.pdf
Click here for a tutorial about how to convert decimal to binary. (Know this for our quiz this Monday.)
Homework to do tonight: finish the binary conversions worksheet.
Do the Survey if you haven't yet (8 people haven't done it still).
Friday, September 9, 2016
We watched The Internet: Wires, Cables, & WiFi and took notes from it.
Our first quiz is September 16 (Friday).
Tuesday, September 6, 2016
We went to CODE.ORG and created a student account.
We gave out the syllabus.
We saw "Computer Science is Changing Everything".
We checked Twitter HW due today.
Monday, September 5, 2016
No school. Happy Labor Day.
September 2, 2016
First day of class. Welcome!
We attempted to solve puzzles from Harvard's CS50 Puzzle Day. (We were 0 for 3).
We mentioned that a person wishing to send a yes or no signal to a friend could use a variety of methods.
One student suggested that smoke signals would work too. An example from history was described: spouses in Mineral Point Wisconsin would shake a rag when lunch was ready, signaling miners working nearby, lending the name Shake Rag Row to today's map of Mineral Point.
Your homework: get an account at www.twitter.com (free). Draw a cartoon showing an odd, creative way to send a YES OR NO signal to someone located some distance away from you. Put the cartoon up on twitter with the hashtag #eastcsp.
Alternate assignment is be the first to solve any one of the puzzles. either way, hashtag it #eastcsp. On Tuesday I will ask for what your twitter handles are.
Remember: no school on Monday.
Technically, the URL of this website is just 199.34.228.53 . Want to turn any web URL into numbers? Get resolved URLs for any site using http://www.webyield.net/ip/index.php
Announcement: Does your family have an old, crashed, virused, barely usable computer? Get it working again! I can show you how to resurrect your old machine to run Linux. For computer programming, Linux is better than Windows anyway. All you need to bring me is a flash-drive (key drive, pen drive, jump drive...).
Wednesday, September 14, 2016
Note: this website name is changing to http://cgenest.weebly.com after 11:59pm Sunday.
Today we started Stage 7: Sending Formatted Text; Lesson 1-7
You have no homework tonight.
Click here to see the ASCII table. [You will not need to memorize this. You will always have one available on tests.]
Tuesday, September 13, 2016
Homework to do Tuesday night: Read pages 5 - 13 of Blown to Bits (click here to read online for free). In your classnotes, for me to see, but not to be torn out or handed in, your homework is to write one thing that YOU find interesting per koan (in the reading you will discover the koans).
Monday, September 12, 2016
Today's notes are here.1.6-monday_binary_notes.pdf
Click here for a tutorial about how to convert decimal to binary. (Know this for our quiz this Monday.)
Homework to do tonight: finish the binary conversions worksheet.
Do the Survey if you haven't yet (8 people haven't done it still).
Friday, September 9, 2016
We watched The Internet: Wires, Cables, & WiFi and took notes from it.
Our first quiz is September 16 (Friday).
Tuesday, September 6, 2016
We went to CODE.ORG and created a student account.
We gave out the syllabus.
We saw "Computer Science is Changing Everything".
We checked Twitter HW due today.
Monday, September 5, 2016
No school. Happy Labor Day.
September 2, 2016
First day of class. Welcome!
We attempted to solve puzzles from Harvard's CS50 Puzzle Day. (We were 0 for 3).
We mentioned that a person wishing to send a yes or no signal to a friend could use a variety of methods.
One student suggested that smoke signals would work too. An example from history was described: spouses in Mineral Point Wisconsin would shake a rag when lunch was ready, signaling miners working nearby, lending the name Shake Rag Row to today's map of Mineral Point.
Your homework: get an account at www.twitter.com (free). Draw a cartoon showing an odd, creative way to send a YES OR NO signal to someone located some distance away from you. Put the cartoon up on twitter with the hashtag #eastcsp.
Alternate assignment is be the first to solve any one of the puzzles. either way, hashtag it #eastcsp. On Tuesday I will ask for what your twitter handles are.
Remember: no school on Monday.
Technically, the URL of this website is just 199.34.228.53 . Want to turn any web URL into numbers? Get resolved URLs for any site using http://www.webyield.net/ip/index.php