Arlington Tech

Arlington Tech

AP Computer Science Principles


Overview

This week will be introduced to the last of the data types on which we will focus during our course, functions and images.

Friday, October 14th

After five minutes going over the three questions that follow, three minutes introducing a web application to schedule before school and Archer period help, and three minutes for Grant to show us his turle program, we will share our presentations of Chapter 6: Computers can Name Anything.

Classwork

Let's start with the following questions:

  1. How does the Internet work with the different equipment in use?
    1. The routers adjust for the different equipment manufacturers by sending data on the same equipment brands.
    2. Specific companies are approved to make equipment for the Internet.
    3. Vendors follow the protocols established to enable data to be sent and received across any equipment.
    4. The server farms handle the data once the data reach the Regional ISP (Internet Service Provider).
  2. How is the Internet scalable?
    1. Through the ability for additional networks and routers to be added without impacting service
    2. Through the ability to add longer public keys to keep data secure
    3. Through the ability to add additional authentication for users
    4. Through the ability to add additional bandwidth to requests
  3. What is the definition of bandwidth?
    1. The frequency at which data can be transmitted across the Internet
    2. The speed at which data can be sent through the Internet
    3. The amount of data that can be transmitted in a fixed amount of time
    4. The delay between the request and the receipt of information on the Internet

Homework

Complete as many exercises from Chapter 6 Exercises as you can in the 90 minutes allotted for your homework. Make a new directory in your git repo named something like Ch06 and add solutions to each exercise in a separate file.

We will go over solutions to these exercises in class on Tuesday.

This assignment is due Monday, October 17 at 7 am.

Shout Out

Big shout out to Grant for his Holy Hand Grenade turtle program! We'll give him a few minutes at the beginning of class to share it with us.

Tuesday, October 11th

Classwork

Let's start with the following questions:

  1. What happens when you clean data?
    1. Corrupt data records are corrected or removed.
    2. Incomplete data records are completed or removed.
    3. Duplicate records are removed.
    4. All of the above.
  2. What is the binary equivalent of the decimal number 217?
  3. What is the process where algorithms are used with historical data to attempt to predict human needs or requests for imformation?
    1. Data excavation
    2. Trend prediction
    3. Social analysis
    4. Machine learning

Which of the 5 Big Ideas from our APCSP curriculum do the above questions evaluate?

Chapter 6 - Computers can Name Anything

We've already seen a few examples of how to write functions in Python, but in this chapter we will take a more formal look into functions. This chapter is a bit more challenging than the previous ones, so we need to slow down and take a thorough look at what it has to teach us.

This provides a great opportunity for us to make our first use of a practice we do a lot at Arlington Tech: student presentations.

The following groups will prepare 5 to 10 minute presentations on the following sections from our text:

  • Naming Everything: Group A
  • Naming Procedures and Functions: Group B
  • Naming Sets of Steps: Group C
  • Naming Input: Group D
  • Naming Sets of Procedures and Functions: Group E
  • Using an Image Library: Jeff
  • Renaming Python's Functions: Group F

You will have the rest of class to work on these presentations, which will be presented to class on Friday and evaluated using these guidelines.

Homework

Complete Chapter 5 Exercises. Make a new directory in your git repo named something like Ch05 and add solutions to each exercise in a separate file.

This assignment is due Thursday, October 13 at 7 am.

Shout Outs

Shout outs to Anupama for anupamas_house.py, and Lary for Larys_house.py for their effective use of comments in their programs. Shout out to Jack for his effective use of the commit process.