Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Задание, гр. РИЗ-260028, 4 сем..docx
Скачиваний:
0
Добавлен:
01.07.2025
Размер:
29.98 Кб
Скачать

Computer programming

Programming is the process of preparing a set of coded in­structions which enables the computer to solve specific prob­lems or to perform specific functions. The essence of computer programming is the encoding of the program for the computer by means of algorythms. The thing is that any problem is ex­pressed in mathematical terms, it contains formulae, equations and calculations. But the computer cannot manipulate formu­lae, 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, there­fore, 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 in­structions. It allows a program-like structure without the bur­den 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.

Optical Technology

One of the most interesting developments in telecommunica­tion is the rapid progress of optical communication where optical fibers are replacing conventional telephone wires and cables. Just as digital technologies greatly improved the telephone system, opti­cal communication promises a considerable increase in capacity, quality, performance and reliability of the global telecommunica­tion network. New technologies such as optical fibers will increase the speed of telecommunication and provide new, specialized information service. Voice, computer data, even video images will be increasingly integrated into a single digital communication network capable of processing and transmitting virtually any kind of information.

It is a result of combining two technologies: the laser, first dem­onstrated in 1960, and the fabrication 10 years later of ultra-thin silicon fibres which can serve as lightwave conductors. With the further development of very efficient lasers plus continually im­proved techniques to produce thin silica fibres of incredible trans­parency, optical systems can transmit pulses of light as far as 135 kilometers without the need for amplification or regeneration.

At present high-capacity optical transmission systems are being installed between many major cities at a rapid rate. The system most widely used now operates at 147 megabits (thousand bits) per second and accommodates 6,000 circuits over a single pair of glass fibres (one for each direction of transmission). This system will soon be improved to operate at 1.7 gigabits (thousand million bits) per second and handle 24,000 telephone channels simultaneously.

A revolution in information storage is underway with optical disk technology. The first digital optical disks were produced in 1982 as compact disks for music. They were further developed as a storage medium for computers. The disks are made of plastics coated with aluminum. The information is recorded by using a powerful laser to imprint bubbles on the surface of the disk. A less powerful laser reads back the pictures, sound or information. An optical disk is al­most indestructible and can store about 1000 times more informa­tion than a plastic disk of the same size.

It is found that optical technology is cost-effective and versa­tile. It finds new applications every day — from connecting com­munication equipment or computers within the same building or room to long-distance transcontinental, transoceanic and space communications.