Microcomputer System Organization
1. The organization of a microcomputer system is the same as that of a larger computer system. The microprocessor unit (MPU), usually concentrated in a single chip, consists of the control unit and the arithmetic logical unit. Internal memory is made up of random access memory (RAM) and read-only memory (ROM). Because RAM is only temporary storage, all microcomputers require some instructions to get started after they are turned on, and these are contained in ROM. A microcomputer includes both an MPU and internal memory. The portion of the system software that is in ROM brings into RAM the additional instructions required to operate the microcomputer. Typically these instructions are stored on a magnetic disk; hence, they are called a disk operating system, or DOS. This start-up process is called bootstrapping*. ROM also contains other programs that help to make personal computers easy to use, such as a programming language. Computer games are also stored in ROM cartridges. In addition to the MPU, RAM, ROM, and associated control circuits, other components, called peripheral devices, are needed to make a complete microcomputer system. The principal peripheral units are: input devices, output devices, mass storage units, and communication components. Like a DOS, the programs that control the flow of data between a microcomputer and its peripheral devices are a part of systems software. The most common input device used witlwersonal computers is the keyboard. Most personal computer keyboards have extra keys that perform special functions and that can be used to control the movement of a cursor on a screen. A leverlike device, called a joystick, is also used as an input device, commonly for playing video games. 2. The CRT (cathode-ray tube) screen used with personal computers is called a monitor. Keyboards and monitors may be part of a single unit that also contains the microcomputer and the disc drives, or they may be separate units. Besides the monitor, the most common input units are dot-matrix and letter-quality printers. Dot-matrix printers are suitable for most microcomputer applications. Letter-quality printers are usually used for high-quality office correspondence. Both types of printers are considered to be low-speed character printers. Mass storage units are available over a range of capacities and access times. Floppy disks, or diskettes, are the most common mass storage media. They store patterns of bits on magnetically coated, flexible plastic platters. A floppy disk platter is sealed permanently in a paper jacket with a small window for reading and writing. Hard disk storage systems are also available. They may be fixed or removable. Some mass storage units contain both floppy and hard disk devices. Low-cost modulator-demodulator devices, called modems, that allow microcomputer systems to communicate over telephone lines have become increasingly popular. Modems permit networks of personal computer owners to exchange information or to access large data banks. These data banks may be dedicated to special applications, such as law or medicine, or they may provide a variety of consumer services. 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. The 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.
Популярное: Организация как механизм и форма жизни коллектива: Организация не сможет достичь поставленных целей без соответствующей внутренней... Как выбрать специалиста по управлению гостиницей: Понятно, что управление гостиницей невозможно без специальных знаний. Соответственно, важна квалификация... Личность ребенка как объект и субъект в образовательной технологии: В настоящее время в России идет становление новой системы образования, ориентированного на вхождение... ©2015-2024 megaobuchalka.ru Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав. (2190)
|
Почему 1285321 студент выбрали МегаОбучалку... Система поиска информации Мобильная версия сайта Удобная навигация Нет шокирующей рекламы |