160 likes | 230 Views
Learn the basics of programming with Visual Basic 2005. Understand program development, create Windows applications, and design user interfaces. Explore the life cycle of program development from requirements gathering to deployment and maintenance.
E N D
SCOPE Visual Basic Hands-on Training
Objectives • Understand what is a program • Understand what programming is • Understand the program development life cycle • Create a Visual Basic 2005 Windows Application project Chapter 2: Program and Graphical User Interface Design
What is a Computer Program? A set of instructions that tells the computer hardware how to obtain input, what action to perform, and the output to produce. Chapter 2: Program and Graphical User Interface Design
What Programs Do • Input Data (Values) • Process (Calculations) • Output Results (Information) Chapter 2: Program and Graphical User Interface Design
What is a Developer? One who develops a program (application) by writing the instructions (code) to produce a desired results, also referred to as a software engineer or computer programmer. Chapter 2: Program and Graphical User Interface Design
Program Development Life Cycle • Set of phases and steps that are followed by developers to design, create, and maintain a computer program • Gather and Analyze the Program Requirements • Design the User Interface • Design the Program Processing Objects • Code the Program • Test the Program • Document the Program/System • Deploy the Program/System • Maintain the Program/System Chapter 2: Program and Graphical User Interface Design
Phase I: Gather and Analyze the Program Requirements • Gather project requirements by interviewing users, reviewing current procedures, and completing other fact-gathering tasks • Two types of requirements documentation • Requirements document • Use Case Definition or OIP Chapter 2: Program and Graphical User Interface Design
OIP Form Chapter 2: Program and Graphical User Interface Design
Phase 2: Design the User Interface • Developers sometimes spend 25% to 40% of the program design time on the user interface • Presentation layer • Use Visual Studio to create the user interface • Interface designs are often called mock-ups Chapter 2: Program and Graphical User Interface Design
Problem Definition • You are to create a hotel room selection program. Chapter 2: Program and Graphical User Interface Design
Phase 3 – Design the Program Chapter 2: Program and Graphical User Interface Design
OEA Form (1) Chapter 2: Program and Graphical User Interface Design
OEA Form (2) Chapter 2: Program and Graphical User Interface Design
Phase 4/5 – Code and Test the Program • After the events and tasks within the events have been identified, the developer is ready to code the program • Entering Visual Basic statements to accomplish the tasks specified on the event planning document • Developer enters the code and implements the logic Chapter 2: Program and Graphical User Interface Design