Advanced CS_Programming - Assignments

 

 

week 21: June 19 - June 21

  • Complete: End of Term Assessment

 

week 20: June 12 - June 16

 

 

week 19: jun 5- 9

 

week 18: May 30 - Jun 2

week 17: May 22 - May 26

 

week 16: May 15 - May 19

 

week 15: May 8 - May 12

  • ViewThe Internet - IP Addresses and DNS
    - answer these questions in a blog post: 
    1. What is a protocol?
    2. What is an IP Address and how is it organized (heirarchy)?
    3. What is the difference between IPV4 and IPV6? Why do we need IPv6?
    4. What is the difference between an IP Packet and an IP Address? 
    5. Explain the purpose of the DNS (Domain Name System)
    6. What is your current IP Address?
  • Complete: Evens
    - I added this as a practice on how to break out a big number one digit at a time from left to right... it will be helpful for ISBN
  • Complete: ISBN_Prep
  • Begin/Continue: ISBN
  • Complete: Loop_Nested demo
  • Begin: Mario

week 14: MAY 1 - MAY 5

week 13 - Apr 24 - Apr 28

  • Complete: Greedy
    - this one will need both style50 and check50 run successfully
    - complete it once using print statement to be sure coins are right
    - then make a copy and modify so it only prints coins and passes check50
  • Complete: Evens
  • Begin: ISBN

 

week 12 - Spring Break

 

week 11: Apr 10 - Apr 13

  • Discuss: Apple Fail
  • Complete: Buggy Practice
  • Complete: float_demo practice
  • Complete: Greedy
    - this one will need both style50 and check50 run successfully
    - complete it once using print statement to be sure coins are right
    - then make a copy and modify so it only prints coins and passes check50
  • Reference Sheet: Loops

Constants
- a fixed value that cannot be altered during the programs execution

for example in Greedy I used constants to set the values for my coins at the beginning of the program - if you are defining a constant it goes BEFORE the int main(void) statement - they are also written with all UPPERCASE letters

// money value constants
#define QUARTER 25
#define DIME 10
#define NICKEL 5

++ vs --
- Unary Operator: takes only one value for its operation. The plus operator (++) increments a given value by one. For instance, to increment the variable x by 1, you could express this as: x++
The opposite is the minus operator (--) which decreases a given value by one. To decrement the variable x by 1, you could use: x--

Assignment Operators - remember that we have links to reference sheets for these in the resources and assigments pages...

coin_count += A
       is the same as typing out
            coin_count = coin_count + A

week 10: Apr 3 - Apr 7

 

 

week 9: Mar 27 - Mar 31

week 8: Mar 20 - Mar 24

week 7: Mar 13 - Mar 17

  • MakerSpace - LittleBits Arduino
  • Share: Everyday Algorithms blog posts
  • View: What is an Algorithm?
  • Complete: Hello
    - read all the way though the directions and be sure to comlete the check50 and style50 sections that are described toward the end of the document
  • Read: Why C?
  • Reference Sheet : Syntax Sheet (hello.c)
  • View: Vipul's Variables Lesson
  • Reference Sheet: Variables
    - look at the small program included in this sheet - go ahead and create this program and call it simple_int.c - test it out a few times - what happens if you try to type in a letter? What about a decimal? A negative number? As always, run style50 on your final version.
  • Complete: hello_2
  • Complete: Escape Sequence Assignment

 

week 6: Mar 6 - Mar 10

 

week 5: Feb 27 - Mar 3

  • Introduction: Numbering Systems (binary, hexadecimal)
  • Complete: Bytes and File Sizes Rapid Research sheets
  • Complete: Hello
  • Review: Computer Hardware
  • Complete: MIT App Inventor Tutorials
    -Talk to Me
    - Ball Bounce
    - Digital Doodle
    - Hello Purr
    - 8 Ball
    - Mole Mash
    - Paint Pot

week 4: Winter Break

 

week 3: feb 13 - Feb 17

  • (due by start of class on Fri Feb 17)
    Classwork/Homework
    : "What computing innovation has had the most impact on your life?
    - discuss in small groups
    - homework: ask the same questions of someone much older than you (parent, grandparent, etc)
    - blog post: compare and contrast the two innovations
    para 1: summarize your innovation - pro/con/why you chose it
    para 2: summarize innovation of your person - pro/con/why they chose it
    para 3: compare the two innovations

  • Scratch: Play each others games - leave a comment on each blog
  • Continue: Visit Makerspace - Logic Gates exercises
  • Complete: MIT App Inventor Tutorials
    -Talk to Me
    - Ball Bounce
    - Digital Doodle
    - Hello Purr
    - 8 Ball
    - Mole Mash
    - Paint Pot
  • Complete: NSA Day of Cyber (we will do this in class)
    -https://prod.lifejourney.us
    - class code: rgh0uc5

Week 2: Feb 6 - Feb 10

  • Share: Blog Posts regarding Computers around the house
  • Complete: Scratch Project 1 - should be on blog ready to play for Tue Feb 14
    - when complete you can embed the html code on your blog post
  • Setup: MIT App Inventor account
  • Complete: MIT App Inventor Tutorials
    -Talk to Me
    - Ball Bounce
    - Digital Doodle
    - Hello Purr
    - 8 Ball
    - Mole Mash
    - Paint Pot
  • Introduction: Numbering Systems
  • Review: Computer Hardware

 

Week 1: Jan 30 - Feb 3

a computer is…
a device that accepts data or input and processes it in some way to automatically produce a result

com•pute (v.) – [1] to calculate or reckon (a figure or amount)

com•pute (v.) – [2] to use a computer or calculator

cal•cu•late (v.) – [1] to determine by reasoning, experience or common sense

    • Discuss: Class Expectations & Course Overview
    • Review: Work Rubric
    • Review: Academic Honesty Policy
    • Set up a Google folder for this class and share it with me at: mkelly@sandwich.k12.ma.us
      - Give the folder your name and subject...
    • Discuss: Email Etiquette
    • Send me an Email
      -
      Go to your GMail and send me an email with your class block, subject, and name
      - Send it to mkelly@sandwich.k12.ma.us
    • Set up CS Technology Blog
      - go to blogger.com and set up a blog for this class
      * if you would prefer to use another blogging site (wordpress, weebly, etc) that is also fine
      - send me a link to your blog
    • Class Discussion: What is a computer and what is computing?
    • Homework - Blog Post
      - Writing 0.0 Around the House
    • Set up: a Scratch Account
    • View & Complete: Scratch Practice and Demo Assignments
      - watch each video and duplicate the examples - save the practice files in your scratch account
    • Begin: Scratch Project 1
      - when complete you go to the Embed button on the Scratch home page for your project
      - then choose the link and post it as a hyperlink on your blog