Home Robotics C++ Physics II AP Physics B Electronics AP Java Astronomy Independent Study Summer Session Contests  About
                                                       

Visual Basic 2009 Summer Session Notes

 

An outline of topics to be addressed each day is presented below. This list is not complete; additional items are covered for most classes. If students are absent, they should consult these pages and check with the instructor concerning material missed.

Summer Session Classes

 

Visual Basic

Astronomy

Mobile Robotics

C++

Java

Web Development

08:10 to 09:00

09:10 to 10:00

10:15 to 12:05

12:40 to 13:30

13:40 to 14:30

14:40 to 15:30

Course Notes

June 7th

Monday

Tuesday

Wednesday

Thursday

Friday

June 14th

Monday

Tuesday

Wednesday

Thursday

Friday

June 21st

Monday

Tuesday

Wednesday

Thursday

Friday

June 28th

Monday

Tuesday

Wednesday

Thursday

Friday

July 5th

Monday

Tuesday

Wednesday

Thursday

Friday

July 12th

Monday

Tuesday

Wednesday

Thursday

Friday


Vacuum Tube: 1946-1958 Transistor; 1959-1964 Integrated Circuit: 1965-1970      Microprocessor: 1971-present

Monday

¢ Food and Snack Menu

 

¢ Policies

    Ø Academy and Summer Session

    Ø Those of the instructor - the notebook I keep - visits to see principal - then dismissal

          è Not allowed during class: emails, surfing net, playing games, using cell phones

                 This is a computer science class - it is not a nursery 

          è No personal computers in classroom

          è Do not leave personal items in classroom at end of class - they will be removed and you may lose them

          è You cannot leave class early without written permission from parent in advance

          è No visits to classroom by others unless approved in advance by both Summer Session and me

          è Do not sit on desks or tables

          è Do not change configuration of computers in any way 

          è No hats, caps or sound devices etc. on head

          è All violations will be recorded in my notebook and appropriate action will be taken - without further warnings 

¢ Courses I teach at the Academy

¢ Class picture

¢ Introduction to the course

    Ø The instructor

    Ø The TA

    Ø The site: Notes, manual, assignments, schedule

¢ Teaching philosophy - LCD

     Ø Some have more background than others

     Ø Be considerate if at times I am covering (perhaps repeating) something you think you already know 

¢ Distribute Web site card

¢ Software Locations

¢ Downloading a free copy of the compiler: http://www.microsoft.com/express/download/

¢ Introduction to Visual Basic - the 2 components and a sample program

 

 

Tuesday

 

 

Wednesday

 

¢ Movie: Creation of the Computer

¢ Visual Basic Manual

¢ Visual Basic Programming

¢ Examples: declaring variables, manipulations, output

 

Thursday

 

¢ Distribute class picture - student notations

¢ Review exercise for the textbook

¢ Saving your work - be careful (review)

¢ Visual Basic Manual

¢ Visual Basic Programming (review)

     Ø The Boolean data type

     Ø If Then statements

¢ Examples: declaring variables, manipulations, output - decision making

¢ Submitting assignments

¢ Lab assignment 1: note: many are listed but do only as assigned - may change

¢ Control Statements

¢ Lab 1

 

Friday

 

¢ Upon entering classroom or lab (for Mobile Robotics) each day

      Ø Keyboards and mice are sanitized - disinfected each afternoon

      Ø TA will place hand sanitizer - disinfectant in your palm upon entering the lab each class

      Ø Must be used before touching a keyboard

¢ Lab 2

 

Monday

 

¢ Control Statements, Part 2

¢ Lab 2

¢ Methods and Random Numbers

 

Tuesday

 

¢ Methods and Random Numbers

¢ Lab 3

 

Wednesday

 

¢ Some additional comments on loops and the lab - starting point for loops depends on the problem

¢ Windows Applications: Example

¢ Student(s) present lab 3: Restaurant problem

¢ Lab 3 - note that lab 4 is optional

¢ Iliana presents Stars lab solution

 

Thursday

 

¢ Methods and Random Numbers

     Ø Picture Box: PictureBox1.Image = Image.FromFile("z:\monkey.jpg")

     Ø Properties: Set SizeMode to Auto 

¢ Visibility (a Boolean)

     Ø Setting a value using properties window

 

 

      Ø Setting in code: TextBox1.VIsible = False

¢ Lab 5 - Lucky 7

 

Friday

 

¢ Upon entering classroom or lab (for Mobile Robotics) each day

      Ø Keyboards and mice are sanitized - disinfected each afternoon

      Ø TA will place hand sanitizer - disinfectant in your palm upon entering the lab each class

      Ø Must be used before touching a keyboard

Picture Boxes

¢ Place Picture Box on Form

     Ø Open Tool Box

     Ø Select Picture Box and place it on the form

¢ Insert a picture (JPG) into the Picture Box

     Ø Right click on Picture Box and select Choose Image - or you can highlight the Picture Box and select Image from the Properties Window

     Ø Click Import, select the JPG

¢ Make the Picture Box invisible

     Ø Highlight the Picture Box

     Ø In Properties window, set the Visible property to False

