In Partial Fulfillment

of the Requirements

on PROLAN

 


CASE STUDY


 

 

MEMBERS: (TEAM SAWSAW)

Rodolfo Ponferrada Jr. – Group Leader / Presentation designer & planner

Dennis Boy Ferry – Financial and Resources Manager

Voltaire Garcia - Information compiler / In-charge : Hardcopy

Jeffrey Jabson – Program designer / developer

 

 

MR. J. GERTES & MS. S. BRILLO

 

Date Finished : October 26, 2002

Defense Date : November 25, 2002

 


INTRODUCTION:

As computers have become more powerful, the programs they run have become proportionally longer and more complex. In the 1950’s a program of 20,000 lines was extremely ambitious. Today, many of the more complex programs demanded by the scientific and military community consist of more than one million lines! As the length of a program grows, it becomes more difficult to plan, code, and debug. To confront the difficulties inherent in building today’s programs, it is necessary to plan and organize carefully. To aid in these efforts, computer scientists have developed structured programming, which is a set of programming rules that, if followed, avoid many sorts of programming errors and make debugging and program maintenance easier.

Object-oriented programming is another recent development from the computer scientists. It allows the programmer to reuse code that was previously developed, usually by another programmer. By making use of "objects," you can recycle old code even if you know very little of the details of how the code works. Moreover, you can even modify the effect of the code to suit your purposes! And you do this using only the compiled code, not the source code.

 

HISTORY of TURBO PASCAL:

 

HISTORY of VISUAL BASIC:

 

DESCRIPTION of TURBO PASCAL:

 

The Turbo Pascal Integrated Development Environment:

Illustration 001 – 01: Turbo Pascal environment display

 

Before we can do any programming, we must learn to operate the environment. The Integrated Development Environment (IDE) has four components: the menu bar, the desktop, the status area, and the output screen. The first three are visible in Illustration 001 – 01, and here’s some description for each.

The menu bar is the area at the top of the screen containing a list of menus (e.g., File, Edit, Compile). You activate menus by selecting them from the menu bar.

The desktop is the area in the middle of the screen. In this area you may place one or more windows. There are several different types of windows. An Edit window is used to enter and edit program code. A Watch window is used to observe the values of variables and machine information while a program is running. (This is useful in debugging programs.) The desktop area can contain several windows. You can specify the precise arrangement of the desktop. You can specify the size and position of windows and you may alter the arrangement of the desktop at any time. For instance, it may be useful to have several editing windows open at once to facilitate writing one section of a program while examining the impact on another section.

The status area consists of the area at the bottom of the screen. This area is used for several purposes. First, it shows a list of any shortcut keys which are operative. The keys available will change depending on exactly what you are doing.

The status area also serves as a source of user help. As you select a command, the status area provides a description of what the command accomplishes. By referring to this area, you may preview the action of a command before you select it.

The status area also informs you of the current activities of the program. This is especially valuable during commands which last a while.

Not yet visible is the user screen. This screen shows program output produced when a program is run. To see the user screen, press the key combination alt-F5. To return to the main Turbo Pascal screen, press this same key combination again.

 

DESCRIPTION of VISUAL BASIC:

Illustration 001 – 02: The Visual Basic Screen

 

  1. Pointer
  2. Picture Box Control
  3. Label Control
  4. TextBox Control
  5. Frame Control
  6. CommandButton Control
  7. CheckBox Control
  8. OptionButton Control
  9. ComboBox Control
  10. ListBox Control
  11. Horizontal and Vertical Scroll bars
  12. Timer Control
  13. DriveListBox, DirListBox, and FileListBox
  14. Shape Control
  15. Line Control
  16. Image Control
  17. Data Control
  18. Object Linking, and Embedding, (OLE) Control

 

CONTRAST and COMPARISON:

We have here a DOS-based and a Windows-based application. The most obvious thing to point out here is that Visual Basic uses more system resources. Maybe some decades back, Turbo Pascal does also the same (use more system resources), but only to a lesser extent. Some examples are the use of disk space, system and hardware requirements just to name some. But we would like to point out and compare the important aspects such as the learning curve, performance and code size, extensibility, portability, support, the IDE’s look and feel.

 

 

page 2

BACK:

Hosted by www.Geocities.ws

1