.


:




:

































 

 

 

 


1. equation ,




equation ,

list of instructions

guard ; ; ;

appropriate sequence ()

program logic

flowchart -; -

flowcharting -

pictorial representation

predefined symbols

specifics ;

template ; ; ;

pseudocode ;

burden

programming rules

consume ;

emphasize ;

top-down approach

looping logic ()

2. , .

COMPUTER PROGRAMMING

Programming is the process of preparing a set of coded instructions which enables the computer to solve specific problems or to perform specific functions. They essence of computer programming is the encoding of the program for the computer by means of algorithms. The thing is that any problem is expressed in mathematical terms, it contains formulae, equations and calculations But the computer cannot manipulate formulae, equations and calculations. Any problem must be specially processed for the computer to understand it, that is coded or programmed.

The phase in which the system's computer programs are written is called the development phase. The programs are lists of instructions that will be followed by the control unit of the central processing unit (CPU). The instructions of the program must be complete and in the appropriate sequence, or else the wrong answers will result. To guard against these errors in logic and to document the program's logical approach, logic plans should be developed.

There are two common techniques for planning the logic of a program. The first technique is flowcharting. A flowchart is a plan in the form of a graphic or pictorial representation that uses predefined symbols to illustrate the program logic. It is, therefore, a "picture" of the logical steps to be performed by the computer. Each of the predefined symbol shapes stands for a general operation. The symbol shape communicates the nature of the general operation, and the specifics are written within the symbol. A plastic or metal guide called a template is used to make drawing the symbols easier.

The second technique for planning program logic is called pseudocode. Pseudocode is an imitation of actual program instructions. It allows a program-like structure without the burden of programming rules to follow. Pseudocode is less time-consuming for the professional programmer than is flowcharting. It also emphasizes a top-down approach to program structure. Pseudocode has three basic structures: sequence, decision, and looping logic. With these three structures, any required logic can be expressed.

3. , .

1. What is programming? 2. What is the essence of programming? 3. What should be done with the problem before processing by the computer? 4. What is a program? 5. What are instructions? 6. What are the main techniques for planning the program logic? 7. What is a flowchart? 8. What is a template and what is it used for? 9. What do you understand by "pseudocode"? 10. What are the basic structures of pseudocode?

4.
:

; ; ; , , ; ; ; ; ; ; ; ; -; ; ; ; ; ; ; ; ; .

5. :

Program: access program; application program; archived program; binary program; common program; compatible / incompatible program; control / management program; database program; debugging program; educational / teaching / training program; free program; general-purpose program; high-performance program; off-line program; on-line program; operating (-system) program; processing program; protected-mode program; remote program; running program; self-loading program; simulation program; support program; utility program; virus-detection program; watch-dog program.

; ; () ; ; ; ; ; ; ; ; ( ); ; , ; ; , ; ; , ; ; ( ); ; / ; ; () ; ; .





:


: 2017-02-28; !; : 717 |


:

:

.
==> ...

1623 - | 1597 -


© 2015-2024 lektsii.org - -

: 0.008 .