Home Random Page


CATEGORIES:

BiologyChemistryConstructionCultureEcologyEconomyElectronicsFinanceGeographyHistoryInformaticsLawMathematicsMechanicsMedicineOtherPedagogyPhilosophyPhysicsPolicyPsychologySociologySportTourism






Programming: Summary

A computer program is a set of detailed directions to the computer. The computer can only do one baby step at a time. There are many computer languages to use to write a program. The computer itself uses machine language, which is all 1's and 0's. Assembly language uses abbreviations for machine language code. High-level languages use words and expressions that look like algebra, which must be compiled or interpreted before the computer actually can use the program. 4th generation languages are used for database queries and are results oriented. Natural languages would sound like regular speech. We don't have that yet.

FORTRAN is a computer language that is especially good for scientific work. It makes writing equations easy.

COBOL has been used for a long time for business programs and main frame programs. It has a structure that is similar to English, which makes it easier for non-technical people.

C and C++ are languages that are widely used for programs.

BASIC started as a language used to learn how to program but proved to be useful for actual programs, too. There are many versions of BASIC for working with specific software, like Word Visual Basic for writing macros for Microsoft Word.

Java is a language that is used for large programs and small web applets. It is not the same as Javascript, which is used in web pages.

The process of creating a computer program should start with the end user. If there is no one who wants your program, why bother? A systems analyst can design the structure of the program once the goals are laid out. A programmer turns that design into actual commands. The language she uses will depend in part on how complicated the tasks are that the program must do. Then the end user tests the program out to see if it does the job and if it is easy to work with. If it's not right yet, there is another round of design, programming, and testing. Round and round they go until everyone is satisfied. At least that's the way it should happen.

During program development, it is important to document what you did and why. It is easy to forget the reasoning behind your choices. A flow chart can help make it clear what the paths are through the program.

Programming: Quiz

For each question, click on the radio button beside your answer. You will be notified immediately whether your choice is correct or not. Double clicking may work better.

Top of Form

1. When creating a computer program, the _____ designs the structure of the program.

end user

systems analyst

programmer

all of the above

none of the above

2. Checking a computer program for errors is called _____.

bugging

debugging

correcting

syntaxing

3. The computer itself uses _____ language.

natural

assembly

machine

high-level

none of the above

4. The language which is best for mathematical models is _____.

FORTRAN

BASIC

Java

C

COBOL

5. The term BASIC is an acronym for _____.

Balanced Assembly System Integrated Code



Basic All System Internal Code

Beginner's Assembly Syntax Instruction Code

Beginner's All-purpose Symbolic Instruction Code

6. A programming language which looks like normal English is a(n) _____ language.

normal

high-level

natural

4GL

7. The process of writing the computer instructions is called _____.

coding

compiling

debugging

interpreting

8. The most widely used language for business programs is _____.

FORTRAN

BASIC

Java

C

COBOL

9. The _____ must decide what a new program is to accomplish.

end user

systems analyst

programmer

supervisor

10. Documentation of computer programs is important so that _____.

a. users can learn how to use the program

b. other programmers can know how to maintain the program

c. the programmer can see why the code is written that way while hunting for sources of error

d. all of the above

e. a and b only


Date: 2015-01-11; view: 1218


<== previous page | next page ==>
Programming: Creating | What You See: Intro
doclecture.net - lectures - 2014-2024 year. Copyright infringement or personal data (0.007 sec.)