Difference between revisions of "Computer Science"
From WLCS
(→Wednesday (2/18/15)) |
(→Thursday (2/19/15)) |
||
Line 1: | Line 1: | ||
== Thursday (2/19/15) == | == Thursday (2/19/15) == | ||
'''Agenda:''' | '''Agenda:''' | ||
+ | * Demonstrate #2, 3 of [[Turtle - Looping Assignment]] | ||
* Demonstrate to Mr. Bui a turtle design that uses looping | * Demonstrate to Mr. Bui a turtle design that uses looping | ||
* Looping practice | * Looping practice |
Revision as of 12:28, 19 February 2015
Contents
Thursday (2/19/15)
Agenda:
- Demonstrate #2, 3 of Turtle - Looping Assignment
- Demonstrate to Mr. Bui a turtle design that uses looping
- Looping practice
- 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
- Print out all the numbers that are divisible by 6 from 0 through 100
Thursday (2/12/15)
Agenda:
- Demo missing assignments
- Codecademy - Lists & Dictionaries optional right now
- Introduction to Loops
- while loop
- loop counters
- Complete #1, 2, 3 of Turtle - Looping Assignment
- Create your own turtle loop designs. Be creative
Friday - Tuesday (2/6/15 - 2/10/15)
Warmup:
- Complete 1 exercise from CodingBat-Warmup-1
Agenda:
- Demonstrate that you have completed Codecademy up through Taking a Vacation
- Complete and demo Turtle - Initials Assignment
- Continue on through Codecademy and complete Lists & Dictionaries
Wednesday (2/4/15)
Agenda:
- Demo any missing assignments
- Complete and demo Turtle - Moving and Drawing Assignment
- Complete Codecademy - Taking a Vacation
- Turtle - Initials Assignment
Monday (2/2/15)
Warmup:
- Go to CodingBat and create an account
- Login and go to prefs->teacher share and use
- Complete 2 exercises from Warmup-1 (do not look up the solutions)
Agenda:
- Demo missing Codecademy (you should be done through Functions)
- Function Review
- Define functions at the top of the file
- Only use variables that you send in as parameters or create in the function
- return information, do not just print()
- Function calls always have parentheses!
- Practice function calls
- Complete and demo Turtle - Moving and Drawing Assignment
- Complete Codecademy - Taking a Vacation