back to the C++ Homepage | This page was created though a combination of HTML, CSS, and Javascript.

Class # Date Daily Agenda
1 9/06/2007

Course Overview
- Syllabus
- University in the High School Program - Registration Link | Detailed Course Outline
Our course # is I CSI 201: Introduction to Computer Science

- Handout books
- Create Server Structure (cpp1/karel)
- Read pages 1 to 5 in Karel++
- Answers questions on pages 5 and 6
- Dive into the world of Karel
- Watch a Karel Demo
- Experiment with Karel: Creating worlds; running programs

[We will make firstDay.kpp and firstDay.wld]

2 9/10/2007

Open up Karel++
In Karel++, load your firstDay.kpp and the world that you made, run them.

Open CodeBlocks. We will discuss comments (documentation) and entering code.
Review the capabilities of our robot.

Open text to page 22 and do problem 5 together. The world.

Read Chapter 2.

3 9/12/2007
  • Do problem 6 on page 22 working with your neighbor. 2.6 World
  • Discuss problems 1 and 2 (from page 20)
  • Do exercises 1 and 2 in Chapter 2. (p. 20) ON GRAPH PAPER
  • Look at exercise #8 on page 24 and come up with two ways for doing the task. Draw a sketch/make a plan - do with your neighbor.
  • Look at your algorithms for p. 24: #8 and how loops may be used.
  • Complete your program by typing in the code. Call me over to see your code and its execution.
  • Extra Credit - p. 24: #9
4 9/14/2007
  • Read 3.1 through 3.5 (p. 25-35) and do p. 62: 1 (in UltimateRobot) and 2 (in 62_2)
  • Continue work on 24.8
  • Discuss extending the Robot's vocabulary
  • Start creation of the Ultimate_Robot
5 9/18/2007
  • A quick glance at the rest of chapter 3.
  • Discuss Style and Documentation
    • indentation, white space, case issues
    • comments, meaningful identifiers
  • Finish exercise 8 on page 24 and get it checked.
  • Read 3.6 through 3.9 (pages 35 to 53) and do 1(3) on p. 62
    -----> You are to make your own task block for the Harvester Situation (page 38.) that is different from their task block on Page 47d
  • Complete the task block for #5 on page 63 on PAPER.
  • Go over problem 1 on page 62
  • Work on page 24 #9 [extra credit]
  • Discuss Stepwise Refinement as a class
6 9/20/2007

Where we have been/what you SHOULD already have done or are finishing today:
- You finished page 62, problems 1 and 2
- You Read 3.6 to 3.9 in our text
- Complete the task block for #5 on page 63 on PAPER.

NEW FOR TODAY (or a continuation)

- Go over the Sample Class handout
- Discuss Stepwise Refinement as a class.
- Look at problem 62_4 and do the Harvester Worksheet.
-Complete the Karel Vocabulary worksheet, defining all words that appear on or before page 62.
- Rework 24-8 extending the ur_Robot with new instructions - your task block should have <= 10 lines.
- Read pages 53-61

7 9/24/2007

Where we have been/what you SHOULD already have done:
-
We discussed Stepwise Refinement as a class.
- You finished page 62, problem 1, parts 1 and 2.
- You Read 3.6 to 3.9 and did problem 1 part 3 on p. 62
- You completed the Harvester Worksheet and are programming it
- You have (or will very soon) finish reading chapter 3 (pages 52 to 61)

NEW FOR TODAY (or a continuation)

- QUIZ #1
- Complete the Karel Vocabulary worksheet, defining all words that appear on or before page 62.
- Rework 24-8 extending the ur_Robot with new instructions - your task block should have <= 10 lines.

- Read problem 64_11 (page 64, ex 11). On a sheet of paper, write out your plan to solve the problem. Include a sketch as well as the task block with the names of the methods you will create. Show it to me, then you can do it! :)

- Extra Credit: 24_9, 62_2, 64_9

8 9/26/2007 Where we have been/what you SHOULD already have done:
- If you missed last class, be sure to ASK ME FOR A SHEET detailing what you should have done.
- If you missed last class, TAKE THE QUIZ.
- Completed the Karel Vocabulary worksheet.

NEW FOR TODAY (or a continuation)
- Do and go over the vocabulary
- Karel Race --> exercise 62.4

working on...
- Rework 2.8 extending the ur_Robot with new instructions - your task block should have <= 10 lines.
- Read problem 3.11 (page 64, ex 11). On a sheet of paper, write out your plan to solve the problem. Include a sketch as well as the task block with the names of the methods you will create. Show it to me, then you can do it! :)

new... (HOMEWORK if not done in class)
- Read pages 69-80 (this will make our programs awesome!) then do problems 1 and 2 on page 95 ON PAPER.
9 9/28/2007

Where we have been/what you SHOULD already have done:
- Completed the Karel Vocabulary worksheet.
- Taken the Quiz (Kissane and Tate need to complete the quiz.)

