Поделитесь своими знаниями, ответьте на вопрос:
с английским Текст Text 1. COMPUTER PROGRAMMINGProgramming is the process of preparing a set of coded instructions which enables the computer to solve specific problems or to perform specific functions. Theiessence of computerprogrammingjis the encoding of the program for the computerby means of algorythms. The thing is that any problem is expressed in mathematical terms, it contains formulae, equationsand calculations^ But the computer cannot manipulate formulae, equations and calculations. Any problem must be speciallyprocessed for the computer to understand it, that is — coded orprogrammed.The phase in which the system's computer programs arewritten is called the development phase. The programs are listsof instructions that will be followed by the control unit of thecentral processing unit (CPU The instructions of the programmust be complete and in the appropriate sequence, or else thewrong answers will result. To guard against these errors in logicand to document the program's logical approach, logic plansshould be developed.There are two common techniques for planning the logic ofa program. The first technique is flowcharting. A flowchart is aplan in the form of a graphic or pictorial representation that usespredefined symbols to illustrate the program logic. It is, therefore, a "picture" of the logical steps to be performed by thecomputer. Each of the predefined symbol shapes stands for ageneral operation. The symbol shape communicates the natureof the general operation, and the specifics are written within thesymbol. A plastic or metal guide called a template is used tomake drawing the symbols easier.The second technique for planning program logic is calledpseudocode. 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 timeconsuming 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 logiccan be expressed.