Chapter 1-Introduction to Visual
Basic & Other Information
Take Role & 1st day attendance
- What is Programming?
What is a compiler?
- Visual Studio Express Edition
- Installing it
- File management / Windows Explorer
- Applied Technology minor
- Getting started with our 1st VB Program
Importance of truly understanding the first few chapters
- Don't underestimate the importance of knowing where you saved your program
- Using the compiler
- AWA - Alternate work assignments
- When to meet in the Lab (Dundee in Ross Hall)
- Designing a Program (Software Engineering)
- What is an algorithm?
- Flowcharts & Pseudocode
- More notes
Link to download Visual Basic and some other tools.
Page 14. Writing your first Visual Basic
Set up workspace
Start new project
Set up Environment
Place Controls on
Form p. 19
Set Properties p. 23
Write Code p. 29
Run p. 35
Save & re-open p. 36
Modify p. 38
Meet in the lab, start our first walk-through VB program.|
Chapter 2 - User Interface Design
- Controls and Events
- Make sure you read this chapter carefully it covers fundamentals that are the building blocks of everything else.
I'll go over an example of a small program.
Do the Walkthroughs in chapter 2:
I'll go over the Flag
Viewer program & answer any questions
3 for next time
3 - Variables, Constants, and Calculations
Flag viewer assignment due.
I'll come around and check these.
What is Critical Thinking?
Start the Hands-On
Programming Example page 145
- Very important chapter
- Talk about strings
- Bring in Questions!!
Continue with the
Assignment #2 - Very Very
Boards Page 158
Go over Calorie counter (image
of code at bottom of this page)
- Decisions and Conditions
Let's try a Loop problem:
|We covered IF statements, Functions and Procedures this week. Let's do a practice program with that on Friday in the Lab|
Image Consulting Example
Demonstrate a Case study
Piece Work Calculator - 4.6, page 207
- Common Dialog Boxes
- Sub Procedures
- Function Procedures
Menu and Function Example - The extension of the piecework
Calculator from last class.
Review for the exam
Friday Exam 1 - Will be on:
Chapters 1 thru 5
- If Statement
- Case Statement
Chapter 6 - Multiform Projects
Chapter 7 - Lists, Loops, and
- Do While
- Do Until
- For - Next Loops
Class example of the American to British Translations
|Continue with chapter 7
We can work on sorting
Write a simple program that sorts a file, we can use the egg file from way back, Use either bubble or selection sort.
Chapter 8 - 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.
Array examples in class.
Let's compute the average of a list of numbers. Make sure you load the numbers into an array first. Then loop again and determine the average. We are using an array as practice.|
List of Numbers
Example implementation of an
array of Records. We'll look at 8-1, but we're also going
to read the data in from a file. So it's a little of
chapter 11 also.
Continue with the previous
example, gathering some statistics of the data and determining
the poverty levels for problem 8-1
Let's look at 8-1 using a
2-d array instead of an array of records|
||Continue with implementing
the 2-D array
- Reading from a text file that is already on your computer
- Know How to append to a file,
close and reopen in append
... .=IO.File.AppendText("sample.txt") -> puts the write marker at the end of the file.
|Making a web page with
- Web Applications
||Let's do an old exam I dug
up, I want you to give it an honest try first.
|Continue with the exam
||Look at making
applications in VB|
do an example
Thanksgiving Break this week
Exam 2 November
Let's start the review. I'd like to go over more functions
Show example that uses a function. 5.3 page 249.
|Final Exam will be on ????|