Visual Basic

From WLCS
Revision as of 14:26, 9 November 2009 by Admin (talk | contribs)

Monday (11/9/09)

Warmup:

  • Create a program with a textbox and a button
  • When the button is clicked, take the number from the textbox and store it in a double variable named x
  • Double the value of x by saying x = 2 * x;
  • Convert x to a string and put it back into the textbox

Agenda:

  • Review types and variables
  • Demo your basic math program
  • GPA calculator

Thursday (11/5/09)

Warmup:

  • Create a form that has the following:
    • a blue background
    • 4 buttons, one in each corner. The buttons should have the following written on them:
      • "Go"
      • "Washington"
      • "Lee"
      • "Generals"
    • a label in the middle
      • When you hit each of the buttons, the label in the middle should say the word in the button

Agenda:

  • Review labels, buttons, and textboxes
  • Introduction to types
  • Introduction to variables
  • Demo your basic math program

Monday (11/2/09)

  • Introduction to Visual C#
    • Creating a new Project
    • Toolbox and objects
    • Properties window
    • Designer window vs. Code window
  • Visual C# Tutorials

Thursday (10/29/09)

  • Demo any missing assignments
  • Lego Mindstorms Cleanup
    • Dismantle your Lego Mindstorms robot
    • Verify all parts using the parts sheet.
    • Show Mr. Bui that all your parts are accounted for.

Tuesday (10/27/09)

Wednesday - Friday (10/21/09 - 10/23/09)

  • Demo the Lego programs using the Mindstorms graphical programmer
  • Challenge 1: Program your robot so that it travels across the room avoiding obstacles
  • Challenge 2: Program your robot to find obstacles and hit/attack them

Thursday - Monday (10/15/09 - 10/19/09)

  • Finish Lego demos
  • Begin working with the Lego Mindstorms software

Tuesday (10/13/09)

  • Download and read quickly through Lego Mindstorms User Guide
  • Be sure to try out the sample programs on Page 16
  • Complete the following three demos for Mr. Bui:
    1. Program your robot to travel in circles forever
    2. Program your robot to bounce and travel around using the touch sensor and ultrasonic sensor
    3. Program your robot to move back and forth, reacting to clapping hands

Tuesday - Thursday (10/6/09 - 10/8/09)

Friday (10/2/09)

Archives