NEW FOR TODAY (or a continuation)
- Read (if you didn't last night) pages 69-80: conditional expressions and predicates (instructions that return true or false
- We will have the Harvester Race later in class today

working on..
-
do problems 1 and 2 on page 95 ON PAPER.
- Rework 2.8 extending the ur_Robot with new instructions - your task block should have <= 10 lines.
- Read problem 3.11 (page 64, ex 11). On a sheet of paper, write out your plan to solve the problem. Include a sketch as well as the task block with the names of the methods you will create. Try to be efficient/fast/use few instructions.
(new: Read pages 80-89, do page 95, problems 3 and 4.)

10 10/2/2007

NEW FOR TODAY (or a continuation)
- Discuss pages 69-80: IF/ELSE STATEMENTS
--- There is a short Powerpoint on this.
---Create the IAmRich() predicate
- Read pages 80-89, do page 95, problems 3 and 4.

working on..
- Do problems 1 and 2 on page 95 ON PAPER.
- Rework 2.8 extending the ur_Robot with new instructions - your task block should have <= 10 lines.
- Read problem 3.11 (page 64, ex 11). On a sheet of paper, write out your plan to solve the problem. Include a sketch as well as the task block with the names of the methods you will create. Try to be efficient/fast/use few instructions.

11 10/4/2007 Where we have been/what you SHOULD already have done:
- We have discussed pages 69-80: IF/ELSE STATEMENTS
- We created the iAmRich() predicate together
-
You should be working on problems 1-4 on page 95.
- You should have reworked 2.8 extending the ur_Robot with new instructions - your task block should have <= 10 lines.
- You should have read problem 3.11 (page 64, ex 11) and successfully completed it.

NEW FOR TODAY
- Quiz #2
- We will go over 3 and 4 on page 95 next class.
- Robot Antics
- When done with Robot Antics, read pages 89-94 and complete 95.5 and 96.7.
12 10/9/2007

Where we have been/what you SHOULD already have done:
- You should have done 1-4 on page 95.
- You should have read problem 3.11 (page 64, ex 11) and successfully completed it.

Today...
- Go over 3 and 4 on page 95.
- Look at page 79 faceNorth() - we must understand this!
- Discuss loop/while (look at page 101-105)
- Continue your work on Robot Antics
- When done with Robot Antics, read pages 89-94 and complete 95.5 and 96.7.
- Extra Credit: 97.9, 99.12

- A first look at recursion. (Test this code on your own. I will give a handout next class.)

13 10/11/2007 Where we have been/what you SHOULD already have done:
- You should have done 1-4 on page 95.
Please print out your code for ONLY for problems 3 and 4 in Karel. (Just the functions.) HAND IN TO ME.
- You should have read problem 3.11 (page 64, ex 11) and successfully completed it.
- Looked at recursion.
- Continue your work on Robot Antics
- When done with Robot Antics, read pages 89-94 and complete 95.5 and 96.7.
- Extra Credit: 97.9, 99.12

NEW for today
- First 40 minutes of class to work on current projects. (You should finish 3 and 4 on page 95 if not done already!)
- (Recursion Handout) | Recursion
- Create the Racer robot (based upon page 81 of the text)
- Write a TASK BLOCK to show the final situation in Figure 4.2
- Once that works, create a NEW class called Steeplechaser that extends Racer
- Write a TASK BLOCK in Steeplechaser to solve Figure 4.5 on page 96

14 10/15/2007

GENERAL PLACE OF WHERE WE ARE

- Continue your work on Robot Antics
- When done with Robot Antics, read pages 89-94 and complete 95.5 and 96.7.
- Extra Credit: 97.9, 99.12

NEW FOR TODAY
- (Recursion Handout) | Recursion
- Work on whatever you are currently doing. :)

15 10/18/2007

**PAPERWORK for University in the HS Course**

WORK DAY --> Get caught up!
Create the Racer robot (based upon page 81 of the text)
- Write a TASK BLOCK to show the final situation in Figure 4.2
- Once that works, create a NEW class called Steeplechaser that extends Racer
- Write a TASK BLOCK in Steeplechaser to solve Figure 4.5 on page 96
- Take a look at nested IF statements and simplifying conditionals
- Read 101-116 and do p. 134, 1-4

16 10/22/2007

WORK DAY

Show me your Steeplechaser.
Show me 1-4 on page 134.

--------------------------------------------
FINAL KAREL ASSIGNMENTS

COMPLETE at least TWO of these problems.
For each problem, make a plan and use stepwise refinement to write the task block and new instructions.

* 138.11
* 140.15
* 143.19
* 144.23
* 145.25

WRITTEN TEST ON FRIDAY, Programming Test next Tuesday. Then we start C++.

17 10/24/2007

--------------------------------------------
FINAL KAREL ASSIGNMENTS

COMPLETE at least TWO of these problems.
For each problem, make a plan and use stepwise refinement to write the task block and new instructions.

* 138.11
* 140.15
* 143.19
* 144.23
* 145.25

 

WRITTEN TEST ON FRIDAY, Programming Test next Tuesday. Then we start C++.
KAREL WRITTEN EXAM