¢ Adjust size of JPG in Picture Box

     Ø Highlight the Picture Box

     Ø Select SizeMode in the Properties window

     Ø Set to Stretch Image

¢ Make the Picture Box visible using code

     Ø PictureBox1.Visible = True

 

Adding Another Form

¢ Project

¢ Add Windows Form

¢ Windows Form

 

Going to another form using code

¢ Form2.Show

¢ Lab 4 - Arrays

 

Monday

 

¢ Movie: The Internet - Behind the Web

¢ Arrays

¢ Finish Lucky Seven

¢ Lab 4 - Arrays

 

Tuesday

 

¢ Movie Summary: The Internet - Behind the Web

¢ Arrays

¢ Lab 4 - Restaurant

 

Wednesday

 

¢ Status of Assignments Submitted

¢ Internet review exercise - winner receives a Visual Basic textbook

¢ Arrays

     Ø One and Two-Dimensional

     Ø Why I do not recommend using higher than two-dimensional - array of objects instead (covered later) 

¢ Sequential Search

¢ Passing arrays to a method

¢ Lab 4 - Restaurant

¢ Lab 5 - Restaurant - Optional

¢ Lab 6 - One Dimensional Arrays

 

Thursday

 

¢ Status of Assignments Submitted

¢ Arrays: Sorting

¢ Passing arrays to a method

¢ Lab 4 - Restaurant

¢ Lab 5 - Restaurant - Optional

¢ Lab 6 - One Dimensional Arrays

¢ Lab 7 - One Dimensional Arrays - Operations

¢ age - for possible use in the lab(s)

 

Friday

 

¢ Status of Assignments Submitted

¢ Addition to Quotations page

¢ Lab 7 - One Dimensional Arrays - Operations

 

Monday

 

¢ Status of Assignments Submitted

¢ Strange words and phrases

¢ Graphics

¢ Lab 8

 

 

Tuesday

 

¢ Status of Assignments Submitted

¢ Graphics

¢ Lab 8

 

Wednesday

 

¢ Status of Assignments Submitted

¢ Do the labs - I will help if asked - you will get almost nothing out of computer science (and most other courses) if you do not work representative problems.

¢ Graphics

¢ Summer Session Performances, etc.

 

 

Thursday

 

¢ Status of Assignments Submitted

¢ A note on the languages I teach

     Ø Some commentary on "10 cent comic books" 

     Ø I am teaching the language using the latest version of Visual Basic (published by Microsoft) according to generally accepted programming

           practices and style (worldwide)

     Ø Please do not use antiquated syntax in my classes - the code will not work on most modern compilers (like the one I am using)

¢ Lab 9

 

Friday

 

¢ Status of Assignments Submitted

¢ Bill Gates Frustrated EMail: http://blog.seattlepi.nwsource.com/microsoft/archives/141821.asp

¢ Graphics

¢ Lab 10

 

Monday

 

¢ Status of Assignments Submitted

¢ Graphics

¢ Lab 10

 

Tuesday

 

¢ Status of Assignments Submitted

 

 

Tuesday

 

¢ Status of Assignments Submitted

¢ Work on Rocket Lab

¢ Presentation 1

 

Wednesday

 

¢ Status of Assignments Submitted

¢ Approximating Pi - discussion

¢ Presentation 2

¢ Vote for winner

¢ Lab 11

 

Thursday

 

¢ Status of Assignments Submitted

¢ Lab 11

 

Friday

 

¢ Status of Assignments Submitted

 

Monday

 

¢ Status of Assignments Submitted

¢ The Learning Curve

¢ Strings

¢ Lab 11

 

Tuesday

 

¢ Status of Assignments Submitted

¢ Strings

¢ Labs 12 and 13

 

Wednesday

 

¢ Status of Assignments Submitted

¢ Pi lab contest: Megan, Illiana, Nicky

 

Thursday

 

¢ Status of Assignments Submitted

¢ Megan won the Pi lab contest - book award

Last 2 labs - Labs 12 and 13

 

Friday

 

¢ Status of Assignments Submitted

¢ Results of review exercise: lowest to highest score

     Brenna (lowest)

      Aaron

      Nick

      Chris

      Benjamin

      Rebecca

      Armin

      Jon

      Khiem

      Brandon

      Ryan

      Megan

      Iliana

      Gabe

      Nicky (highest)

¢ Course review:

      Ø Movies

               t Creation of the Computer

               t The Internet - Behind the Web

      Ø Origins of Visual Basic

     Ø Data Types

     Ø Math operations

     Ø Logic operators 

     Ø Compilers

     Ø Console and Windows Programs 

     Ø Pseudocode 

     Ø Control Statements 

     Ø Methods and parameters

     Ø Random numbers 

     Ø Passing by reference and passing by value 

     Ø Random Numbers

     Ø Arrays: one and two-dimensional

     Ø Sorting: Bubble, Selection, and Insertion

     Ø Graphics 

     Ø Strings 

¢ Some thoughts in conclusion

      ð The game of life and the scrap heap of history

     ð The fallacy of osmosis as a learning approach 

     ð A useful experience or a lost opportunity 

¢ Summer Session PowerPoint pictures   

¢ The Chase