Educational Goals ___________________________________________
1.Apply principles and patterns to create better objectoriented software designs
2. Alliteratively follow a set of common activities in analysis and design
t-test Parametric test Biostatics and Research Methodology
Introduction to oop (object oriented programming)
1. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Object – Oriented Software Development
(Elective)
IT 533
2. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Educational Goals
___________________________________________
Apply principles and patterns to create better object-
oriented software designs
• Iteratively follow a set of common activities in analysis and
design
3. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Object-oriented analysis:
Emphasis on finding and describing the objects, or
concepts, in the problem domain.
The primary tasks in object-oriented analysis (OOA) are:
1. Identifying objects
2. Organizing the objects by creating object model diagram
3. Defining the internals of the objects, or object attributes
4. Defining the behavior of the objects, i.e., object actions
5. Describing how the objects interact
6. The common models used in OOA are use cases and
object models.
4. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Object-oriented design:
Emphasis on defining software objects and how they
collaborate to fulfill the requirements.
The implementation details generally include:
1. Restructuring the class data (if necessary),
2. Implementation of methods, i.e., internal data
structures and algorithms,
3. Implementation of control, and
4. Implementation of associations.
5. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
What is object oriented software?
Object-oriented software engineering (commonly known by
acronym OOSE) is an object-modeling language and
methodology. OOSE was developed by Ivar Jacobson in 1992
while at Objectory AB. It is the first object-oriented design
methodology to employ use cases to drive software design.
6. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
What is Object Oriented Programming?
Object Oriented Programming (OOP) means any kind of
programming that uses a programming language with some
object oriented constructs or programming in an environment
where some object oriented principles are followed.
7. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
At its heart, though, object oriented programming is a mindset
which respects programming as a problem-solving dilemma
on a grand scale which requires careful application of
abstractions and subdividing problems into manageable
pieces.
8. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Compared with procedural programming, a superficial
examination of code written in both styles would reveal that
object oriented code tends to be broken down into vast
numbers of small pieces, with the hope that each piece will be
trivially verifiable.
9. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
OOP was one step towards the holy grail of software-re-
usability, although no new term has gained widespread
acceptance, which is why "OOP" is used to mean almost any
modern programming distinct from systems programming,
assembly programming, functional programming, or database
programming. Modern programming would be better
categorized as "multi-paradigm" programming, and that term
is sometimes used.
10. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
The important features of object–oriented programming are:
1. Bottom–up approach in program design
2. Programs organized around objects, grouped in classes
3. Focus on data with methods to operate upon object’s
data
4. Interaction between objects through functions
5. Reusability of design through creation of new classes by
adding features to existing classes
11. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Visual Basic/History
Visual Basic is Microsoft's high-level object-oriented rapid
application development environment for the Windows
platform. The first versions of Visual Basic were intended to
target Windows 3.0 (a version for DOS existed as well),
however it was not until version 3.0 for Windows 3.1 that this
programming language gained large-scale acceptance in the
shareware and corporate programming community.
12. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Using drawing tools that resemble those found in hardcopy
page layout programs or PhotoShop, VB programmers make
user interfaces by drawing controls and other UI components
onto forms. The programmer then adds code to respond to
user interactions with the controls (for example, clicks, drag
and drop, etc) known as events. The code can trigger events in
other controls (for example, by displaying text or an image),
execute procedures (run some algorithm based on the values
entered in some control, output data, do business logic, etc),
or almost anything else one might do in code.
13. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Visual Basic can be considered to be an interpreted language
like its Basic ancestor, with appropriate modifications to
accommodate object-oriented programming, and has implicit
type conversion. That is, the VB development environment
goes to great lengths to format (and aid the user in formatting)
programming code so that it conforms to executable syntax.
14. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
For example, VB will appropriately change the case of newly
typed variable names to match those that have been declared
previously (if they have been declared at all!). Traditionally,
VB is known for compiling programs into pseudo-code (p-
code, similar to Java's byte code) which is interpreted at
runtime, requiring the use of dynamically-linked libraries (for
example, VBRUN300.DLL for version 3 of Visual Basic, circa
1992) but newer versions can compile code into something
more closely resembling the efficient machine code generated
by C-like compilers. VB6 can be compile either into p-code or
into native code; in fact VB6 uses the Microsoft C++ compiler
to generate the executable.
15. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
For new Windows programmers, VB offers the advantage of
being able to access much of the Windows UI functionality
without knowing much about how it works by hiding the
technical details. Although accessing low-level Windows UI
functionality is possible, doing so in VB is as, or more difficult
compared to such access using Visual C++ or other lower level
programming languages. Recently VB.NET has gone a long
way to fixing some of the limitations.
16. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Using custom controls provided by Microsoft or third parties,
almost any functionality that is possible in Windows can be
added to a VB program by drawing a custom control onto a
form in the project.
Visual Basic traditionally comes in at least entry level and
professional versions, with various designations depending on
Microsoft's contemporary marketing strategy. The different
versions are generally differentiated by the number of custom
controls included, and the capabilities of the compiler. Higher
priced packages include more functionality.
17. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Evolution of Visual Basic
VB 1.0 was introduced in 1991. The approach for connecting
the programming language to the graphical user interface is
derived from a system called Tripod (sometimes also known
as Ruby), originally developed by Alan Cooper, which was
further developed by Cooper and his associates under contract
to Microsoft.
18. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Timeline of Visual Basic
Visual Basic 1.0 (May 1991) was released for Windows.
Visual Basic 1.0 for DOS was released in September 1992.
The language itself was not quite compatible with Visual
Basic for Windows, as it was actually the next version of
Microsoft's DOS-based BASIC compilers, Microsoft
QuickBASIC compiler QuickBASIC and BASIC Professional
Development System. The interface was barely graphical,
using extended ASCII characters to simulate the appearance
of a GUI.
19. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Visual Basic 2.0 was released in November 1992. The
programming environment was easier to use, and its speed
was improved.
Visual Basic 3.0 was released in the summer of 1993 and
came in Standard and Professional versions. VB3 included a
database engine that could read and write Access databases.
Visual Basic 4.0 (August 1995) was the first version that
could create 32-bit as well as 16-bit Windows programs. It
also introduced the ability to write classes in Visual Basic.
20. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
With version 5.0 (February 1997), Microsoft released Visual
Basic exclusively for 32-bit versions of Windows.
Programmers who preferred to write 16-bit programs were
able to import programs written in Visual Basic 4.0 to Visual
Basic 5.0, and Visual Basic 5.0 programs can easily be
converted with Visual Basic 4.0. Visual Basic 5.0 also
introduced the ability to create custom user controls, as well
as the ability to compile to native Windows executable code,
speeding up runtime code execution.
Visual Basic 6.0 (Mid 1998) improved in a number of areas,
including the ability to create web-based applications using
Internet Explorer. Visual Basic 6 is no longer supported.
21. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
22. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
23. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
24. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
25. Instructor: Mr. Mark John P. Lado
University of the Visayas – Danao City Campus
IT 533
Turn on your PC and open the
Microsoft Visual Basic 6.0
Software Application.