18 10/26/2007 KARELWRITTEN EXAM
19 10/30/2007

KAREL PROGRAMMING EXAM

* Go to the Folder: S:\Public\MerlisCSI\2007_2008\C++
* COPY the FinalKarelFolder to your CPP1 folder
* Complete the problem of your choice in the provided .kpp file

Once finished, finish up any backwork.

20 11/1/2007 Finish the Programming Test
Do the Written Part (Kevin, Sean, Evan)
21 11/5/2007

(Happy 10th Month Birthday Mr. Merlis)
--- Klapper Info for UHS
--- Karel Assignment Info [due tomorrow]
- Return the Karel Final Exams and go over them
- Begin C++ | Handout #1

= Create our C++ Server Structure
= Discuss setting up projects in CodeBlocks

22 11/7/2007 C++ Assignments 1a and 1b
23 11/9/2007

Interest Feed for Advanced Computing
Handout #2

  • Discuss handout #2
  • Experiment with loop structures
  • Begin Assignment 2a --> PSEUDOCODE TOGETHER
  • Random Number files: rando.cpp | rando.h
  • You should finish assignment 1b on your own time.
24 11/14/2007

DO NOW (Do immediately)

You should have the complete pseudocode for Assignment 2a (Quadrant Program)
- Program it! Pseudocode
- Show it to me when done.

Complete program 2b - do NOT do 2c yet (we haven't created the PointClass yet)
Do EC 2d if you have time.
# Move on the Note Sheet #3 [get from me]
# Begin assignments on Sheet #3

25 11/16/2007 Complete 2b and 2d
By 12:20pm, you should be done with 2b and move onto Handout #3
26 11/20/2007

START CLASS WITH: Powerpoint on Data Types and Control Structures

Turkey Handout

Finish C++ Assignments UP to 3a

You don't have to do the extra credit.

27 11/27/2007 [Half-day]
Look at making our own methods
Finish this program
28 11/29/2007

DO NOW: Complete this activity on a clean sheet of paper.
- On the top right of your sheet, write the date and Class #28
- Include the heading "Check-up #1" in the center

Finish the min method

Examine CRectangle
# Create a new folder in your cppCode folder called "pointClass"

* Create a new project called pointClass in that folder
* Create a new .cpp file called "pointClass.cpp"
* We will be working with classes today

29 12/5/2007

Create the actual PointClass

Create
- point.h
- point.cpp

Examine header files and how to include them.
All implementations for the functions in this header file should be completed today.


30 12/7/2007

# Add methods to the Point Class
* void shift(int x1, int y1) // add those values to x, y in the class
* void dilate(int scale) // multiply x,y by scale

Test these in your main method by writing calls to them and then calling printPoint() to see if they worked.

31 12/11/2007
32 12/13/2007
  • Read the sheet together that covers what we should know by now
  • Go over the test
  • if(!you.finishedProgrammingPart())
    • Finish the Programming Part
    • Show me when done (-5 pts for lateness)
  • // Activities below will not be completed until above is done
  • Finish Point --> addPoints() and slope()
  • Try the For Loop Fun sheet
  • if(forLoopFun.done() || timeOfDay > 12:00pm)
    • Create a new folder/project "MathFun" and inside the main method, experiment with the math functions on the reference sheet [math.h]
    • I would also like you to play with the following (this is cool:)
      • Notice the range of values for int, unsigned int, long, etc. Try math calculations that cause the variables of those data types to exceed their maximum ranges. See what happens!
  • Next class we will begin the Dice project together!
33 12/17/2007

YOU MUST SHOW ME your Point Project functions (addPoints(Point) and slope(Point)) by Thursday after school

  • We're moving forward today!
  • Take the Notes 4 handout.
  • Create a new PROJECT "dice" in a new FOLDER called "dice".
  • Copy dice.h into a new file (name it dice.h - add it to the project) and let's begin by studying it!
  • Now copy in dice.cpp and let's take a look at the implementation of the methods.
  • You should notice that dice.h has #include "rando.h" which means we need to include the random class in our project as well. Copy in rando.h and rando.cpp.
  • The <iomanip> class used for setw(int)
  • Dice Extra Credit Assignment (Making your own game)
34 12/19/2007 Complete the Dice Assignments/do the extra credit
35 12/21/2007 Begin with the Loop Check-up
Finish Dice Assignments
Show me any remaining Point project functions
36 1/3/2008

Quiz on loops
Finish Dice Assignments

Begin Vectors

37 1/7/2008

DO Now Review for Final Exam
Continue with Vectors - Class Demo

 

38 1/9/2008 Check Up #2 for the Final Exam
Complete all Vector Assignments (5a through 5e) from Handout #5
When done, try this EXTRA CREDIT assignment!
39 1/11/2008 Vector Review Questions for Final Exam
40 1/15/2008 Final Exam Review Sheet #1
41 1/17/2008 12:35 to 2:15pm: FINAL EXAM FOR C++ 1
Programming Part Information