Download presentation
Presentation is loading. Please wait.
Published byMorten Carstensen Modified over 6 years ago
1
An Introduction to Visual Basic .NET and Program Design
Chapter 1 An Introduction to Visual Basic .NET and Program Design
2
Introduction A program is a step-by-step series of instructions
Programming is the process of writing these instructions Programmers, or software developers, design and write programs An application is a collection of one or more programs designed to complete a specified task Program development is the process of writing applications
3
What is Microsoft Visual Basic .NET?
VB.NET is a programming environment that allows you to build programs for the Windows operating system or any system that supports Microsoft’s .NET architecture VB.NET is based on the Visual Basic programming language Evolved from BASIC (Beginner’s All-purpose Symbolic Instruction Code The process of writing a program using a programming language is called coding.
5
Programming and Application Development
Machine Cycle – how a computer processes information -- 4 Steps! Fetch – get line of code Decode – convert from programming language to machine language (Binary) Execute – execute the instructions Store – store the results – repeat cycle
6
Application Types Windows Applications
7
Application Types Web Applications
8
Application Types Console Applications
9
Application Types Windows Services
10
Application Types Web Services
11
Application Types Components
12
The Development Cycle
14
Phase 1 – Analyze Requirements
Verify the requirements are complete Make the initial determination that it is possible to solve the problem using a program List input and output data required Determine whether the input data is available for testing Ensure that the information provided explains how to convert the input data into output data so that a solution, or algorithm, can be developed
16
Phase 2 – Design Solution
Develop a logical model that illustrates the sequence of steps you will take to solve the problem Objects are smaller pieces of a program Object model – illustrates the attributes and methods of an object. Attributes -- values that determine, for example, the appearance of an object. Methods -- instructions that the object uses to perform actions or generate outputs.
17
Phase 2 – Design Solution
Object Model
18
Phase 2 – Design Solution
Flowcharts graphically represent the logic used to develop an algorithm Control structures, included in flowcharts, allow the programmer to specify the code that will execute only if a condition is met Pseudocode expresses the step-by-step instructions using keywords and depicts logical groupings or structures using indentation
20
Control Structures
21
Pseudocode
22
Storyboard
23
Phase 3 – Validate Design
Validate, or check, the program design Step through the solution with test data Compare the program design with the original requirements
24
Phase 4 – Implement Design
Write the code that translates the design into a program Create the user interface Create comments, or notes, within the code that explains the purpose of the code Test the code as it is written THIS IS WHERE IT GETS FUN! You tried to write a program … does it work? Does it do what you wanted it to do? Is it user-friendly?
25
Phase 4 – Implement Design
26
Phase 5 – Test Solution Test plan Make sure to set boundary values
Test cases Make sure to set boundary values
27
Phase 6 – Document Solution
Includes the requirements documents, program design documents, user interface documents, and documentation of the code Code should be archived electronically
28
Object-Oriented Programming and Object-Oriented Design
Data and the code that operates on the data are packaged into a single unit called an object Object-oriented design Represents the logical plan of a program as a set of interactions among objects and operations
29
Rapid Application Development
30
Chapter 1 Complete
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.