Introduction to Programming in VB Chapter 1. 2 Software Development Life Cycle Gather Requirements Design Program Code & Test Program Implement u Software.

Slides:



Advertisements
Similar presentations
ALGORITHMS AND FLOWCHARTS
Advertisements

Windows Basics An Introduction to the Windows Operating System.
CE 311 K Introduction to Computer Methods VB Controls and Events Daene C. McKinney.
PROBLEM SOLVING TECHNIQUES
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Introduction to Programming
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.
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- Visual Basic Schneider1 Chapter 2 Problem Solving.
1 CS 106, Winter 2009 Class 4, Section 4 Slides by: Dr. Cynthia A. Brown, Instructor section 4: Dr. Herbert G. Mayer,
Chapter 2- Visual Basic Schneider
Algorithm Design CS105. Problem Solving Algorithm: set of unambiguous instructions to solve a problem – Breaking down a problem into a set of sub- problems.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Chapter 3 Planning Your Solution
Introduction To Visual Basic 6. Announcements  Thursday, Oct 9th, 7:30PM, C106 Lloyd Douglas (NSF) Diversity in Science-Who needs it? 5 extra credits.
Microsoft Visual Basic 2012 CHAPTER TWO Program and Graphical User Interface Design.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
Introduction 01_intro.ppt
Introducing Java.
Introduction to Programming Lecture Number:. What is Programming Programming is to instruct the computer on what it has to do in a language that the computer.
CS 0004 –Lecture 8 Jan 24, 2011 Roxana Gheorghiu.
CS 7: Introduction to Computer Programming Algorithms.
Visual Basic 2005 SCOPE Visual Basic Hands-on Training.
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?)
Visual Basic 2005 CHAPTER 2 Program and Graphical User Interface Design.
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: An Introduction to Programming Using Visual Basic 2012, All Rights ReservedAn Introduction.
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.
Basic Controls & Properties Chapter 2. Overview u VB-IDE u Basic Controls  Command Button  Label  Text Box  Picture Box u Program Editor  Setting.
 Application – another name for a program.  Interface – is what appears on the screen when the application is running.  Program Code – is instructions.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Chapter 7 Software Engineering Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Flowcharts and Algorithms. Review of Terms  A computer is a machine that can represent and manipulate data –Ultimately the data and the instructions.
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.
Cs413_design04.ppt Design and Software Development Design : to create a functional interface that has high usability Development : an organized approach.
Windows NT1 In the lower left hand corner of the Windows screen we see the Windows Start button. The My Computer icon is at the top of the window. Other.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
CS221 Algorithm Basics. What is an algorithm? An algorithm is a list of instructions that transform input information into a desired output. Each instruction.
Connecting with Computer Science2 Objectives Learn how software engineering is used to create applications Learn some of the different software engineering.
Microsoft Visual Basic 2010 CHAPTER TWO Program and Graphical User Interface Design.
How to Back Up In 10 Easy Steps. Step 1: Double click on My computer. You should see something like this. WatchWatch.
Presented by: Mr. Pugh’s Class 2011 Ingredients Peanut Butter Jelly Two Slices of Bread.
LESSON 1 Introduction to Programming Language. Computer  Comprised of various devices that are referred to as HARDWARE.  The computer programs that.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
How Computers Solve Problems Computers also use Algorithms to solve problems, and change data into information Computers can only perform one simple step.
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.
Chapter 1: Introduction to Computers and Programming.
ALMAJMA'AH UNIVERSITY College of Science and Humanitarians Studies in Alghat Information Technology Section (211Tal course)
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.
Informational Writing (Procedural) ELACC5W2: Write informative/explanatory texts to examine a topic and convey ideas and information clearly. EQ: How can.
Introduction To Visual Basic 6
Introduction to Visual Basic 2008 Programming
Principles of Programming I (CIE 105)
Chapter 2- Visual Basic Schneider
Algorithm and Ambiguity
Program and Graphical User Interface Design
Chapter 1 - An Introduction to Computers and Problem Solving
An Introduction to Visual Basic .NET and Program Design
Program and Graphical User Interface Design
VISUAL BASIC – CHAPTER ONE NOTES An Introduction to Visual Basic
Chapter 2- Visual Basic Schneider
Chapter 2- Visual Basic Schneider
Click to add Text Computers & Instructions. Computers are given instructions in the form of computer programs that are created through the development.
An Introduction to the Windows Operating System
Presentation transcript:

Introduction to Programming in VB Chapter 1

2 Software Development Life Cycle Gather Requirements Design Program Code & Test Program Implement u Software Development has four main phases  Gathering Requirements  Program Design  Coding & Testing the Program  Implementing the Program

3 CS132 Development Life Cycle Gather Requirements Design Program Code & Test Program Implement u Get requirements document from D2L  Make sure you understand the requirements u Design the form layout u Add code to the program to meet the requirements u Test the program under several possible scenarios u Submit program for grading in the D2L dropbox

4 Program Design Basics u A software developer must  Design the visual elements (user interface) and logical function of the program to meet the given specifications  The design is language independent; could be described using flowcharts or pseudocode  Implement this design by writing code that is  functional  easily understood by another programmer  Think of the target audience of a program as being other programmers, not just the computer

5 Design Tools u Algorithm - finite set of unambiguous instructions, that when given a set of input values, produces the desired outputs, then stops  Like a recipe  Often given in pseudocode, a programming language- like set of natural language instructions  or with a flowchart, a graphical language used to communicate the logic of a program

6 Describing an Algorithm with Pseudocode u Consider the task of making a peanut butter and jelly sandwich  Given a jar of peanut, a jar of jelly, a loaf of sliced bread, and a knife:  Take two bread slices from the loaf  Open jelly jar; use knife to apply jelly to one slice of bread  Open peanut butter jar; use knife to apply peanut butter to the other slice of bread  Place the bread slices together u What is left out?

7 Flowcharts u An alternative, graphical way to describe a program’s design Program Flowchart

8 Implementing design u To complete our software projects we will need to  Understand file management in Windows  Access the CEAS computer labs  Become familiar with the Visual Basic Integrated Development Environment (IDE)  Find information using VB Help

9 The Windows File System u Double clicking on the “My Computer” icon will invoke the process shown u There are four views of the data, two are shown u Normally, only one view of the window will appear until you open sub-menus

10 Copying Files u Open two “My Computer” windows, one for the area with files in it and one for the destination area u Mark file(s) in first window to be copied u Click on Edit-Copy u Move to other window u Click on Edit-Paste

11 Single and Multiple Files (1) Click left hand button to select one file and to deselect all others (2) While holding down Ctrl, click to add a file to selection list (3) While holding down Shift, click to add a range of files to selection list click ctrl-click shift-click

12 (Hint for Later) This business of Click, Ctrl-Click, and Shift-Click will come in very handy later when you wish to select Objects in Visual Basic (VB) for various kinds of manipulation When you want to resize, change font, or move a group of objects, the Ctrl and Shift-Click will really works to your advantage

13 Visual Basic (VB) u We will be using the Engineering Laboratory to study programming in the Visual Basic Language u In the pictures that follow we will examine how that tool is installed in the Engineering Laboratory, other machines will most certainly differ