CIS 159 Programming Introduction - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

CIS 159 Programming Introduction

Description:

You have 4 minutes in you group to build an 8' tall, free-standing, tower from ... the ignition key, turning the steering wheel, pressing the brake or gas pedals. ... – PowerPoint PPT presentation

Number of Views:31
Avg rating:3.0/5.0
Slides: 16
Provided by: stephenh2
Category:

less

Transcript and Presenter's Notes

Title: CIS 159 Programming Introduction


1
CIS 159Programming Introduction
  • Stephen F. Hustedde

2
The Tinker Toy Tower Challenge I
  • You have 4 minutes in you group to build an 8
    tall, free-standing, tower from the floor using
    the Tinker toys provided.

3
The Tinker Toy Tower Challenge II
  • You will have 2 minutes in you group to build an
    8 tall, free-standing, tower from the floor
    using the Tinker toys provided and 5 minutes to
    plan how to do it.

4
The Tinker Toy Challenges
  • What did you learn?

5
Building with Tinker Toys is like Programming
with Visual Basic
6
Apollo 13
  • The craft is damaged and the moon landing mission
    has been aborted. But one of many problems that
    the crew faced before they return safely is how
    to overcome the rising carbon dioxide levels in
    the lunar module. The filter was designed to
    handle the breathing of two people, not three.

7
The Programming Process
  • PLANNING STAGE
  • Conceptualization (Houston, we have a problem)
  • Brainstorming
  • Storyboarding
  • Algorithm Development
  • Flowcharting and/or Pseudocode

8
The Programming Process
  • PRODUCTION STAGE
  • Coding
  • Testing
  • Debugging

9
The Programming Process
  • PACKAGING STAGE
  • Documentation
  • Distribution

10
Building with Objects
  • Properties (Attributes)Alters the physical
    appearance or behavior of an object. Examples
    color, size, font used, whether an object
    responds to an event (enabled/disabled),
    position, style (3D or flat), etc.An automobile
    can be described by make, model, color, size,
    age, condition, etc.

11
Building with Objects
  • MethodsBuilt-in abilities that an object can
    perform. For example methods of an automobile
    would be starting the engine, turning left or
    right, braking, etc.

12
Building with Objects
  • EventsUser actions to which an object responds.
    Events generally invoke methods.In an
    automobile, the car responds to the driver
    turning the ignition key, turning the steering
    wheel, pressing the brake or gas pedals . . .

13
A VCR is an Object
  • Properties
  • Methods
  • Events

14
A Dog is an Object
  • Properties
  • Methods
  • Events

15
Visual Basic apps are mode of objects
  • Buttons
  • Textboxes
  • Labels
  • Forms
  • Comboboxes
  • Pictureboxes
  • Menus
  • Timers
  • Radio Buttons
  • Scrollbars
  • Dialog boxes
  • Panels
  • Groupboxes
  • And more!
Write a Comment
User Comments (0)
About PowerShow.com