COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration...

21
COMPUTER III

description

TYPES Identification10 pts. Problem Analysis20 Flowchart Construction20 Modified True or False15 Label the Parts15 80 pts.

Transcript of COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration...

Page 1: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

COMPUTER III

Page 2: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Fundamental Concepts of Programming •Control Structures

•Sequence•Selection•Iteration

•Flowchart ConstructionIntroduction to Visual Basic Programming•History to Visual Basic•Parts and Functions of VB 2008

Express IDE

Page 3: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

TYPESIdentification 10 pts.Problem Analysis 20Flowchart Construction 20Modified True or False 15Label the Parts 1580 pts.

Page 4: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Visual BASICIntegrated

Development Environment (IDE)

Page 5: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

History of Visual Basic

Visual Basic 1.0 (VB1): May 1991

Visual Basic 2.0 (VB2): November

1992

Visual Basic 3.0 (VB3): June 1993

Visual Basic 4.0 (VB4): October

1996

Visual Basic 5.0 (VB5): April 1997

Visual Basic 6.0 (VB6): October

1998

Visual Basic .Net (VB7): February 2002

Visual Basic 2003 (VB8): April 2003

Visual Basic 2005 (VB9): November 2005

.Net Generation Pre .Net Generation

Page 6: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

VISUAL BASICVISUAL• method of

creating a Graphical User Interface (GUI)

BASIC• method of writing

program codes for functionality

Page 7: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

VISUAL BASICDeveloped and owned by Microsoft• Created to make

application programs for Windows OS.

It is an object-oriented and event-driven programming language

VB 2005 ExpressA free version of Visual Basic• The IDE contains easy-

to-use and easy-to-learn tools for creating .NET applications, using the Visual Basic programming language.

Suitable for students or other people learning the VB language

Page 8: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Parts of VB 2005 Express IDE

Start Page of VB 2005 Express IDE

Page 9: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Parts of VB 2008 Express IDE

Start Page of VB 2008 Express IDE

Page 10: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Parts of VB 2005 Express IDE Main Menu Bar

Toolbar

Solution Explorer

Properties Window

Toolbox

Design Area

Page 11: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Visual BASIC IDEMenu Bar

Main Tool Bar

Tool Box

Form Designer Window

Code Window

Form Layout Window

Properties Window

Project Explorer Window

Page 12: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Main MenuBar

It consists of all the commands provided by the IDE under the different menus based on their functionality provides access to such functions as opening files, interacting with an application, or help

Page 13: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Standard ToolBar

Provides quick access to frequently used commands

Page 14: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

ToolBoxIt consists of the various controls that can be used

to design the graphical user

interfaces of the application

Page 15: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Properties Window

describes the properties of the form and its controlslists all the

properties of the object that's currently selected and gives you the opportunity to modify them.

Page 16: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Solution Explorer Window(Project Explorer Window)

contains the project files gives an overview of

all the modules that are contained in the application. allows to switch between

different windows

Page 17: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Form Designer Window

A design space which contains

objects or controls used for the application It allows GUI

creation by providing the foundation for

controls

Page 18: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

CODE EDITOR (Code Window)

used to write codes that determine the behavior of

the forms and other objects in the application.

CODE EDITOR (Code Window)

used to write codes that

determine the behavior of the forms and other objects in the application. IntelliSense Window

It allows easy access to properties and

methods of controls. IntelliSense Window It allows easy

access to properties and methods of

controls.

Page 19: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

VB EXPRESS IDE

Page 20: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Getting Started with Visual Basic

Page 21: COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.

Steps in Creating Simple Applications

1. Create the User Interface (GUI)

2. Set the Properties of the Objects

3. Enter the appropriate Source Code

4. Run the Program