Студопедия — SOFTWARE BASICS
Студопедия Главная Случайная страница Обратная связь

Разделы: Автомобили Астрономия Биология География Дом и сад Другие языки Другое Информатика История Культура Литература Логика Математика Медицина Металлургия Механика Образование Охрана труда Педагогика Политика Право Психология Религия Риторика Социология Спорт Строительство Технология Туризм Физика Философия Финансы Химия Черчение Экология Экономика Электроника

SOFTWARE BASICS






Software: the inside story

 

Computer software determines the types of tasks a computer can help you accomplish. Some software helps you create documents; while other software helps you edit home videos, prepare your tax return or design the floor plan for a new house.

The instructions that tell a computer how to carry out a task are referred to as a computer program. These programs form the software that prepares a computer to do a specific task, such as document production, video editing, graphic design or Web browsing. In popular usage the term “software” refers to one or more computer programs and any additional files that are provided to carry out a specific type of task. Whether it’s on a CD or downloaded from the Web, today’s software is typically composed of many files. You might be surprised by the number of files that are necessary to make software work. At least one of the files included in a software package contains an executable program designed to be launched, or started, by users. On PCs, these programs are stored in files that typically have.exe file extensions and are referred to as “executable files”. Other files supplied with a software package contain programs that are not designed to be run by users. These “support programs” contain instructions for the computer to use in conjunction with the main user-executable file. A support program can be activated by the main program as needed. Support programs often have file extensions such as.dll and.ocx.

In addition to program files, many software packages also include data files. As you might expect, these files contain any data that is necessary for a task, but not supplied by the user, such as Help documentation. The data files supplied with a software package sport files extensions such as.txt,.bmp, and.hlp. (see fig. 2):

The use of a main user-executable file plus several support programs and data files offers a great flexibility and efficiency for software developers. Support programs and data files from existing programs can usually be modified by developers for other programs without changing the main executable file. This modular approach can reduce the time required to create and test the main executable file, which usually contains a long and fairly complex program. This modular approach also allows software developers to reuse their support programs in multiple software products and adapt preprogrammed support modules for use in their own software. Modular programming techniques are of interest mainly to people who create computer programs; however these techniques affect the process of installing and uninstalling software. It is important, therefore, to remember that computer software consists of many files that contain user-executable programs, support programs, and data.

Programmers and programming languages

Computer programmers write computer programs that become the components of a computer software product. The finished software product is then distributed by the programmers or by software publishers – companies that specialize in marketing and selling software. Today most businesses and organizations purchase commercial software to avoid the time and expense of writing their own.

Most software provides a task-related environment, which includes a screen display, a means of collecting commands and data from the user, the specifications for processing data, and a method for displaying or outputting data. To create a software environment, a programmer must define properties for each element in the environment, such as where the objects appear, its shape, color and behavior.

A programming language provides the tools a programmer uses to create software and produce a lengthy list of instructions, called source code, which defines the software environment in every detail – what it looks like, how the user enters commands, and how it manipulates data. Most programmers today prefer to use a high-level language, such as C++, Java, Ada, COBOL, or Visual Basic. These languages have some similarities to human languages and produce programs that are fairly easy to test and modify.

A computer’s microprocessor understands only machine language – the instruction set that is “hard wired” within the microprocessor’s circuits. Therefore, instructions written in a high-level language must be translated into machine language before a computer can use them. The process of translating instructions can be accomplished by two special types of programs: compilers and interpreters. A compiler translates all the instructions in a program as a single batch, and the resulting machine language instructions, called object code, are placed in a new file. Most of the program files on a distribution CD for commercial software are compiled so that they contain machine language instructions that are ready for the processor to execute. As an alternative to a compiler, an interpreter converts one instruction at a time while the program is running. An interpreter reads the first instruction, converts it into machine language, and then sends it to the microprocessor. After the instruction is executed, the interpreter converts the next instruction, and so on.

Software is categorized as application software or system software. The primary purpose of application software is to help people carry out tasks using a computer. In contrast, the primary purpose of system software – your computer’s operating system, device drivers, programming languages, and utilities – is to help the computer to carry out its basic operating functions.

Software can be classified into categories (see fig. 3):

 


Fig. 3: Software categories

Comprehension check. Mark the following statements as True or False.

 

1. Computer software typically consists of many files that contain user-executable programs, support programs and data files.

2. The main executable file provides the primary set of instructions for the computer to execute and calls various support programs and data files as needed.

3. Support programs often have file extensions such as.txt,.bmp, and.hlp.

4. Individuals often write software for their personal computers.

5. High-level languages are fairly easy to test and modify.

6. A compiler converts high-level instructions into a new file containing machine language instructions.







Дата добавления: 2014-11-12; просмотров: 923. Нарушение авторских прав; Мы поможем в написании вашей работы!



Практические расчеты на срез и смятие При изучении темы обратите внимание на основные расчетные предпосылки и условности расчета...

Функция спроса населения на данный товар Функция спроса населения на данный товар: Qd=7-Р. Функция предложения: Qs= -5+2Р,где...

Аальтернативная стоимость. Кривая производственных возможностей В экономике Буридании есть 100 ед. труда с производительностью 4 м ткани или 2 кг мяса...

Вычисление основной дактилоскопической формулы Вычислением основной дактоформулы обычно занимается следователь. Для этого все десять пальцев разбиваются на пять пар...

Типовые примеры и методы их решения. Пример 2.5.1. На вклад начисляются сложные проценты: а) ежегодно; б) ежеквартально; в) ежемесячно Пример 2.5.1. На вклад начисляются сложные проценты: а) ежегодно; б) ежеквартально; в) ежемесячно. Какова должна быть годовая номинальная процентная ставка...

Выработка навыка зеркального письма (динамический стереотип) Цель работы: Проследить особенности образования любого навыка (динамического стереотипа) на примере выработки навыка зеркального письма...

Словарная работа в детском саду Словарная работа в детском саду — это планомерное расширение активного словаря детей за счет незнакомых или трудных слов, которое идет одновременно с ознакомлением с окружающей действительностью, воспитанием правильного отношения к окружающему...

Билиодигестивные анастомозы Показания для наложения билиодигестивных анастомозов: 1. нарушения проходимости терминального отдела холедоха при доброкачественной патологии (стенозы и стриктуры холедоха) 2. опухоли большого дуоденального сосочка...

Сосудистый шов (ручной Карреля, механический шов). Операции при ранениях крупных сосудов 1912 г., Каррель – впервые предложил методику сосудистого шва. Сосудистый шов применяется для восстановления магистрального кровотока при лечении...

Трамадол (Маброн, Плазадол, Трамал, Трамалин) Групповая принадлежность · Наркотический анальгетик со смешанным механизмом действия, агонист опиоидных рецепторов...

Studopedia.info - Студопедия - 2014-2024 год . (0.012 сек.) русская версия | украинская версия