Difference between revisions of "Computer Science"
From WLCS
Line 1: | Line 1: | ||
+ | == Monday (2/25/13) == | ||
+ | * Demo the following programs | ||
+ | ** Triangle Area Program | ||
+ | ** Circle Calculator Program | ||
+ | ** Pythagorean Theorem Program | ||
+ | * Demo your progress on the [[Quadratic Formula Assignment]] | ||
+ | |||
== Thursday (2/21/13) == | == Thursday (2/21/13) == | ||
'''Agenda:''' | '''Agenda:''' |
Revision as of 08:15, 25 February 2013
Contents
Monday (2/25/13)
- Demo the following programs
- Triangle Area Program
- Circle Calculator Program
- Pythagorean Theorem Program
- Demo your progress on the Quadratic Formula Assignment
Thursday (2/21/13)
Agenda:
- Be sure to complete the programs from last class (see Tuesday (2/19/13))
- Triangle Area Program
- Circle Calculator Program
- Pythagorean Theorem Program
- Complete the Quadratic Formula Assignment
- Your progress on the assignment will be graded
Tuesday (2/19/13)
Warmup:
- What are the final values of x, y, and z?
x = 1
y = 2
z = x + y
x = 2*z
y = x+5
z = y - x
Agenda:
- Slope calculator program review
- Input and Output
- Triangle calculator program (triangleArea.py)
- Print out a message that says, "Triangle Area Program"
- Print out an empty line
- Write a program that has 2 variables: base and height
- Prompt/Ask the user to input values for the base and height
- Calculate the area of a triangle and print it out: Triangle Area: ###
- Circle calculator program (circleCalc.py)
- Print out a message that says, "Circle Area and Circumference Program"
- Print out an empty line
- Create a variable named radius and prompt/ask the user to input a value
- Create a variable named PI and give it the value of pi (you decide how many digits)
- Calculate and print out the circumference of the circle. Make sure your output looks like: "Circumference: ###"
- Calculate and print out the area of the circle. Make sure your output looks like: "Area: ###"
- Pythagorean theorem program (pythagorean.py)
- Print out a message that says, "Pythagorean Theorem Program"
- Print out an empty line
- Create a variable named a and prompt/ask the user to input a value for a
- Create a variable named b and prompt/ask the user to input a value for b
- Calculate and print out the length of the hypotenuse using the Pythagorean theorem
- Hint: You will need to square a and b with the exponent/power ** operator
- Hint2: In order to do square root, you need to **0.5
- Complete the Quadratic Formula Assignment
Thursday (2/14/13)
- Introduction to Python
- WingIDE 101
- Hello world program
- Introduction to Values, Types, and Variables
- Media:ValuesTypesVariables.ppt
- Complete Values, Types, and Variables Identification assignment in your APS Google Drive
- Math operations in Python
- Slope calculator program (slope.py)
- Create 4 variables named x1, y1, x2, y2 and give them some values
- Calculate the slope using those variables and store it in a variable named m
- HINT: If you can't remember the formula for something, look it up
- Print out the slope
Tuesday (2/12/13)
Agenda:
- Digital Portfolio Update
- Meet with your 2nd Quarter Project Team
- Distribute your team's Scratch game to all members (go to 1/17/13 for links to games)
- Each member should update their digital portfolio by adding their team's game
- Your team game should have a similar page as the rest of your games
- Game title
- Team name
- Team members
- Game description / storyline
- How to play
- Link to play the game on the Scratch website
- A recorded screencast using Jing
- Course Request Forms
- Media:BasicProgrammingTerms.ppt
- Answer the questions at the end of the PowerPoint using APS Google Docs
- Title the document: Basic Programming Terms
- Share the document with Mr. Bui
- Introduction to Python
- WingIDE 101
- Hello world program
Friday (2/8/13)
Agenda:
- Networking Quiz
Wednesday (2/6/13)
Agenda:
- Networking Quiz on Friday (2/8/13)
- Media:NetworkingBasics.pptx
- packets
- server
- client
- Local Area Network (LAN)
- Wide Area Network (WAN)
- switch
- router
- gateway
- types of network cables
- circuit-switching
- packet-switching
- Rise of the Video Game: Level 1
Monday (2/4/13)
Agenda:
- Packet-switching vs. Circuit-switching Networks
- Networking Quiz on Friday (2/8/13)
- Network Diagrams
- Using Diagrams Online, create a network diagram of your home network
- Include and label all the different devices and computer systems that connect to your home network
- Laptops, desktops, tablets, cell phones, consoles, DVRs, etc.
- Include and label all the networking components (switches, routers, modems) on the diagram
- Draw lines to connect the computers to the networking components
- Use different lines to differentiate hard-wired connections and wireless connections
- Example: Use solid lines for wired and dashed lines for wireless
- Include a key/legend on your diagram for the different lines
- Identify your modem or router's internet service provider
- Make sure the diagram looks clean
- Include your name at the top
- Be sure to save
- Export as PDF and save as Home Networking Diagram
- Upload to Google Drive and share with Mr. Bui