Está en la página 1de 1

CUTI, Krystel Marie D.

III- Excellence
1. Describe visual basic 6 programming language.
- VISUAL BASIC is a high level programming language which evolved from the earlier DOS version called
BASIC. BASIC means Beginners' All-purpose SymbolicInstruction Code. It is a very easy programming language to learn. The code
look a lot like English Language. Different software companies produced different versions of BASIC, such as Microsoft QBASIC,
QUICKBASIC, GWBASIC ,IBM BASICA and so on.
2. What is an object-oriented programming language?
- a programming language that enables the programmer to associate a set of procedures with each type of data
structure) "C++ is an object-oriented programming language that is an extension of C"
3. Differentiate a procedural program from an object-oriented program.
- Programs are made up of modules, which are parts of a program that can be coded and tested separately, and then
assembled to form a complete program. In procedural languages (i.e. C) these modules are procedures, where a procedure is a
sequence of statements. In C for example, procedures are a sequence of imperative statements, such as assignments, tests, loops
and invocations of sub procedures. These procedures are functions, which map arguments to return statements.
The design method used in procedural programming is called Top Down Design. This is where you start with a problem (procedure)
and then systematically break the problem down into sub problems (sub procedures). This is called functional decomposition, which
continues until a sub problem is straightforward enough to be solved by the corresponding sub procedure. The difficulties with this
type of programming, is that software maintenance can be difficult and time consuming. When changes are made to the main
procedure (top), those changes can cascade to the sub procedures of main, and the sub-sub procedures and so on, where the
change may impact all procedures in the pyramid.
One alternative to procedural programming is object oriented programming. Object oriented programming is meant to address the
difficulties with procedural programming. In object oriented programming, the main modules in a program are classes, rather than
procedures. The object-oriented approach lets you create classes and objects that model real world objects.
4. Describe a graphical user interface type of application.
- A program interface that takes advantage of the computer's graphics capabilities to make the program easier to use. Welldesigned graphical user interfaces can free the user from learning complex command languages. On the other hand, many users find
that they work more effectively with a command-driven interface, especially if they already know the command language.
5. What is an event-driven program?
- In computer programming, event-driven programming or event-based programming is aprogramming paradigm in which
the flow of the program is determined by eventsi.e.,sensor outputs or user actions (mouse clicks, key presses) or messages from
other programs or threads.
6. What is an event? Give at least 2 examples.
- In computing, an event is an action or occurrence detected by the program that may be handled by the program.
a. With a pointing device such as a mouse, clicking a button triggers a "mouse click" event.
b. When a user presses a key on a keyboard, the program currently running would receive a keyboard "KeyDown" event along with
relevant data such as which key the user pressed.
-

También podría gustarte