Week 3

This week we will begin to “remix” existing code. The project you will work on is called “Binary Bulbs”. You are to take partially implemented code, which simulates representing a byte of data as 8 light  bulbs, or binary digits, and add code to calculate whether or not the player of this game correctly identified a decimal number in binary.

Please note that this particular project is not to be done in groups, and not to be shared.

The assignment can be found here: Problem 1-1 Binary Bulbs.

On Friday, we will be finished (or almost finished) with Binary Bulbs, and begin working in an Interactive Development Environment IDE especially tailored for CS50. In Problem 1-2,  you will see instructions on setting up your CS50 IDE and writing your first program in C!

If you finish Problem 1-2, feel free to move onto Problem 1-3.

Week 2

This week we are well underway working on our first programming problem 1-0. Your mission is to have fun with Scratch and implement a project of your choice. This could be a game, an animation, interactive art, or anything else of your choice! The only requirements are:

  • Your project must have at least two sprites, at least one of which must resemble something other than a cat.
  • Your project must have at least three scripts total (i.e., not necessarily three per sprite).
  • Your project must use at least one condition, one loop, and one variable.
  • Your project must use at least one sound.
  • Your project should be more complex than some basic examples, but it can be less complex than, say, Pikachu’s Pastry Catch andIvy’s Hardest Game. As such, your project should probably use at least a few dozen puzzle pieces overall.

You may work in teams of 2, however if you do, your project has to be at least twice as complex. In other words contain at a minimum double of everything listed above.

If you have questions on how to use Scratch, watch the videos that are linked to this assignment. Particularly Zamayla’s walkthrough. When in class there are links to Alison and Zamayla’s videos in orange text, above the rectangle where the YouTube video would be. At home the YouTube videos should appear properly.

Here are links to the two programs we looked at in class. You can use this to help you code your projects.

The final project will be due at the end of day on Monday, September 28th, at 10 pm. You will have time during class this week and of course as much time as you want working at home. We will not be working on this during class next Monday. Make sure you are logged into your Scratch account at all times so you can continue to access your project wherever you are.

Once finished with your project, click See project page in Scratch’s top-right corner. Ensure your project has a title (in Scratch’s top-left corner), some instructions (in Scratch’s top-right corner), and some notes and/or credits (in Scratch’s bottom-right corner). Then click Share in Scratch’s top-right corner so that others (e.g., Ms. Tanzosh) can see your project. Finally, take note of the URL in your browser’s address bar. That’s your project’s URL on MIT’s website, and you’ll need to know it later.

Then email the URL to cs50xnestm@gmail.com to submit to Ms. Tanzosh. Make sure to include “Assignment 1-0” along with your name (or names) and your period number in the email.

If you’d like to exhibit your project in CS50 AP 1516’s studio with students from around the country taking CS50 AP alongside you, head to https://scratch.mit.edu/studios/1493564/, then click Add projects, and paste in your own project’s URL.

You can find the details of the assignment here:

Assignment 1-0

Week 1

This week we will begin to analyze the algorithmic process of everyday activities, experiment with your peer’s algorithms and possibly even begin coding in Scratch!

Some new terminology this week includes:

Algorithms: sets of instructions to solve particular problems, taking inputs and producing outputs that are hopefully correct, but also efficient.

Pseudocode: a detailed description of a solution to a problem, or algorithm, that is structured in a similar way to code, but is written in English.

Our next assignment will involve writing descriptions of everyday algorithms as well as translating these into pseudocode, and is due on Friday 9/18 at 10 pm. Please write this up in a google doc, include your name, assignment 0-1, and your period number in the title of your document, then share with me at cs50xnestm.gmail.com. Don’t forget to include commenting privileges!

Assignment 0-1

Due to many students changing programs, I am extending the deadline for problem set 0-0 until Wednesday evening (9/16) at 10:00 pm.

Assignment 0-0

You can learn more about week 0 here.

Week 0

Welcome to week 0 of Computer Science! We will be using a new curriculum called CS50 which was developed by Harvard University! CS50 is the most popular class at Harvard with over 800 students signing up each year. The curriculum we will be using has been tailored specifically for high school students.

Before we get started, I would like to get to know you a little better! Please complete the survey at the link below:

Intro Survey

Your first assignment is due by Sunday, September 13th at 10 pm. You will be reading through some materials and writing responses to several questions. Your written responses must be done as as google doc and shared with me, on or before this date/time, at cs50xnestm@gmail.com.

You will notice our first unit is named unit 0 and your first assignment is named assignment 0, since, as you will soon learn, computers start their numbering with 0 rather than 1.

Please visit the link below to complete your first assignment:

Assignment 0-0

I look forward to reading through your responses!