Download presentation
Presentation is loading. Please wait.
Published byChloe Dennis Modified over 6 years ago
1
Chapter 1 - An Introduction to Computers and Problem Solving
1.2 Windows, Folders, and Files 1.3 Program Development Cycle 1.4 Programming Tools Chapter 1 - VB 2008 by Schneider
2
Chapter 1 - VB 2008 by Schneider
Visual Basic 2008 BASIC originally developed at Dartmouth in the early 1960s Visual Basic created by Microsoft in 1991 Visual Basic 2008 is similar to original Visual Basic, but more powerful Chapter 1 - VB 2008 by Schneider
3
Chapter 1 - VB 2008 by Schneider
XP versus Vista Windows XP Windows Vista Chapter 1 - VB 2008 by Schneider
4
Chapter 1 - VB 2008 by Schneider
Mouse Actions: Hover Drag and drop Click Right-click Double-Click Pointing means moving your mouse across your desk until the mouse pointer is over the desired object on the screen. Hovering means to linger the mouse at a particular place and wait for a message or menu to appear. Clicking (sometimes people say single-clicking) means pressing and releasing the left mouse button once. Whenever a sentence begins “Click on ,” you need to 1. move the mouse pointer until it is at the object you are supposed to click on and 2. press and release the left mouse button. An example of a sentence using this jargon might be “Click on the button marked Yes.” You also will see sentences that begin “Click inside the ” This means to move the mouse pointer until it is inside the boundaries of the object, and then click. Double-clicking means clicking the left mouse button twice in quick succession (that is, pressing it, releasing it, pressing it, and releasing it again quickly so that Windows doesn’t think you single-clicked twice). Whenever a sentence begins “Double-click on ”, you need to 1. move the mouse pointer until it is at the object you are supposed to double-click on and 2. press and release the left mouse button twice in quick succession. For example, you might be instructed to “Double-click on the little box at the far left side of your screen.” Note: An important Windows convention is that clicking selects an object so you can give Windows or the document further directions about it, but double-clicking tells Windows to perform a default operation. For example, double-clicking on a folder will open that folder. Dragging usually moves a Windows object. If you see a sentence that begins “Drag the ”, you need to Chapter 1 - VB 2008 by Schneider
5
1.3 Program Development Cycle
Performing a Task on the Computer Program Planning Chapter 1 - VB 2008 by Schneider
6
Chapter 1 - VB 2008 by Schneider
Terminology tip A computer program may also be called: Project Application Solution Chapter 1 - VB 2008 by Schneider
7
Program Development Cycle
Software refers to a collection of instructions for the computer The computer only knows how to do what the programmer tells it to do Therefore, the programmer has to know how to solve problems Chapter 1 - VB 2008 by Schneider
8
Performing a Task on the Computer
Determine Output Identify Input Determine process necessary to turn given Input into desired Output Chapter 1 - VB 2008 by Schneider
9
Problem-solving: approach like algebra class
How fast is a car traveling if it goes 50 miles in 2 hours? Output: a number giving the speed in miles per hour Input: the distance and time the car has traveled Process: speed = distance / time Chapter 1 - VB 2008 by Schneider
10
Pictorial representation of the problem solving process
Chapter 1 - VB 2008 by Schneider
11
Chapter 1 - VB 2008 by Schneider
Program Planning A recipe is a good example of a plan Ingredients and amounts are determined by what you want to bake Ingredients are input The way you combine them is the processing What is baked is the output Chapter 1 - VB 2008 by Schneider
12
Chapter 1 - VB 2008 by Schneider
Program Planning Tips Always have a plan before trying to write a program The more complicated the problem, the more complex the plan must be Planning and testing before coding saves time coding Chapter 1 - VB 2008 by Schneider
13
Program development cycle
1. Analyze: Define the problem. 2. Design: Plan the solution to the problem. 3. Choose the interface: Select the objects (text boxes, buttons, etc.). Chapter 1 - VB 2008 by Schneider
14
Program development cycle continued
4. Code: Translate the algorithm into a programming language. 5. Test and debug: Locate and remove any errors in the program. 6. Complete the documentation: Organize all the materials that describe the program. Chapter 1 - VB 2008 by Schneider
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.