Presentation is loading. Please wait.

Presentation is loading. Please wait.

Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.

Similar presentations


Presentation on theme: "Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design."— Presentation transcript:

1 Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design

2 Chapter 1: An Introduction to Visual Basic.NET and Program Design 2 Objectives Describe Visual Basic.NET Describe the Visual Basic programming language Describe programs, programming, applications, and program development Identify each of the phases in the development cycle Define an algorithm

3 Chapter 1: An Introduction to Visual Basic.NET and Program Design 3 Objectives Define objects, attributes, and methods Explain object-oriented programming (OOP) and object-oriented design (OOD) Describe rapid application development (RAD) Identify the key components of.NET

4 Chapter 1: An Introduction to Visual Basic.NET and Program Design 4 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 Program development is the process of writing applications

5 Chapter 1: An Introduction to Visual Basic.NET and Program Design 5 What is Microsoft Visual Basic.NET? Programming environment that allows you to build programs for the Windows operating system or any system that supports Microsoft’s.NET architecture Based on the Visual Basic programming language –Evolved from BASIC (Designer’s All-purpose Symbolic Instruction Code

6 Chapter 1: An Introduction to Visual Basic.NET and Program Design 6

7 7 Programming and Application Development Stored program – when a program starts to run, its instructions are placed into the computer’s memory Machine Cycle Fetch - the 1 st instruction is located and sent to the control unit Decode - where it is translated into a form the computer can understand Execute – then the instruction is carried out Stored –the result of that instruction is placed in memory

8 Chapter 1: An Introduction to Visual Basic.NET and Program Design 8 Application Types Windows Applications uses GUI (graphical user interface)

9 Chapter 1: An Introduction to Visual Basic.NET and Program Design 9 Application Types Web Applications

10 Chapter 1: An Introduction to Visual Basic.NET and Program Design 10 Application Types Console Applications

11 Chapter 1: An Introduction to Visual Basic.NET and Program Design 11 Application Types Windows Services –a service program runs in an operating system and performs such tasks as maintenance, information gathering, security and notification but requires no user interaction

12 Chapter 1: An Introduction to Visual Basic.NET and Program Design 12 Application Types Web Services

13 Chapter 1: An Introduction to Visual Basic.NET and Program Design 13 Application Types Components – function as a prebuilt program that can be used by other programs or applications to complete a task or process; provide benefit of reusability

14 Chapter 1: An Introduction to Visual Basic.NET and Program Design 14 The Development Cycle

15 Chapter 1: An Introduction to Visual Basic.NET and Program Design 15

16 Chapter 1: An Introduction to Visual Basic.NET and Program Design 16 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

17 Chapter 1: An Introduction to Visual Basic.NET and Program Design 17 Phase 1 – Analyze Requirements Ensure that the information provided explains how to convert the input data into output data so that a solution, or algorithm, can be developed

18 Chapter 1: An Introduction to Visual Basic.NET and Program Design 18

19 Chapter 1: An Introduction to Visual Basic.NET and Program Design 19 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 –Attributes –Methods

20 Chapter 1: An Introduction to Visual Basic.NET and Program Design 20 Phase 2 – Design Solution Object Model

21 Chapter 1: An Introduction to Visual Basic.NET and Program Design 21 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

22 Chapter 1: An Introduction to Visual Basic.NET and Program Design 22

23 Chapter 1: An Introduction to Visual Basic.NET and Program Design 23 Control Structures –portions of a program that allows the programmer to specify that code will be executed only if a condition is met

24 Chapter 1: An Introduction to Visual Basic.NET and Program Design 24 Pseudocode –also used by programmers to develop the logic of an algorithm (solution) for a program; expresses the step-by-step instructions using keywords, and depicts logical groupings or structures using indentation

25 Chapter 1: An Introduction to Visual Basic.NET and Program Design 25 Storyboard- hand-drawn sketch of how the application window or Web page will look

26 Chapter 1: An Introduction to Visual Basic.NET and Program Design 26 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

27 Chapter 1: An Introduction to Visual Basic.NET and Program Design 27 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

28 Chapter 1: An Introduction to Visual Basic.NET and Program Design 28 Phase 4 – Implement Design

29 Chapter 1: An Introduction to Visual Basic.NET and Program Design 29 Phase 5 – Test Solution Test plan –Test cases Integration testing – if several programs comprise a finished application Boundary values – are values that cause a certain rule to become effective; example- the 200 value in this program

30 Chapter 1: An Introduction to Visual Basic.NET and Program Design 30 Phase 6 – Document Solution Includes the requirements documents, program design documents, user interface documents, and documentation of the code Code should be archived electronically (Complete flowchart on pg. 1.30)

31 Chapter 1: An Introduction to Visual Basic.NET and Program Design 31 Object-Oriented Programming and Object-Oriented Design Object-oriented programming –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

32 Chapter 1: An Introduction to Visual Basic.NET and Program Design 32 Objects Aggregation –An object composed of other objects Class –Programmatic implementation, or description, of an object Unified Modeling Language –System of symbols used to describe object behaviors and interaction

33 Chapter 1: An Introduction to Visual Basic.NET and Program Design 33 Rapid Application Development – refers to the use of prebuilt objects to make program and application development much faster

34 Chapter 1: An Introduction to Visual Basic.NET and Program Design 34 Rapid Application Development attributes Methods

35 Chapter 1: An Introduction to Visual Basic.NET and Program Design 35 What is.NET? - encompasses a series of technologies that allows almost any type of application to run in a common environment.NET Framework- The common environment

36 Chapter 1: An Introduction to Visual Basic.NET and Program Design 36 The Common Language Runtime Takes control of the application and runs the application under the operating system Microsoft Intermediate Language (MSIL)

37 Chapter 1: An Introduction to Visual Basic.NET and Program Design 37 Summary Describe Visual Basic.NET Describe the Visual Basic programming language Describe programs, programming, applications, and program development Identify each of the phases in the development cycle Define an algorithm

38 Chapter 1: An Introduction to Visual Basic.NET and Program Design 38 Summary Define objects, attributes, and methods Explain object-oriented programming (OOP) and object-oriented design (OOD) Describe rapid application development (RAD) Identify the key components of.NET

39 Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 Complete


Download ppt "Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design."

Similar presentations


Ads by Google