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

Slides:



Advertisements
Similar presentations
Chapter 1 - An Introduction to Computers and Problem Solving
Advertisements

Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
© Janice Regan Problem-Solving Process 1. State the Problem (Problem Specification) 2. Analyze the problem: outline solution requirements and design.
McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 14 Programming and Languages.
Computers: Tools for an Information Age
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Visual Basic Introduction IDS 306 from Shelly, Cashman & Repede Microsoft Visual Basic 5: Complete Concepts and Techniques.
Chapter 2: Developing a Program Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
© 2006 Pearson Addison-Wesley. All rights reserved2-1 Chapter 2 Principles of Programming & Software Engineering.
McGraw-Hill Technology Education © 2006 by the McGraw-Hill Companies, Inc. All rights reserved CHAPTER PROGRAMMING AND LANGUAGES.
1414 CHAPTER PROGRAMMING AND LANGUAGES. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved Competencies Describe the six steps of programming.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Chapter 1 Introduction to Computers and C++ Programming.
© Paradigm Publishing Inc Chapter 12 Programming Concepts and Languages.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 1 – Introduction to Computers, the Internet, and the Web Outline 1.1 Introduction 1.2 What Is a.
Chapter 13 Programming Languages and Program Development 1.
Introduction 01_intro.ppt
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
CSE 1340 Introduction to Computing Concepts Class 2.
Module 1: Introduction to C# Module 2: Variables and Data Types
 2002 Prentice Hall. All rights reserved. 1 Introduction to Visual Basic.NET,.NET Framework and Visual Studio.NET Outline 1.7Introduction to Visual Basic.NET.
Microsoft Visual Basic 2005: Reloaded Second Edition
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 2: Developing a Program.
CHAPTER ONE Problem Solving and the Object- Oriented Paradigm.
Programming Lifecycle
TMF1013 : Introduction To Computing Lecture 1 : Fundamental of Computer ComputerFoudamentals.
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Computer Concepts 2014 Chapter 12 Computer Programming.
Discovering Computers 2009 Chapter 13 Programming Languages and Program Development.
CHAPTER ONE Problem Solving and the Object- Oriented Paradigm.
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
Chapter 11 An Introduction to Visual Basic 2005 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
The basics of the programming process The development of programming languages to improve software development Programming languages that the average user.
Programming and Languages
© 2006 Pearson Addison-Wesley. All rights reserved2-1 Chapter 2 Principles of Programming & Software Engineering.
1 Chapter 1 Programming Languages Evolution of Programming Languages To run a Java program: Java instructions need to be translated into an intermediate.
Chapter 14 Programming and Languages McGraw-Hill/Irwin Copyright © 2008 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 1 Introduction Visual Basic.NET. Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al-ajmi 2 Objectives Explain what Visual Basic is Contrast.
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
Introduction to Computer Programming using Fortran 77.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
INTRODUCTION TO COMPUTER PROGRAMMING(IT-303) Basics.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Introduction to Problem Solving Programming is a problem solving activity. When you write a program, you are actually writing an instruction for the computer.
Java Programming, 3e Concepts and Techniques Chapter 1 Section 56 – An Introduction to Java.
PROGRAMMING (1) LECTURE # 1 Programming and Languages: Telling the Computer What to Do.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
Chapter 1 – Introduction to Computers, the Internet, and the Web
Introduction to Visual Basic 2008 Programming
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
An Introduction to Visual Basic .NET and Program Design
VISUAL BASIC – CHAPTER ONE NOTES An Introduction to Visual Basic
CIS16 Application Development – Programming with Visual Basic
Chapter 1 Introduction(1.1)
and Program Development
Presentation transcript:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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)

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

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

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

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

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

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)

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

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

Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 Complete