Сдам Сам

ПОЛЕЗНОЕ


КАТЕГОРИИ







The conversion of symbolic languages





Most of the symbolic languages are oriented toward the particular application areas of business or science (math). The one problem with all symbolic languages is that none of them can be understood by a computer. The symbolic languages may say AP, ADD, or use a "plus" sign to indicate an addition step, but the only thing that means addition to a computer is its binary machine code. We have symbolic programs that are relatively easy for humans to understand, but they cannot be understood by computers. On the other hand, we have machine code that is understood by the computer, but it is difficult for humans to use. The solution is a translator that translates thesymbolic program intomachine code. The translator allows the human to work with relatively easy-to-understand symbolic languages and it allows the computer to follow instructions in machine code. The translation of symbolic instructions to machine code is accomplished through the use of a program called a language processor. There are three types of language processors. They are called assemblers, compilers, and interpreters. Each translates symbolic instructions to machine code, but each does it differently.

(The translator is a program itself. It is part of a group of programs, called the operating systems, that help us to use the computer.)

Running the computer program

The operating system is a collection of program provided by the computer's manufacturer that allows us to schedule jobs for the computer, to translate source programs into object programs, to sort data stored on secondary storage devices, and to copy data from any input device to any output device. These programs are called control programs, language programs and utility programs.

The control program (often called the supervisor, monitor, or executive) is a main-storage-resident program. Its functions are to schedule jobs, schedule input and output for our programs, and to monitor the execution of our programs.

The language processors are programs that translate source programs into object programs. There are three types oflanguage processors: assemblers, compilers, and interpreters. Each language has its own language processor.

The service programs are programs that are commonly used in all data processing centers. They have functions that are required by everyone using acomputer. Examples of service programs include linkage editors to prepare object programs for execution, a librarian to catalog programs into a library area on magnetic disc, utility programs to transfer data from device to device, and sort-merge programs for sorting data on magnetic tape or disk.

Testing the computer program

There are two kinds of errors or bugs with which programmers must deal. The first type is the coding error. Such errors are syntax errors that prevent the language processor from successfully translating the source program to object program code. The language processor identifies the nature and the location of the error on the source program listing, so these errors are relatively easy to find and correct. The second type of bug is the logic error. The computer program can be successfully translated, but the program does not produce the desired results. These errors are generally much more difficult to find and to correct than are coding errors. Logic errors can be avoided through careful planning of the program logic, but it is the programmer's responsibility to test thoroughly allof the program's functions, in order to verify that the program performs according to specifications.

There are many tools provided to the programmer to help in debugging the program logic. These tools are called debug packages or tracing routines. They assist the programmer in following the logic by printing out calculation results and field values used in making logic decisions in the program. In a few cases it may be necessary to use a memory dump a printout of the instructions and date held in the computer's memory in order to find the cause of logic errors.

 

THE WORLD-WIDE WEB

Read and translate the text. Write the theses of the text.

People have dreamt of a universal information database since late nineteen forties. In this database, not only would the data be accessible to people around the world, but it would also easily link to other pieces of information, so that only the most important data would be quickly found by a user. Only recently the new technologies have made such systems possible. The most popular system currently in use is the World-Wide Web (WWW) which began in March 1989. The Web is an Internet-based computer network that allows users on one computer to access information stored on another through the world-wide network.

As the popularity of the Internet increases, people become more aware of its colossal potential. The World-Wide Web is a product of the continuous search for innovative ways of sharing information resources. The WWW project is based on the principle of universal readership: "if information is available, then any person should be able to access it from anywhere in the world." The Web's implementation follows a standard client-server model. In this model, a user relies on a program (the client) to connect to a remote machine (the server), where the data is stored. The architecture of the WWW is the one of clients, such as Netscape, Mosaic, or Lynx, "which know how to present data but not what its origin is, and servers, which know how to extract data", but are ignorant of how it will be presented to the user.

One of the main features of the WWW documents is their hypertext structure. On a graphic terminal, for instance, a particular reference can be represented by underlined text, or an icon. "The user clicks on it with the mouse, and the referenced document appears." This method makes copying of information unnecessary: data needs only to be stored once, and all referenced to it can be linked to the original document.

Success of the WWW

Set off in 1989, the WWW quickly gained great popularity among Internet users. What is the reason for the immense success of the World-Wide Web? Perhaps, it can be explained by CERN's (CERN was originally named after its founding body the 'Conseil Europeen pour la Recherche Nucleaire', and is now called 'European Laboratory for Particle Physics') attitude towards the development of the project. As soon as the basic outline of the WWW was complete, CERN made the source code for its software publicly available. CERN has been encouraging collaboration by academic and commercial parties since the onset of the project, and by doing so it got millions of people involved in the growth of the Web.

The system requirements for running a WWW server are minimal, so even administrators with limited funds had a chance to become information providers. Because of the intuitive nature of hypertext, many inexperienced computer users were able to connect to the network. Furthermore, the simplicity of the Hyper Text Markup Language, used for creating interactive documents, allowed these users to contribute to the expanding database of documents on the Web. Also, the nature of the World-Wide Web provided a way to interconnect computers running different operating systems, and display information created in a variety of existing media formats.

In short, the possibilities for hypertext in the world-wide environment are endless. With the computer industry growing at today's pace, no one knows what awaits us in the 21st century.

 







ЧТО ПРОИСХОДИТ ВО ВЗРОСЛОЙ ЖИЗНИ? Если вы все еще «неправильно» связаны с матерью, вы избегаете отделения и независимого взрослого существования...

Что будет с Землей, если ось ее сместится на 6666 км? Что будет с Землей? - задался я вопросом...

Что вызывает тренды на фондовых и товарных рынках Объяснение теории грузового поезда Первые 17 лет моих рыночных исследований сводились к попыткам вычис­лить, когда этот...

Конфликты в семейной жизни. Как это изменить? Редкий брак и взаимоотношения существуют без конфликтов и напряженности. Через это проходят все...





Не нашли то, что искали? Воспользуйтесь поиском гугл на сайте:


©2015- 2024 zdamsam.ru Размещенные материалы защищены законодательством РФ.