You are on page 1of 17

m 

m
Topics:

‡ Basic Programming Concepts


‡ Introduction to Visual Basic
‡ Understanding Controls and Properties
‡ Coding Basics
‡ Using Methods and Active X Controls
‡ Application Programs
‡ Interface Programs

Y
˜equirements:

‡ Assignments (softcopy or hardcopy)


‡ Activities / Individual Performance
‡ Project (Application / Interface
Programs)

p
j
COMPUTER PROGRAMMING

‡ the art and science of creating


programs (sets of instructions)
‡ it is problem solving activity that
involve planning (using algorithm ²
flowcharts) and designing solutions
for a particular problem and then
writing the solution in code using a
programming language
=
Code ² the programming syntax
used to write the program

BUGS ² are errors that occur when you write


the syntax of a particular language during
the programming.

P˜ G˜AM BUGS:
^ Syntax error ² spelling and grammar
^ Logic error ² with correct syntax but still
produces incorrect results.
°
TEXTUAL P˜ G˜AMMING LANGUAGE
Are programs written on pure text code
based on the syntax of a particular
program Language.

BJECT ˜IENTED P˜ G˜AMMING LANGUAGE


Ñis the highest level of program Language.
Ñthese program are presented with GUI &
create object that are event-driven &
interfacing with other objects.

þ
An P Language minimizes the
use of text codes incorporating
objects to crate a program with a
GUI.

Ñ GUI - Graphical User Interface is a a type of


application that uses object such as buttons
that are event-driven (responds to key press
or mouse action) & interacting with other
objects.

2 examples of an event:
^ Mouse click
^ Key press
G
Classification of Programming
Language
DECLA˜ATIVE LANGUAGE
- the highest Level of Language in its most
expressive power & functionality.

HIGH LEVEL LANGUAGE


- the most widely used level until the development of
bject- riented Programming ( P)
Generally produces a GUI interface

º
ASSEMBLY LANGUAGE
-a low-level language that allows the
programmer to interact directly
with the hardware

MACHINE LANGUAGE
- also known as Machine Code.
- the only language that a computer understands.

VALUES:
0 ² ff; False; No
1 ² n; True; Yes


HIGH LEVEL LANGUAGE

‡ C B L ² Common Business riented


Language
‡ F ˜T˜AN - Formula Translation
‡ BASIC ² Beginners All-Purpose
Symbolic Instruction Code.
‡ VBASIC ² Visual Basic
P Language

P˜ G˜AM DEVEL PMENT
P˜ CESS:
1. PLANNING ² the process of Defining & Designing
your goal.
2. C DING ² the process of writing your source code
using a computer program Language.
3. TESTING DEBUGGING ² to test the program
thoroughly & fix its error.
4. D CUMENTATI N ² to write necessary
instructions, comments, & information for your
program use.
5. Maintenance ² the stage where the programmer is
tasked to keep the program running smoothly &
updated.

Y
Advantages of writing your
own program:
‡ more user-friendly because it is
customized for your exact needs
‡ compact and simpler compared to
regular commercial program
software
‡ easier to understand
‡ open for modification and future
upgrades
p
FACT ˜S INCLUDED IN
D CUMENTATI N STAGE
1. The information about the profile &
requirements & S needed to run
the program.
2. The technical information such as
the author, who to contact with, &
instructions in the use &
maintenance of the program.

j
Commonly Used Flowchart
Symbols:
Start or end of the program
Computational steps or processing
function of a program

Input or output operation

Decision making and branching

Connector or joining of two parts of


program
=
Commonly Used Flowchart
Symbols:
Magnetic Tape
Magnetic Disk
ff-page connector
Flow line
Annotation
Display °
ALLAN C PE˜
-developer of the Visual Basic 6.0

THE VISUAL BASIC TIMELINE:


‡ May 1991 V1 was released
‡ ct. 1992 V2 was released
‡ May 1993 V3 was released
‡ Sept 1995 V4 was released
‡ Mar 1997 V5 was released
‡ Aug 1998 V6 was released
þ

You might also like