Tugas TI
Tugas TI
BY:
WAHYUDI RAHMAT RYAN DANI
KALK II D/ 30
subject matter
04 Generations of Programming
Language
Program specification 1 2 Program design
PEOPLE AS:
Operators
Documentation must be provided for
computer operators. If the program sends
them error messages, for instance, they need Programmers
to know what to do about them. As time passes, even the creator of the original program may not remember
much about it. Other programmers wishing to update and modify it— that is,
perform program maintenance—may find themselves frustrated without
adequate documentation. This kind of documentation should include text and
program flowcharts, program listings, and sample output. It also might include
system flowcharts to show how the particular program relates to other programs
within an information system.
Step 6: Program maintenance
The final step is program maintenance. As
much as 75 percent of the total lifetime cost for
an application program is for maintenance. This
activity is so commonplace that a special job title,
maintenance programmer, exists.
The purpose of program maintenance is to
ensure that current programs are operating error-
free, efficiently, and effectively. Activities in this
area fall into two categories: operations and
changing needs.
Operations changing needs
All organizations change over
Operations activities concern time, and their programs must change
locating and correcting operational with them. Programs need to be
errors, making programs easier to use, adjusted for a variety of reasons,
and standardizing software using including new tax laws, new information
structured programming techniques. needs, and new company policies.
For properly designed programs, these Significant revisions may require that the
activities should be minimal. entire programming process begin again
with program specification.
*then expands on it until the customer is satisfied with the results. All six
steps are repeated over and over as quickly as possible to create
incrementally more functional versions of the application.
CASE and OOP
WHAT’S THE INCLUDE OF particularly
important for software development??
OBJECT-ORIENTED SOFTWARE
DEVELOPMENT
In the past, programs were developed as A programmer might use this object for
giant entities, from the first line of code to alphabetizing in many other programs.
the last. This has been compared to There is no need to invent this activity anew
building a car from scratch. Object- every time. C++ is one of the most widely
oriented programming is like building a car used object-oriented programming
from prefabricated parts—carburetor, languages.
alternator, fenders, and so on.
Generations of Programming Language
Computer professionals talk about There are five generations of
levels or generations of programming programming languages:
languages, ranging from “low” to “high.”
Programming languages are called lower 1 machine languages
level when they are closer to the language
the computer itself uses. The computer
understands the 0s and 1s that make up bits 2 assembly languages
and bytes. Programming languages are
called higher level when they are closer to
the language humans use—that is, for 3 procedural languages
English speakers, more like English.
4 task-oriented languages
ADD 210(8,13),02B(4,7)
The advantage of a compiler language is that once the object code has been
obtained, the program executes faster. The advantage of an interpreter
language is that programs are easier to develop.
4 task-Oriented Languages
Task-oriented languages, also known as 4GLs (fourth-generation languages)
and very high level languages, require little special training on the part of
the user.
Unlike general-purpose languages, task-oriented languages are designed to
solve specific problems. While 3GLs focus on procedures and how logic can
be combined to solve a variety of problems, 4GLs are nonprocedural and
focus on specifying the specific tasks the program is to accomplish. 4GLs are
more English-like, easier to program, and widely used by nonprogrammers.
Some of these fourth-generation languages are used for very specific
applications. For example, IFPS (interactive financial planning system)
is used to develop financial models.
Application generators
Query languages
Query languages enable nonprogrammers to use certain easily understood
commands to search and generate reports from a database. One of the most
widely used query languages is SQL (structured query language). For example,
let’s assume that Advantage Advertising has a database containing all customer
calls for service and that its management would like a listing of all clients who
incurred overtime charges. The SQL command to create this list is..
QUERY
SELECT client FROM dailyLog WHERE serviceEnd >17 LANGUAGES
This SQL statement selects or identifies all clients (a field name
from the dailyLog table) that required service after 17 (military
time for 5:00 p.m.). Microsoft Access can generate SQL commands
like this one by using its Query wizard.
An application generator or a program coder is a program that provides
modules of prewritten code. When using an application generator, a
programmer can quickly create a program by referencing the module(s) that Application
performs certain tasks. This greatly reduces the time to create an application.
For example, Access has a report generation application and a Report wizard generators
for creating a variety of different types of reports using database information.
5 Problem and constraint Languages