Topic
Resources
Demos
Text and Materials
Lab
 Introduction

A C++ Program

Same program, with popup comments

More details on basic C++ program Syntax

Setting up a project in Microsoft C++

Parts of a Program

Basic Project Setup

Add a file to the project and getting started

   Lab 1
Variables 

Variables (lecture)

Initializing Variables (lecture)

cin (input) (lecture)

C++ Math (lecture)

More on Variable Types

Pseudocode
 

Using cout

Integer Basics
(print code)

Float Basic
(print code)

Char Basics
(print code)

Using cin
( print code )

Inspiration: Variable Types

More About Boolean Logic  Lab 2
Week of Feb. 5-9, 2007 Independent Work on Lab 3

 

 Decision
Making

(if loops and math2)

Relational Operators
relational operators


logical operators


if loops
if loops
if loop example
error checking


Math Part 2
math part 2
increment/decrement examples

 

Inspiration Logical AND

Inspiration Logical OR

Inspiration: if loops

if loop (PPT with explanation)

Intro to if loops

if loops with characters

relational operators (PPT with explanation)

logical operators with explanation (movie)

if else example with logical operators

More for Schyler:

Dividing by 0

Lab 3 
Class Work for Feb. 17-20, 2009
for loops and error checking 

For Loops (power point)
For Loops Example

logical operator
logical operators example
 

practice

For Loops PPT with audio

For Loops Examples:
#1
#2
#3

Inspiration: loops

Read p. 231 - 237

Study example
5-11 on p. 235

Study programming Example on p. 237-241

Lab 4 

Lab 4 Grade Sheet

while loops

do while example

while example

Inspiration: loops

More Details on While Loops (from text)

Enrichment: p. 205 - 217 in text

Lab 5

Lab 5 Grade Sheet

strings 

String Presentation

String Example #1

String Example #2

String Presentation with Audio

basic string coding

getline example

 

 

string labs

String Labs Grading Sheet

Review      
switch Switch Statements

switch w/ audio

switch coding

Text pp. 180-186

Enrichment

File Input/Output

Saving Data to a File

Retrieving Data from a File

  Text p. 125-129 Lab 7B
Pre-defined Functions
cin and get Text p. 102-104  
input a string with spaces and/or multiple lines getline(cin,x,'$') Example in class

Formatting Output (iomanip)
Manipulators:

  • setprecision
  • fixed
  • showpoint

Text p. 113-125

Example Code - set precision

Example Code -- setw and showpoint

Examples in class :

 

 

Functions

Intro to Functions

Intro to Functions PPT with audio

Void Function code example (drawLine)

Integer-value returning value

Inspiration: value-returning functions

Character-returning Function

Text Chapter 6

toupper( ) function

Enrichment saving to disk (file i/o)  

 

I/O Labs

Computers: Background and History

 

Binary Codes

   

Video:

Modern Marvels: Digi-Tech

Discovering How Computers Work

Cool Site that Converts ASCII to Binary

Binary Math

Binary Links

Binary Math f rom How Stuff Works

Text: Chapter 1

 
Functions Functions -- pass by value

Pass by Value - Ex 1

Pass by Value with a Return

Pass Two values

 

 
  District Assessment    
Miscellaneous Topics

Data Types (Review)

Static Casting and constant variables

Program Style

 

 

Text pp. 30-34

Text pp. 39-44

Text pp. 70-74

Make Change Example (text p. 80-82)

 

Review      
Functions Functions -- pass by reference    
Arrays Arrays Intro to Arrays with for loops (review movie)

Enrichhment:

p. 490 #1

 

Two-Dimensional Arrays

 

 

Enrichment: Writing Arrays as Parameters (arguments) to a function

p. 435 - 442

Lab 13

Enrichment: Problems: pp. 491, #4, #6, #10, #11

 

Tic Tac Toe

District Assessment

   
Career Project District Assessment    
Topics from Previous Semesters
Structures (Records0

Enrichment:

PowerPoint

Text: Chapter 19 (p. 497 - 515)

  Text: Chapter 19 (p. 497 - 515)

Enrichment Problems:

p. 535+

#1, #3, #4, #5

Independent Study Project

District Assessment -- Part of Computer Projects class (Semester 2)    
Voting Machine

 

 

 

Newsweek

Scientific American

Popular Mechanics

VerifiedVoting.org

Lorrie Cranor's list of evoting links

NPR 10-25-04

 

 

Voting Machine

  • Accurate
  • Hacked
Enrichment saving to disk (file i/o)  

Formatting Output (iomanip)
Manipulators:

  • setprecision
  • fixed
  • showpoint
I/O Labs
Voting Machine

 

 

 

Newsweek

Scientific American

Popular Mechanics

VerifiedVoting.org

Lorrie Cranor's list of evoting links

NPR 10-25-04

 

 

Voting Machine

  • Accurate
  • Hacked
         
         
Jump to VB section!

Course Goals

Course Expectation Form

General Classroom Rules

Computer Lab Rules

Lab Grade Sheet (Word)

Class Tests