PROBLEM SOLVING The first step in writing instructions to carry out a task is to determine what the output should be (What should the task produce?)

Slides:



Advertisements
Similar presentations
What Was I Thinking??. Key Terms 1. Control 1. Control 2. Design Mode 2. Design Mode 3. Event 3. Event 4. Form 4. Form 5. Interface 5. Interface 6. Properties.
Advertisements

An Introduction to Visual Basic Terms & Concepts.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
AA high level programming language. IIt is created by Microsoft. UUses a graphical environment called the Integrated Development Environment (IDE).
Chapter 1 - An Introduction to Computers and Problem Solving
Chapter 2 - Problem Solving
Chapter 2 - Problem Solving
Creating an OOED Application
Chapter 1 - An Introduction to Computers and Problem Solving
Introduction to Visual Basic Programming. Lecture Outline History What is Visual Basic First Look at the VB 6.0 Environment Some VB Terminology Our first.
Chapter 2- Visual Basic Schneider
PROBLEM SOLVING The first step in writing instructions to carry out a task is to determine what the output should be (What should the task produce?) The.
The Program Development Cycle and Program Design Tools
Computers: Tools for an Information Age
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Visual Basic.net IDE. Integrated Development Environment.
Objectives Machine language vs.. High-level language Procedure-oriented, object-oriented, and event- driven languages Background of Visual Basic VB Integrated.
Introduction to Visual Basic. What is Visual Basic? An environment for developing Windows applications Components –A GUI (Graphical User Interface - gooey)
A Tour of Visual Basic BACS 287. Early History of Basic Beginners All-Purpose Symbolic Instruction Code An “Interpreted” teaching language English-like.
Introduction to Programming and Visual Basic
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Visual Basic Chapter 1 Mr. Wangler.
1 Chapter 1 - An Introduction to Computers and Problem Solving 1.1 An Introduction to Computers 1.2 Windows, Folders, and Files 1.3 Program Development.
CS 0004 –Lecture 8 Jan 24, 2011 Roxana Gheorghiu.
Microsoft Visual Basic 2005: Reloaded Second Edition
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
An Introduction to Visual Basic
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
Chapter 1 - VB 2008 by Schneider1 Chapter 1 - An Introduction to Computers and Problem Solving 1.1 An Introduction to Computers 1.2 Windows, Folders, and.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
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.
Chapter 3 Introducing Visual Basic
Introduction It is developed to create software applications. It is a tool for developers of any program that uses both basic and expert settings. It.
1 Course Title: Visual Basic Programming Topic: Introduction to programming Languages (Visual basic 6.0) Lecturer: Mahamud Ahmed Jimale, BsIT, MsCs, CCNA,
§Visual - A method used to create GUI applications. §BASIC - Beginner’s All - purpose Symbolic Instruction Code developed by John Kemeny. §VB- Evolved.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Chapter 1 - VB 2008 by Schneider1 Chapter 1 - An Introduction to Computers and Problem Solving 1.1 An Introduction to Computers 1.2 Windows, Folders, and.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
INFORMATION SYSTEM – SOFTWARE TOPIC: GRAPHICAL USER INTERFACE.
Chapter 2 - VB 2005 by Schneider- modified by S. Jane '081 Chapter 2 - Problem Solving 2.1 Program Development Cycle 2.2 Programming Tools.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.
1 Visual Basic: An Object Oriented Approach 7 – The User interface.
Introduction to Computer CC111
Chapter Topics 15.1 Graphical User Interfaces
An Introduction to Computers and Visual Basic
Chapter 2- Visual Basic Schneider
System Design.
1. Introduction to Visual Basic
An Introduction to Computers and Visual Basic
An Introduction to Visual Basic
VB 6.0.
An Introduction to Visual Basic .NET and Program Design
Visual Basic Project Development Environment
VISUAL BASIC.
Chapter 2- Visual Basic Schneider
Visual Basic Project Development Environment
Chapter 2- Visual Basic Schneider
An Introduction to Computers and Visual Basic
Chapter 15: GUI Applications & Event-Driven Programming
Presentation transcript:

