Difference between revisions of "Computer Science"

From WLCS
 
(174 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Wednesday (3/26/14) ==
 
* Demo [[Looping Exercises]]
 
* Introduction to Functions
 
** Using Functions
 
*** Examples: print(), int(), input(), abs(), max(), min()
 
** Defining Functions
 
* Introduction to Python Turtle
 
** [http://docs.python.org/py3k/library/turtle.html Python turtle library]
 
* [[Turtle - Moving and Drawing Assignment]] (practice with function calls)
 
* [[Turtle - Looping Assignment]] (practice looping with functions calls)
 
 
== Monday (3/24/14) ==
 
* Demo missing:
 
** [[Print Shapes Exercises]]
 
** [[Guessing Game Assignment]]
 
* Complete [[Looping Exercises]]
 
 
== Thursday (3/20/14) ==
 
'''Agenda:'''
 
* Got a Gadget - Today @ 3:30PM @ Central Library
 
** Help adults with their technology
 
** Community service hours
 
** Looks great on your high school resume
 
* Complete [[Print Shapes Exercises]]
 
* Complete [[Looping Exercises]]
 
 
== Friday - Tuesday (3/14/14 - 3/18/14) ==
 
'''Agenda:'''
 
* 2014 Arlington Tech Expo - Saturday, April 26th @ Wakefield
 
** Let me know if you are interested: [https://docs.google.com/forms/d/1gCs9z9XtugmMDSIbHnDJx6FylQBOixnXrArCV5pXMPo/viewform Interest Form]
 
** Extra credit
 
* Complete [[Guessing Game Assignment]]
 
* Looping practice exercises
 
*# Print out all the numbers from 0-50
 
*# Print out all the numbers from 75 down to 25
 
*# Write a loop that prints out the first 100 even numbers
 
*# Prompt the user for a number and store it in a variable n, then print out the first n odd numbers (starting at 1) using a loop
 
* Complete [[Print Shapes Exercises]]
 
 
== Wednesday (3/12/14) ==
 
'''Agenda:'''
 
* 2014 Arlington Tech Expo - Saturday, April 26th @ Wakefield
 
** Let me know if you are interested: [https://docs.google.com/forms/d/1gCs9z9XtugmMDSIbHnDJx6FylQBOixnXrArCV5pXMPo/viewform Interest Form]
 
** Extra credit
 
* Demo missing [[MPAA calculator assignment]]
 
* Demo missing Fast Food Nutitrional Menu
 
* Introduction to Iteration (looping)
 
** while loops
 
** loop conditions
 
** loop counter
 
** break
 
* [[Guessing Game Assignment]]
 
 
== Monday (3/10/14) ==
 
'''Agenda:'''
 
* Complete and demo [[MPAA calculator assignment]]
 
 
* Old school menu systems
 
*# Print out the menu on multiple lines
 
*# Prompt the user for an option
 
*# Use if statements to check the input and do different things for different options
 
 
* Fast Food Nutritional Menu
 
*# Print out a menu of at least 5 different fast food items (your choice)
 
*# Prompt the user to choose one of the choices
 
*# Use if statements to see what they ordered, and then print out the number of calories in that specific food item
 
*#* [http://www.fiveguys.com/media/1960/nutritionalinfo_2010.pdf Five Guys Nutritional Info]
 
*#* [http://nutrition.mcdonalds.com/getnutrition/nutritionfacts.pdf McDonald's Nutritional Info]
 
*#* [http://www.tacobell.com/nutrition/information Taco Bell Nutritional Info]
 
 
== Thursday (3/6/14) ==
 
'''Warmup:'''
 
* Without using a computer, identify the syntax errors in the following code
 
 
<syntaxhighlight lang="Python">
 
username = input(Username: )
 
password = input("Password: "
 
if username = "admin":
 
  if password == "secret"
 
    print(Logged in successfully!"
 
  else:
 
    pint("Incorrect password!")
 
else
 
  print("Incorrect username!")
 
</syntaxhighlight>
 
 
'''Agenda:'''
 
* if-statement review
 
* if-else statement review
 
* Username/Password example
 
* it-statement examples w/ logical operators
 
* Complete and demo [[Python Boolean Exercises]]
 
 
== Tuesday (3/4/14) ==
 
* Snow Day
 
 
== Friday (2/28/14) ==
 
'''Warmup:'''
 
* Without using a computer, identify the syntax errors in the following code
 
 
<syntaxhighlight lang="Python">
 
a b = 1
 
b + 2 = c
 
print(1, 2, 3, a, b, c)
 
x = input(please enter an x)
 
</syntaxhighlight>
 
 
* Introduction to Conditionals
 
** Comparison operators (<, >, <=, >=, ==, !=)
 
** Boolean values: True, False
 
** [[Comparison operators assignment]]
 
** if statement
 
 
<syntaxhighlight lang="Python">
 
age = int(input("What is your age?"))
 
 
if age < 18:
 
    print("You cannot vote")
 
</syntaxhighlight>
 
* if-else statement
 
* [[Media:BooleanLogic.ppt]]
 
* [[Logical operators assignment]]
 
* [[Python Boolean Exercises]]
 
 
== Wednesday (2/26/14) ==
 
'''Warmup:'''
 
# Write a program named circleArea.py
 
# Create a variable named PI = 3.1415
 
# Prompt the user for the radius (ask for input) and store it in a variable '''r'''
 
# Output the area of the circle
 
 
'''Agenda:'''
 
* Input/Output Review
 
* Complete the [[Quadratic Formula Assignment]]
 
 
== Monday (2/24/14) ==
 
'''Warmup:'''
 
# Sign into [http://www.codecademy.com/tracks/python Codecademy - Python]
 
# Show Mr. Bui that you have completed [http://www.codecademy.com/courses/introduction-to-python-6WeG3/0/1?curriculum_id=4f89dab3d788890003000096 Codecademy - Python Syntax]
 
# Show Mr. Bui that you have completed [http://www.codecademy.com/courses/python-beginner-GB6hM/0/1?curriculum_id=4f89dab3d788890003000096 Codecademy - Tip Calculator]
 
 
'''Agenda:'''
 
* [[Media:PythonInputOutput.ppt]]
 
* Complete the [[Quadratic Formula Assignment]]
 
 
== Thursday (2/20/14) ==
 
'''Agenda:'''
 
* 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
 
** [[Media:PythonMathOperations.pptx]]
 
* Rectangle area program ('''rectArea.py''')
 
*# Create 2 variables named '''length, width''' and give them some values
 
*# Calculate the area and store it in a variable named '''area'''
 
*# Print out the area
 
* 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
 
 
'''Homework:'''
 
* Python Review on Codecademy
 
*# Sign into [http://www.codecademy.com/tracks/python Codecademy - Python]
 
*# Complete [http://www.codecademy.com/courses/introduction-to-python-6WeG3/0/1?curriculum_id=4f89dab3d788890003000096 Codecademy - Python Syntax]
 
*# Complete [http://www.codecademy.com/courses/python-beginner-GB6hM/0/1?curriculum_id=4f89dab3d788890003000096 Codecademy - Tip Calculator]
 
 
== Tuesday (2/18/14) ==
 
'''Warmup:'''
 
* Make sure that you shared your [[Computer hardware assignment]] Google document w/ Mr. Bui
 
* Create an account on [http://www.codecademy.com/ Codecademy]
 
 
'''Agenda:'''
 
* [[Media:BasicProgrammingTerms.ppt]]
 
*# Answer the questions at the end of the PowerPoint
 
* Introduction to Python
 
** WingIDE 101
 
** [http://en.wikipedia.org/wiki/Hello_world_program Hello world program]
 
* Introduction to Values, Types, and Variables
 
** [[Media:ValuesTypesVariables.ppt]]
 
** Complete [[Values, Types, and Variables Identification assignment]] in your APS Google Drive
 
 
== Tuesday (2/11/14/) ==
 
'''Agenda:'''
 
* Complete [[Computer hardware assignment]]
 
** Be sure to share your Google document w/ Mr. Bui
 
* Quiz on [[Media:Hardware.pptx]]!
 
** You should be able to identify the name of the part just by looking at it
 
** You should be able to describe what the part does
 
** You should be able to use the binary prefixes: bit and byte
 
 
== Friday (2/7/14) ==
 
'''Warmup:'''
 
* Create an account at [http://pcpartpicker.com PCPartPicker]
 
 
'''Agenda:'''
 
* [[Computer hardware assignment]]
 
* How do you take a screenshot?
 
*# Press Command-Shift-4
 
*# Select the area on the screen
 
*# The image will appear on your desktop
 
* How do you choose a computer case?
 
*# Check the size of your motherboard (e.g. ATX, mini-ATX, micro-ATX, etc.) and match it with the case
 
*# Make sure your case looks cool
 
* Complete the [[Computer hardware assignment]] today
 
** Make sure you share the document with Mr. Bui
 
* Quiz on the different computer components on Tuesday (2/11/14)
 
** You should be able to identify the name of the part just by looking at it
 
** You should be able to explain what that part basically does
 
 
== Wednesday (2/5/14) ==
 
'''Agenda:'''
 
* Introduction to Computer Hardware
 
** [[Media:Hardware.pptx]]
 
 
== Monday (2/3/14) ==
 
'''Agenda:'''
 
* Demo [[Asteroids]]
 
* If you have completed [[Asteroids]], then try to implement several advanced features
 
 
 
== Archives ==
 
== Archives ==
* [[CS1 - 1314 - January]]
+
* CS1 - 1819 (Poland) - APS Canvas
* [[CS1 - 1314 - December]]
+
* CS1 - 1718 (Poland) - APS Canvas
* [[CS1 - 1314 - November]]
+
* CS1 - 1617 (Poland) - Google Classroom
* [[CS1 - 1314 - October]]
+
** [https://docs.google.com/a/apsva.us/document/d/1VnXYBgVIABKBGVYNuoQQ6E_6kUzcNah2TFlM5QgTOW0/edit?usp=sharing 2017 Syllabus]
* [[CS1 - 1314 - September]]
+
* [https://sites.google.com/a/apsva.us/ocopcompsci/ CS1 - 1516 (MacLeod)]
 +
* [[CS1 - 1415]]
 +
* [[CS1 - 1314]]
 +
* [[CS1 - 1213]]
 +
* [[CS1 - 1112]]
 +
* [[CS1 - 1011]]
 +
* [[CS1 - 0910]]
 +
* [[CS1 - 0809]]
 +
* [http://www.paulbui.net/wl0708/cs1 CS1 - 0708]
 +
* [http://www.paulbui.net/wl0607/cs1/schedule.html CS1 - 0607]

Latest revision as of 11:04, 13 November 2018

Archives