Visual Basic


Syllabus       Schedule    Homework

Day

Material to be covered

In & Out of Class Lab Work

6/9 Chapter 1
  • What is Programming?
  • What is a compiler?
    • Visual Basic Express 2005
    • Installing it
  • File management / Windows Explorer
  • Applied Technology minor
  • Getting started with our 1st VB Program
  • Importance of truly understanding the first few chapters
    • Terms
    • Don't underestimate the importance of knowing where you saved your program
    • Using the compiler
  • Into Material

Chapter 2

  • Designing a Program (Software Engineering)
  • What is an algorithm?
  • Flowcharts & Pseudocode
  • More notes

 

 

6/10

I'll go over an example of a small program.
Something from the Chapter 3 Programming Projects

Chapter 3

  • Longest chapter & very important to get the fundamentals in this chapter
  • Properties
  • Make sure you read the "Comments" sections
  • Using and representing Numbers in a program
  • Strings?  Using Letters, Words and Sentences in a program.
  • More Notes

Do the Walkthroughs in chapter 3:

  • Text Box

  • Button

  • Label

  • List Box

 on page. 45 → 52


Event Procedure Walkthrough on page 62


Write the program for #70 on page 88.  Make it so the user can put in any amount of starting mileage, ending mileage and number of gallons.

6/11 Finish Chapter 2

Continue with Chapter 3

Go over Problem 1 back of Chapter 1 - Screen shot of solution

We should do some of the exercises from the Chapter 3
6/12 Continue & hopefully finish with Chapter 3
 - Talk about strings
 - Bring in Questions!!
We can work on #39 Page 103
6/16 Chapter 4 - Procedures
 - think of them as mini programs you can use
Convert the last lab to using functions
6/17 Continue with Chapter 4, Possibly start Chapter 5
Review for the exam
Sample problem that requires the use of a procedure or functions as a review for the exam.
 
6/18 Exam 1 - Chapter 1 through 4  
6/19 Chapter 5 - Decisions
 - Boolean expressions
 - If statement
 - Case statement
For the lab portion work on problem #36 on page 215
Writing a program that determines pay given hourly wage and number of hours worked taking into account for overtime.
6/23 Continue with Chapter 5 Number 19 Page 274:

User types in a number from 1 to 43 and your program reads from a file that contains an ordered list of U.S. presidents and returns the name of that president.

Download the text below for this program.

USPRES.TXT

6/24 Chapter 6 - Repetition
 - Loops
 - Do While
 - Do Until
 - For - Next Loops
We should do a nested example
Try Problem #22 Page 275
USPRES.TXT
USSENATE.TXT
6/25 We'll work on sample programs Work on Programming Project #4 Page 303
Text file for the project:  6-pp-4.txt
6/26 Go over more examples of loops and help with the Least-Squares problem Work on #5 Page 303 - Least-Square Approximation
Text file for the project:  6-pp-5.txt
6/30 Continue with the Least-Square problem


 

Least Square (problem 5 page 303) Solution

If time try #39 Page 291

7/1 Exam 2 - Chapter 5 & 6

 

 
7/2 Chapter 7 - Arrays
 -More organized way to store a lot of related data
- Some consider this the most complex topic of the course.
- Not that hard, just another way to store a lot of related data.
Let's work on #38 page 324

When done try # 38 page 324  Text file for it

7/3 Continue with chapter 7
- Talk about structures
- How to use structures with arrays
 
7/7 2 Dimensional Arrays Practice problem #17 page 388
Text File

Solution
7/8 Chapter 8 - Sequential Files
 - Reading from a text file that is already on your computer
 
7/9 Final Exam  
Final Exam will be on Wednesday July 9th
 

Assignments

Assignment # Due Date Description
1 6/13 Problem #2 Page 129
AWA 1   Problem #2 Page 403
2 6/24 Problem #1 Page 243
3 7/4 Problem # 3 Page 404 Text File
4 7/8