0% found this document useful (0 votes)
57 views

Module 1 - Overview of System Software

1. The document provides an overview of system software and introduces key concepts like compilers, assemblers, interpreters, and the software hierarchy. 2. It defines system software as programs that help run a computer system, like operating systems and device drivers, while application software performs specific tasks for users like word processing. 3. The order of system programs used from development to execution is: editor, macroprocessor, compiler or assembler, linker, loader, then the program is ready to execute.

Uploaded by

Sky J
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views

Module 1 - Overview of System Software

1. The document provides an overview of system software and introduces key concepts like compilers, assemblers, interpreters, and the software hierarchy. 2. It defines system software as programs that help run a computer system, like operating systems and device drivers, while application software performs specific tasks for users like word processing. 3. The order of system programs used from development to execution is: editor, macroprocessor, compiler or assembler, linker, loader, then the program is ready to execute.

Uploaded by

Sky J
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Module 1

Overview of System Software


Syllabus
Introduction to System Software with examples

Software Hierarchy

Differentiate between system software and application


software

Introduction to Language Processors: Compiler, Assembler,


Interpreter.
Basic Terms

SOFTWARE HARDWARE FIRMWARE


Basic Definitions
What is System?

System is the collection of various components


Ex:- College is a system.

College is a system because it consists of various components


like various departments, classrooms, faculties and students.

What is Programming? – Art of designing and implementing the


programs.
In college system, what is program?

- A LECTURE can be a Input-> The information that


teacher is delivering.
program. Because it has Output-> The knowledge student
input and output. has been received.

System programming is an art of designing and


implementing system Programs.
What is Software ?
• Software is collection of many programs

• Software is generally divided into:


– System software
– Application software

a) System software are programs which help in the running of a computer


system
• E.g. Disc operating programs, Compiler etc.
b) Application software are programs which perform specific tasks for the
user.
• E.g. Word processing software, Graphics package, Theatre booking
software.
Position of System Software
Differentiate Between System Software and
Application Software
List of System Software's
1. Assembler: An assembler is a program that accepts
as input an assembly language program & produces its
machine language equivalent along with information for
the loader.
Assembler
ALP m/c language & other information for the loaders
Databases

2. Preprocessor : The C preprocessor is a macro


processor that is used automatically by the C compiler to
transform your program before actual compilation. It is
called a macro processor because it allows you to define
macros, which are brief abbreviations for longer
constructs.
3. Compiler: A compiler is a program that reads an input in HLL & translates it into an
equivalent program in machine language.

Source m/c language Program ( e.g C,C++)


Error Messages

Phases of Compiler: Compiler operates in different phases.\


1. Lexical Analyzer
2. Syntax Analyzer
3. Semantic Analyzer
4. Intermediate Code Generator
5. Code Optimizer
6. Code Generator
Other- Symbol table & Error Handler
4. Interpreter: An interpreter is a translator that reads the program written in HLL &
translate line by line into an intermediate form, which it then executes.

5. Loader: Loader is a system program which is responsible for preparing the object
program for execution & initiates the execution.

OR

• A program routine that copies a program into memory for execution

• Function of Loader:

a) Allocation

b) Linking

c) Relocation

d) Loading
6. Linker: Linker is a program that combines object modules to form an executable program. Also
called Link editor & binder.

7. Operating System: Operating system is system software, consisting of program and data that
runs on computer and manage the computer hardware. It is an integrated set of programs that controls
the resources of a computer system and provides its users with an interface that is easier to use.
• Objective of OS:

-Make a computer system easier to use

-Manage the resources of a computer system

8. Device Drivers:

• A device driver is a program that controls a particular type of device that is attached to your
computer.

• There are device drivers for printers, displays, CD-ROM readers, diskette drives, and so on.
• Differentiate between application program and
system program.
Indicate the order in which following system
program are used, from developing program upto
its execution. Assembler, loaders, Linkers,
macroprocessor, compiler, editor.
Order in
which system
program are
used, from
developing
program up
to its
execution
Language Translator
• Compiler
• Assembler
• Interpreter
Difference between Compiler,
Interpreter & Assembler:
Sr. No Assembler Compiler Interpreter
1. It converts ALP into m/c It converts HLL program into m/c It converts HLL program line by line in
language. language. intermediate form, which it then executes.

2. It assembles whole source It compiles whole source It translates line by line.


program. program
3. Speed of execution is fast. Speed of execution is fast. Speed of execution is slow.
4. Program need to assemble only Program need to compile only For every run of program, program need to
once & can be executed once & can be executed be translated.
repeatedly. repeatedly

5. It creates an object file. It creates an object file. It does not create an object file.
6. It requires large memory space It requires large memory space It requires less memory space to store.
to store (But less than compiler). to store.

7. e.g. Microsoft assembler MS-DOC C compiler. Basic Interpreter.


( MASM)
8. Source language- Assembly Source language- C, C++ Source language-
BASIC, LISP
FAQ?
Q.1 Differentiate between application program and system program. Indicate the order
in which following system program are used, from developing program up to its
execution. Assembler, loaders, Linkers, macro-processor, compiler, editor. (5 Marks)

Q.2 Define software and Differentiate between system software & application
software.(5 Mrks)

Q.3 Differentiate between various language translators. (5 Mrks)


Thank You

You might also like