PROBLEM SOLVING The first step in writing instructions to carry out a task is to determine what the output should be (What should the task produce?) The second step is to identify the data, or input, necessary to obtain the output The final step is to determine how to process the input to obtain the desired output INPUT PROCESSING OUTPUT

PROGRAM DESIGN TOOLS Flowcharts: graphically depict the logical steps to carry out a task and show how the steps relate to each other Pseudocode: uses English-Like phrases with some (Visual Basic) terms to outline the task Hierarchy Charts: show how the different parts of the program relate to each other (referred to as Structure Charts, HIPO (Hierarchy plus Input-Process-Output) Charts, Top-Down Charts or VTOC (Visual Table of Contents) Charts.)

PROCESS CUSTOMER NUMBER RENTING A VIDEO START GET CUSTOMER NUMBER Valid VALIDATE NUMBER Invalid GET VIDEO NUMBER PROCESS CUSTOMER NUMBER VALIDATE NUMBER Invalid Valid RENTAL PROCESS REFUSE RENTAL PROCESS END

Event-Driven Programming - work with Events Achieve program clarity through Structured Programming Event-Driven Programming Object-Oriented Programming Newer Methodologies Event-Driven Programming - work with Events Object-Oriented Programming - work with Objects The internal structure of Objects and Events is best built using Structured Programming Techniques Also, the logic of manipulating objects is occasionally best expressed with Structured Programming

What is Visual Basic? Visual Basic (VB) is a Microsoft Windows programming language (SOFTWARE development language) Visual Basic is derived from the BASIC (Beginners All-purpose Symbolic Instruction Code) programming language BASIC was developed in the mid-1960s The widespread use of BASIC led to many enhancements to the language In the late 1980s and early 1990s, with the development of the Microsoft Windows (Graphic User Interface) GUI, the natural evolution of BASIC was Visual Basic (created by Microsoft in 1991)

VB greatly simplifies the development of Microsoft Windows-based Applications Since 1991, 6 versions of VB have been released, with the latest Visual Basic 6 appearing in September 1998. Microsoft provides several versions of VB, namely the Learning Edition, the Professional Edition and the Enterprise Edition VB programs are created in an Integrated Development Environment (IDE). The IDE allows a programmer to create, run and debug VB programs conveniently. The process of rapidly creating an application is typically referred to as Rapid Application Development (RAD). VB is the most widely used RAD language.

The Visual Basic Environment In using VB you will learn to write computer programs that run in the Microsoft Windows environment Projects will look and act like standard Windows programs VB provides the tools you need to create windows with familiar elements like: Menus, Text Boxes, Command Buttons, Option Buttons, Check Boxes, List Boxes, and Scroll Bars

Microsoft Windows uses a Graphic User Interface (GUI) The Windows GUI defines how the various elements look and function Within VB there is a Toolbox of these elements In VB you will create new Windows called Forms Using the toolbox to add the various elements, called Controls, to the form VB programming is known as Event-Driven Programming

In VB you work with Objects, which have Properties and Methods Objects: Think of an Object as a thing, or a noun Examples of Objects are Forms and Controls Forms are the Windows and Dialog Boxes that you place on the screen Controls are the elements you place inside a form, such as Text Boxes, Command Buttons, and List Boxes

Properties: Think of Properties as adjectives that describe objects Properties tell something about an Object, such as the name, colour, size, location, and how it will behave When you refer to a Property [1] Name the Object [2] Name the Property (Example: Form1.Caption) The Caption Property of the Object (Form) called Form1

Methods: Methods are the verbs of Object-Oriented Programming Methods are Actions associated with Objects Example of Methods include Move, Print, Resize, and Clear Refer to Methods as: Object.Method (Example: Form1.Print) Sends output (Prints) to the Object (Form) called Form1 (Question: What does this Method refer to?) Printer.Print