You are on page 1of 10

PROG 2

CHAPTER 1
PROGRAMMING LANGUAGES

• Programming Languages
• We may think computers are intelligent but they could not think on their own. They
rely on computer programmers to create programs or directions for them to follow.
• Statements and commands are followed logically, or in some cases in order.
• Program Flow is one of the basic principles of computer’s instance guide.
KINDS OF PROGRAMMING LANGUAGES

1. Machine Language
- Machine language is the language used inside the computer (basically, binary
values)
2. Assembly Language
- Assembly language is the next level programming used for computers. Instead of
using 0s and 1s, assembly language uses mnemonics. (Add, Sub,Mul, etc)
3. Third Generation Language
- Third generation language were developed to provide significant enhancements
2GL. It uses less instructional statements shortening the programming.
KINDS OF PROGRAMMING LANGUAGES

4. Fourth Generation Language


- They were designed to further simplify programming in order to create a robust
program that can be applied to more complex situations.
5. Fifth Generation Language
- They are used mainly for Artificial Intelligence.
6. Natural Language
- Natural language or human languages are the ultimate goal in developing a
programming language that can execute and understand natural languages.
PROCEDURAL PROGRAMMING (STEP)

• Ada
• ALGOL
• BASIC
• C
• C++
• C#
• COBOL
• Common Lisp
• Fortran
• Pascal
OBJECT ORIENTED PROGRAMMING
(EVENT)

• VISUAL BASIC .NET


• JAVA
• C#
• C++
• PHP5
• Perl
• Ruby
ABOUT VISUAL BASIC

• Visual Basic is an example of 3GL. It is based on the BASIC language and


provides a graphical programming environment in developing user interfaces
• A Visual Basic programmer has the ability to simply drag and drop controls.
• Given those controls,Visual Basic will create or generates the code given to
these controls.
• A programmer can then define the appearance and behavior of such graphical
interface.
VISUAL STUDIO

• It is an IDE (Integrated Development Environment) that contains Visual Basic,


Visual C++,Visual C#, F# and even Javascript.
• A Visual Basic Programmer needs to learn the following:
• Creating Windows Applications
• Coding
• Debugging
• Deploying the application
PROGRAMMING LANGUAGES OVERVIEW

• Procedural – This was the style of programming of the first 3GL.


• Visual Basic 6.0 and earlier versions were event driven programs which were
still procedural but contain some elements of object-oriented programming
• Visual Basic.NET are full object-Oriented programming (OOP) language.
WHAT IS OBJECT ORIENTED
PROGRAMMING?

• It is a style that uses objects to design an application or program.


• OOP is a programming paradigm that attempts to mimic the way people think
and deal with the world.
• Encapsulation – refers to data bundling and restrictions to access object’s data. It is a
way of hiding data from the outside.
• Modularity – is a programming design technique that allows breaking down of the
software into modules and each module accomplishes a given task on its own
• Data abstraction – is where data and program are represented by their close image
representation
• Polymorphism – is the ability to create variables, functions and objects and allow
more than one form
• Inheritance – is reusing codes of existing objects and the establishment of related
objects with similar attributes and behavior.

You might also like