Computer 4

Monday

Bell Ringer

21 game Algorithm What it should look like

Objectives

Use the If...Then, If...Then...Else statements

Understand nested if...Then...Else statements

Generate random numbers

Return the integer portion of a number without rounding

Understand the scope of a variable or constant

Use And, Or, and Not in Booleanexpressions

Understand Algorithms and pseudocode

Understand logic errors

Use message boxes

Use counters in applications

Use check boxes in applications

Agenda

  • Bell RingerQuiz
  • Counters
  • Check boxes
  • Algorithm for 21 game
  • Code 21 game
  • Closure

Assignment

Chapter 5 exercises - 2,4,9

 

Tuesday

Bell Ringer

Finish the package check program and show Mr Wissing your chapter 5 exercises - test all outcomes

Objectives

Understand the Do...Loop statement and infinite loops

Use input boxes

Understand accumulators and sentinels

Understand LCase, UCase, and StrConv functions

Understand the Len and InStr functions

Understand For...Next statement and hoe to use Step

Understand the String and Space functions and the & operator

Understand how characters are stored in memory

Understand the ASCII code and use the Asc and Chr functions in programs

Use textual comparision for comparing strings

Understand pattern matching

 

Agenda

  • Bell ringer
  • Counters
  • Check boxes
  • Printing Forms
  • Begin chapter 6 reviews
  • Closure

 

Assignment

Chapter 6 reviews

Work on Chapter 6 exercises 2, 5,15

Assessments

 

Wednesday

Bell Ringer

Count review

Prime numbers review 2

Objectives

Use a for next loop

Use a do while loop

Agenda

Bell Ringer

Chapter 6 reviews in class

  • Average score review 3
  • random number generator review 4
  • Exercise 2
  • Revisit 21 game

Closure

Assignment

Chapter 6 reviews

Work on Chapter 6 exercises 2, 5,15

Assessments

 

Thursday

Bell Ringer

Adjust the black jack game to work as follows:

Example

Here is the efficient code for the check score event procedure (ties go to the computer)

If (pScore > cScore) Or (cScore > 21) Then

MsgBox "Player Wins"

Else

MsgBox "Computer Wins"

End If

Objectives

Use a for next loop

Use a do while loop

Create string variables

Use string funtions

ASCII values

Agenda

Bell ringer

String functons

Chapter 6 exercises

Closure

Assignment

Work on Chapter 6 exercises 2, 5,15

Friday

Bell Ringer

Work on the Monogram exercise

Objectives

ASCII values

String functions

Add existing scripts/applets to webpages

Agenda

Scrolling text ect. - get todays announcements to scroll on a page. - try this link

Applets

Link 1

Link 2

Scrolling images

Link 1

 

Flash Tutorial

 

Assignment

Work on Chapter 6 exercises 2, 5,15

Back to Computer 4 main page

Back to SHS main page