Computer Awareness - Computer Awareness-4
Computer Awareness - Computer Awareness-4
COMPUTER AWARENESS-4
SOFTWARE
Classification of Software
Translators
i.Compilers
ii.Interpreters
iii.Assemblers
System Software: Used to run a computer and extends basic input and output, house-
keeping facilities. System Software is a computer program which manages and
supports a computer system and its information activities. They manage the resource
of a computer and provide a set of standard services to its users. Generally, they are
developed and written by the vendor and sold to the end user along with the system.
1. Programming Language:-
A Programming Language is a language used in writing programs to
direct processing steps to be carried out by a computer.
They are part of the software of programming aids provided by the
manufacturer.
1
Sreedhar’s CCE
2. Operating system:-
1. Operation system is a master control program of a computer that
manages its internal function, provides means to control the
computers operations and file system.
2. It automatically loads the operating system parts, recognizes
hardware devices and loads other applications software programs.
Thus, it optimizes man-machine capabilities i.e., the human
interventions is minimized.
3. Operating systems work in multi-programming mode. Multi-
programming means interleaved execution of several programs to
enhance the productivity of the computer.
4. The scheduling for execution of these programs in parts is handled
by a special program in operating system known as the supervisory
program.
5. From the largest mainframes and super computers to the small
PC’s, almost all computer system runs under OS control.
3. Sub-Routine:
a. A Sub-Routine is a section of a main program which is
incorporated into the latter, as required to perform a series of basic
instructions.
b. Sub-Routine is called in from the backing storage when necessary
unless incorporated during program assembly or compilation.
c. Sub-Routine consists of instructions to perform tasks which are
commo0n to many different applications or appear repetitively in
the same program and their inclusion avoids the necessity of
writing them and debugging them especially for each application.
4. Utility programs:
The programs are written and provided by computer manufactures to all the
user installations. Utility programs generally perform the following tasks-
a) Sorting
b) Editing
c) Dumping of data
d) Converting the data from one recording medium to
another.
5. Diagnostic Routines:
These assist in debugging the programs by providing a printout of the contents
of the memory upon execution of each instruction sequentially. These are supplied
by the computer manufacturers.
6. Language Translators:
2
Sreedhar’s CCE
These are translation programs written and supplied written and supplied by
the computer manufacturers and are used to translate a program written in the source
language into the machine language of the computer on hand.
PROGRAMMING LANGUAGE
Machine Language:
1. Machine Language is program instructions which are actually read and
acted on by the computers processing circuitry.
2. The machine codes are phrased in binary number i.e. the instructions are
coded in 0 or 1 and are wired on the computer boards.
3. For executing an instruction, the programmers converted each instruction
containing the operation and the operand into binary codes.
4. Integrated circuits were used to write machine languages.
5. It is based on the internal engineering architecture of a compute and is the
only language which the computer understands and therefore, the
execution is faster.
Assembly Language:
1. Assembler language is also known as symbolic languages since they
employ symbols for both arithmetic and logical operations and location
address.
2. Assembler is program which transforms an assembly language program
into machine code sot that the computer can execute the program.
3. Assembler language is procedural language in which each program
statement corresponds to an instruction which the microprocessor can
carry out.
4. The language uses mnemonics ex: SUB, ADD, WRT, HLT
5. Assembly language and the translator that translates the assembly code into
machine code are called as Assembler.
6. This Language is easy to learn and use, the error detection and modification
of the programs is easier, and also faster.
3
Sreedhar’s CCE
Disadvantage: Program coded in assembler language for one compute will not run on a
computer of a different manufacture unless the internal design is exactly the same.
Compiler:
1. These are higher level language than compiled languages and are designed
to work with an application producing spectacular effects with a minimum
programming effort.
2. They are non-procedural languages and they make it easier to access and
use the computer. The user is not required to construct any detailed steps
in writing a program.
3. They use English instructions, limited mathematical manipulation of data,
automatic report formatting, sorting and selection or record by given
criteria.
4. however, these language are slower than third Generation Language and
also require more computer storage capacity to perform a particular
operation
Advantages:
Disadvantages:
4
Sreedhar’s CCE
Operating Systems
Definition:
a) Schedule Jobs: Every organization gives priorities to different works and they can
determine the sequence in which they want the job to be managed.
b) Manage hardware and software resources: The programs required by the user
gets loaded in the primary storage and then cause the various hardware units to
perform as specified by the program.
c) Maintain System Security: A password is created for every user to ensure that
unauthorized persons are denied access to data in the system.
d) Enable Multiple User Resource Sharing: Many users can share the Programs at
the same time.
e) Handling Interrupts: It is a technique used by the operating system to temporarily
suspend processing of one program and enable the other program to be executed.
f) Maintain Usage records: This is useful in Companies where the usage of system
by various departments have to be recorded and also charged sometimes.
5
Sreedhar’s CCE
Network Facilities
Program Scheduling
Fault Monitoring
Virus Checking
Files:
File is a collection of related data, saved on a specific area of the
surface of any storage medium.
They are documents or other collection of information stored on a disk
and identified as a unit by a unique name.
The file name generally consists of two parts:
(i) Name specified by the user or manufacturer; and
(ii) Extension name (after the dot after the user
specified name) to indicate the type of file it is.
Examples
.bat (Batch File)
.com (Command File)
.doc (MS-Word File)
.jpg (Image File)
.txt (Text File)
.exe (Executable File)
.xls (MS-Excel File)
.ppt (MS-Power point)
Directories:
a) Directories are local storage units which enable the computer users to group files in
named, hierarchically organized Folders and Sub-Folders.
b) Files of a particular application can be stored in a directory and it can be viewed
using the operating system.
6
Sreedhar’s CCE
a) The Operating System which works with IBM compatible personal computers is
MS-DOS
Microsoft Windows:
a) It is a 16-bit GUI Operating System architecture specifically designed for the pc.
b) It has effective and compact user interface.
c) Microsoft allowed developers to produce software applications to run on their
Windows OS without the need to notify them.
d) Users/applications can employ increased RAM.
WINDOWS 95
a) Microcomputers with 32-bit processors and 32-bit memory buses are designed with
hardware support for virtual memory. Intel Chips like 80486 require new operating
system to take advantage of its power.
b) This brought the use of MS-Windows as a software interface with DOS.
c) Windows offer the user a Graphical User Interface (GUI). Using a mouse, the
user can click on a graphical icon on the screen to load a program such as a Word
Processor or Spreadsheet and then place this program in a window on the screen
that is marked with a border.
d) The user can simultaneously load other programs in other windows and can switch
among them using the mouse.
7
Sreedhar’s CCE
Features:
OS/2
Windows NT
UNIX:
- It is developed in 1969 at Bell Labs.
- It is a multi-user and multitasking operating system.
- It is written in high level C language.
- Only one user can work at a time as only on CPU available and no
terminals.
- Data are gathered from time to time and collected into a group or
batches before they are entered.
- Steps involved.
a) Data capture
b) Data transmission
c) Verification and Validation
d) Data Control Section
e) Computer processing
f) Job assembly
g) Distribution of Result.
Rime Sharing:
- Several tasks processed simultaneously.
- Computer switches from one job to another at a rapid rate by
maintaining.
- Time slices: job processed for short periods of time.
- Job entered through different terminals connected to main server.
- It appears to the user that the computer is exclusive working for
him but the face is that the computer servers him periodically.
INTERLEAVING TECHNIQUES
Technique that are commonly used by the operating system for larger systems.
In larger systems the central processor has to be shared for various operations. So, the
operating systems on larger computer systems often interleave or combine the
9
Sreedhar’s CCE
processing work of multiple simultaneous users or .applications in such a way that the
output is beneficial to all. Some interleaving techniques used are-
Multiprogramming:
a) Multiprogramming is defined as execution of two or more programs that reside
in primary storage.
b) Since the CPU can execute only one instruction at a time, it cannot
simultaneously execute instructions from two or more programs. However, it
can execute instructions alternately from two programs. This is called
concurrent execution.
c) To effectively use the system resources, when processing in one program is
interrupted, the processor switches to another program. This enables the use of
the processor, input and output peripherals thereby utilizing the whole system
efficiently.
d) To avoid the delay of processing, a technique called buffering is used. Even if
the processor speed is very high, the input and output peripherals are slow
and this causes an imbalance in processing. So, to compensate for this speed
difference, buffers are placed between the processor and the input or output
peripherals, so that data sent or received are stored in the buffers and the
processor is free to perform the next instruction
e) After processing the first job it precedes to the second job in short bursts of
time called Time Slices.
f) It is dependent on interrupts.
g) Jobs are entered through different terminals connected in network through
computer cables.
Multi-Tasking
a) It refers to the ability of the operating system to execute two or more of single
user's tasks simultaneously.
b) This helps when a user wants to type a document and simultaneously uses the
same system to do the job of printing another document.
Virtual Memory
Under a Virtual Memory, a program and its data are broken into pages.
Only those pages needed in primary memory at anyone time are loaded;
other pages are kept on secondary-storage devices.
10
Sreedhar’s CCE
Multiprocessing:
Multiprogramming System:
11
Sreedhar’s CCE
12
Sreedhar’s CCE
It can be called from one or more sections of the main part of the program
when needed. By writing it as
A Sub-Routine, the programmer can save time.
It is also useful to carry out any modification at one place and if there is any
error it can be rectified at once.
2. Spooling Software:
a) Spooling (Simultaneous Peripheral Operation on Line) is a technique used
for dynamic job processing.
b) It allows input and output operations to occur simultaneously with
processing operations.
c) Input data from low-speed devices is stored temporarily on high speed
secondary storage units to form a queue which can be quickly accessed by
the CPU.
d) Output data is also written at high speed onto tape or disk units and forms
another queue waiting to use slow-speed devices such as a printer. The
jobs are transferred to these output devices when these devices are
available.
e) The operating system supplies a special written program to control the
spooling process. Hence, with aid of spooling technique, the CPU does
not have to wait for the slow input/output devices and hence it can work
at its maximum speed.
3.Text Editors:
a) Text Editors are programs for writing and editing text, but without the
features of a full-fledged word processing program.
b) They are used for writing source code as well as creating basic text
documents.
c) It helps the programmers to write instructions for a program or to create or
13
Sreedhar’s CCE
4. Other Utilities:
a) Disk Copy Program: To copy the entire contents of one diskette to another.
It is generally used to make a backup or archive copy of a data diskette or an
application program. The disk copy program can also be used to transfer data
stored from one size or capacity diskette to another.
b) File Copy Program: To copy one or a group of files, rather than the entire
contents of the diskette, to be copied to another diskette. It has the same
functions as a disk copy utility except that it allows an individual file or group
of files to be copied.
c) Disk Formatting Program: This is used to format a diskette, i.e. write
sectors on the diskette, which enables the operating system to place data in
allocated locations.
d) File Deletion Program: To delete a file stored in the diskette.
e) File Viewing Program: To view the files saved in the diskette through the
computer's monitor.
f) Directory Program: This enables the user to see the storage space taken by
each file and also the date and time of saving the file on the diskette.
Diagnostics routines:
1. Diagnostic Routines are the database of the computer that helps the user to
identify the hardware accessories supplied by the manufacturer.
2. Diagnostic Routines identify the type of processor, BIOS supplied, keyboard
attached or the monitor type supplied with the computer.
3. They test the computer hardw2.re and software to determine whether they are
operating properly.
4. Diagnostic Routines are sometimes treated as a category of the Utility or Service
Programs.
Diagnostic Routines:
a) What type of processor does the computer use?
b) Is there a math coprocessor in the computer?
c) Who is the BIOS manufacturer?
d) What is the total amount of conventional
memory in the computer?
e) What type of the keyboard is attached to
the computer?
f) What is the display type?
g) If there is a mouse attached to the computer, what type is it and who made
it?
Language Translators:
Language Translators accept statements in one language and produce equivalent
statements in another language. They read the source language statements one at a
time and prepare a number of machine instructions to perform the operations
14
Sreedhar’s CCE
1.Compilers:
a) They translate the entire program into machine language before the program is
executed.
b) Earlier they first translated a source program into assembly language and then
called on an existing assembler to produce machine language. Nowadays,
most compilers translate from source language (e.g. COBOL) directly to
machine language.
c) The Compiler analyses each statement in the source program and generates
equivalent sequence of instructions in machine language called as Object
Program, also giving out syntax errors found in the source program.
2.Interpreter:
a) They are translators for a high level programming language that translates
and runs the program at the same time.
b) The interpreter does not save an object program, since translation and
execution processes are alternate.
c) The actual interpreting of high level language is faster with interpreter as
compared to compiler but the program execution is slower with an
interpreter as compared to a fully compiled program.
Limitations:
- Wastage of time in compiling each line.
- No advantage of Object code
- The program has to be written again and again since
no object code is developed where as a compiler an
object has coded error free program.
3.Assembler:
a) The program that translates assembly language to machine language is
called an Assembler.
b) An assembler produces one machine-language instruction for each
assembly-language instruction in the program.
c) The input to the translator is known as Source Language and the output as
Object Program
Advantages:
o Saves time
o Few errors made are easier to find.
o They are also easier to modify.
o Disadvantages
o Coding is time consuming and machine oriented.
15
Sreedhar’s CCE
Firmware
1. Firmware or Micro Programs refer to a series of special program instructions.
Basic operations such as addition, multiplication etc. in a computer is carried
out by hard-wired circuits. These fundamental tasks are then combined in the
form of micro-programs to produce higher level operations such as move
data, make comparison etc.
2. These micro programs are called Firmware because they deal with very low
level machine operations and to substitute additional hardware. Firmware is
held in the CPU in a special control storage device.
3. It is a combination of hardware and software. Sequence of instructions to the
system with application packages come as firmware.
16
Sreedhar’s CCE
b) It is not public domain in that the c6mpany or individual that develops the
software retains ownership of the program but the software can be used freely.
c) Many popular Open Source applications are being developed and upgraded
regularly by individuals and companies that believe in the Open Source concept.
Word Processing:
Word Processor:
b) Manipulate Text Material: They facilitate the user to create, alter and reorganize
large pieces of text on a terminal screen before storing and / or printing out the final
copy.
Uses:
Word Processor helps to
a) Read and Revise a document on screen.
b) Change the formatting to get the desired visual effect.
c) Increase productivity by automating.
d) Improve proof reading
17
Sreedhar’s CCE
Definition:
a) An electronic spreadsheet is a General Purpose Application Software that is used to
organize, calculate and analyze numerical data.
b) It is a matrix of columns (assigned with alphabetical letters) and rows (usually
numbered) that form individual cell which has an individual address like A12,
BX444 etc.
c) Into each cell, the user can key in a value, a formula or a label.
d) Examples: Lotus 123, MS Excel, Open Office
Features:
a) It deals with calculation oriented text and can also deal with non-numeric data.
b) It has inbuilt functions and formula that perform the calculations
automatically.
c) A user can analyze data using spreadsheet software and create presentation with
charts.
d) It has the ability to keep the figures and formula in its memory and recalculates it
according to the formula whenever data in any cell is changed.
c) The basic concept of the DBMS is database is distinct from the programs accessing
it. So, this facilitates the creation of data structures and relieves the programmer of
the problems of setting up complicated files.
Browser:
a) Browser is an application program that provides a way to look at and interact with
all the information on the World Wide Web.
(b) Web Browser is a client program that uses the Hypertext Transfer Protocol
(HTTP) to make requests of Web servers throughout the Internet on behalf of the
browser user.
18
Sreedhar’s CCE
(c) Example: Netscape Navigator, Microsoft Internet Explorer, Opera, Hot java,
fire fox etc.
E-Mail:
Application software
Application Software is main programs for various applications which are written by
the programmer of a computer using organization. The program usually solves a
particular application or problem that is unique to that organization.
Examples: Payroll, General Accounting, Sales Statistics and Inventory Control etc.
Usually different organizations require different programs for similar application and
hence it is difficult to write standardized programs.
Tailor-made application software can be written by software houses on modular
design to cater to the needs of different users, e.g. Tally Accounting Package.
19