SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Downloaden Sie, um offline zu lesen
Prof. K. Adisesha (Ph.D.)
1 Software Concepts
Chapter-4
SOFTWARE CONCEPTS
Introduction
A computer system has three components viz.
o Hardware
o Software
o User
 Hardware: It consists of the physical components of a computer.
 Software: A set of instructions that tells the computer to perform an intended task.

Types of Software
Software is broadly classified into two categories namely,
o System Software
o Application Software

System Software
 System software is a computer program that controls the system hardware and interacts with
application software.
 System software is hardware dependent and not portable.
 System software provides a convenient environment for program development and
execution.
 Programming languages like assembly language/C/C++/Visual C++/Pascal are used to
develop the system software.
 System software is of three types:
o Language Translators
o Operating System
o Utilities Software

Application Software
 Application software that has been written to process performs a specific job.
 Application software is generally written in high level languages.
 It focus is on the application, not the computing system.
Prof. K. Adisesha (Ph.D.)
2 Software Concepts
 Application software is classified into two types:
o Application Specific
o General Purpose
 Application specific software is created to execute an exact task.
 It has a limited task. For example accounting software for maintaining accounts.
 General-purpose software is not limited to only one function.
 For example: Microsoft office (MS-Word, MS-Excel), Tally, Oracle etc.
Introduction to Computer Languages
 Programming Language is a set of rules called syntax which user has to follow, to instruct
the computer what operation are to be performed.
 Computer language are classified into two categories:
o Low-Level Languages
Machine level languages
Assembly languages
o High-Level Languages
General Purpose languages (Ex: BASIC, PASCAL, C)
Specific purpose languages (Ex: COBOL, FORTAN, C++)

Machine Level Language
 Machine level language is the fundamental language of a computer.
 It is written using binary numbers i.e. 0’s and 1’s.
 A program written in the machine level language is called Machine code.
 The instructions provided in machine language are directly understood by the computer and
converted into electrical signals to run the computer.
 For example a typical program in machine language to add two numbers:
ACTION STATEMENTS
Load the data
Add the contents
Store the results
Stop
0001 00110010
0100 10100101
1000 00101001
0000 00000000
 An instruction given in the machine language has two parts:
o OPCODE (Operation Code)
o Operand (Address/ Location)
 The first 4-bit represents Opcode denoting operation such as load, move, store etc.
 The last 8-bit represents the operand denoting the address.
 Advantages: It can be directly typed and executed and no compilation or translation is
requires.
 Disadvantage: These instructions are machine dependent and it is difficult to program,
modify and debug errors.

Prof. K. Adisesha (Ph.D.)
3 Software Concepts
Assembly Level Language:
 Assembly level language is a low-level programming language that allows a user to write
programs using letters, words and symbols called mnemonics, instead of the binary digits
used in machine level languages.
 A program written in the assembly level language is called Assembly code.
 For example a typical program in assembly language to add two numbers:
ACTION STATEMENTS
Load the data to accumulator
Add the contents of B to Accumulator
Store the results in location C
Print the results
Stop
STA
ADD B
STR C
PRT C
HLT
 However, a program in assembly language has to be converted to its equivalent machine
language to be executed on computer.
 The translator program that converts an assembly code into machine code is called an
assembler.
 Advantages: Mnemonic code are easy to remember, easy to understand, easy to modify and
debug.
 Disadvantage: These languages are the mnemonic are machine dependent and assembly
language programming takes longer to code.
High-level Languages
 A language designed to make programming easier through the use of familiar English words
and symbols.
 High-level languages used English like language, which are easier to learn and use.
 High-level languages are machine independent. Therefore, a program written for one
computer can be executed on different computers with no or only slight modifications.
 Some of the high-level languages are C, C++, JAVA, FORTRAN, QBASIC, and PASCAL.
 For example a typical program in high level language to add two numbers:
cin>>a>>b;
c = a + b;
cout<< “ Answer = “ << c;
 However a program in high-level language has to be converted to its equivalent machine
language to be executed on computer.
 The translator program that converts a high-level code into machine code is called a
compiler.

Advantage:
o HLL’s are machine independent.
o Easy to learn and understand.
o Easy to modify and debug the program.
Prof. K. Adisesha (Ph.D.)
4 Software Concepts

Disadvantage:
o HLL is slower in execution.
o HLL requires a compiler to convert source code to object code.
o HLL take more time to execute and require more memory.

Language Translators
 The translator translates the high-level language to low level language.
 There are three types of translators: Compilers, Interpreters, and Assemblers.
Assembler:
 Assembler is system software, which translates an assembly language program into its
machine language.
 It recognizes the mnemonics used in the assembly level languages and substitutes the
required machine code for each instruction.
 Example: TASM (Turbo Assembler), MASM (Microsoft Macro Assembler) etc.
Compilers:
 Compiler is system software that translates high-level language (source code) into the
machine level language (machine/object code).
 It reads the whole program and translates the entire program at once into a series of machine
level language instructions.
 Once compiled, the program normally is saved automatically and can be executed directly.
 Examples: C, C++.
Prof. K. Adisesha (Ph.D.)
5 Software Concepts
Interpreters:
 An Interpreter reads once a statement of a high-level language program at a time, translates it
into machine level language, and executes it immediately.
 It continues to read, translate and execute the statements one by one until it reaches the end
of the program. Therefore, it is slower than a compiler.
 The machine code produced by the interpreter is not saved and hence, to execute a statement
again, it has to be interpreted again.
 Example: BASIC, PROLOG

Linker and Loader:
 A linker is system software that links (combines) smaller programs to form a single
program.
 A source program written in high-level languages may contain a number of modules or
segments. To execute properly the modules are to be linked so that execution of the program
is sequential. This operation is performed by software called as the linker.
 A loader is system software that loads machine code of a program into the system
memory and prepares these programs for execution.
 Once an executable program is generated someone will have to load the program into the
main memory of the computer so that it can be executed. This operation is performed by
software called as the loader.

Utility Software
 Utilities are those helpful programs that assist the computer by performing helpful functions
like backing up disk, scanning/cleaning viruses etc.
 Utility software is generally called as Application oriented ready-made system programs.
 Some of the important utility software is Text editor, Backup utility, Disk Defragmenter,
Antivirus software.

Operating System (OS):
Prof. K. Adisesha (Ph.D.)
6 Software Concepts
 An operating system is a set of programs, which acts as an interface between the user and the
computer.
 The main system software is the operating systems, which starts up the computer and control
its operation.
 Operating system manages the resource, resolves conflicts’ and tries to optimize the
performance of the system.
 The user communicates with the computer through operating system commands and program
instructions.
 Operating System plays an important role in loading programs from disk into memory,
displaying message, translating program and in outputting the results.
 Some examples of operating system are: UNIX, LINUX, MS-DOS, and Microsoft Windows
such as Win 95, Win 98, Win 2000, Win XP, Win 7, Win 8, Android, Mac OS etc.

Functions of Operating System(OS):
Main functions of the operating system are as follows:
o Memory Management
o Process Management
o Device Management
o File Management
o Protection and Security
o User interface or Command interpreter.
Memory Management:
The activities of memory management handled by OS are:
o Allocate memory
o Free Memory
o Re-allocate memory to a program when a used block is freed
o Keep track of memory usage.

Process Management:
The activities of process management handled by OS are:
o Control access to shared resources like file, memory I/O and CPU
o Control execution of applications
o Create, execute and delete a process
o Cancel or resume a process
o Schedule a process
o Synchronization, communication and deadlock handling for process

Device Management:
The activities of device management task handled by OS are:
o Open, close and write device drivers.
o Communication, control and monitor the device drivers.


Prof. K. Adisesha (Ph.D.)
7 Software Concepts
File Management:
The activities of file management task handled by OS are:
o Create and delete both files and directories
o Provide access to files
o Allocate space for files
o Keep back-up of files
o Secure files

Protection and Security:
 OS protects the resource of system.
 User authentication, file attributes like read, write, encryption and back-up of data are used
by OS to provide basic protection.

User Interface or Command Interpreter:
 OS provides an interface between the user and the computer hardware.
 The user interface is a set of commands or a Graphical User Interface via which the user
interacts with the application and the hardware.

Types of Operating System(OS):
 The different types of operating system are:
o Single user Operating System
o Batch Operating System
o Multiprogramming Operating System
o Multitasking Operating System
o Multiuser Operating System
o Time sharing System (Online /Multiuser)
o Real time system
o Distributed Operating System
o Network Operating System
o Multithreading Operating System



Single User Operating System:
This OS allows only one user to share the system resource including the CPU.
These are mainly the operating system configured for the use of desktop PC and laptops.
DOS and Windows- 95, Win-98, Apple Macintosh etc are example.




Prof. K. Adisesha (Ph.D.)
8 Software Concepts
Batch Operating System:
 Batch is defined as a group of job with similar needs and similar resource requirements.
 The operating system that allows users to create batches and execute each batch
sequentially, processing all jobs of batch considering them as a single process is called
“Batch Operating system”
 It allows litter or no interaction between users and executing programs.
 This is well suited for applications with large computation time and no user interaction.
 Payroll, forecasting, statistical analysis are programs example for its usage.
 Advantages:
o User need not wait during its execution.
o It will function in FIFO (First In First Out) order.
 Disadvantages:
o Non-interactive mode of execution
o Offline debugging
 IBM System/360 Operating system is an example for Batch Operating system
 In DOS, we can emulate the batch processing using .BAT file.

Multiprogramming Operating System:
 Multiprogramming is the capability of CPU to execute two or more programs concurrently.
 Two or more programs are stored concurrently in primary storage, and the CPU moves from
one program to another, partially executing each in turn.
 Early computer system and many personal computers execute program in the order in which
it is read into the system. Only one program is executed at a time.

Prof. K. Adisesha (Ph.D.)
9 Software Concepts
Multitasking Operating System:
 Multitasking operating systems allow more than one program to run at a time.
 In gives you the perception of 2 or more tasks running at the same time. It does this by
dividing system resources amongst these tasks.
 Multitasking is usually implemented by code and data of several programs in memory
simultaneously and multiplexing processor and I/O device among them.
 Multitasking is also called context switching.
 Multitasking usually refers to a single user.
 Example: Windows 98

Multi-user Operating System:
 A multi-user operating system allows multiple users on different computers or terminal to
access a single system with one OS on it.
 It creates and maintains individual user environments, individual authentication and security
level privileges, provides per user resource usage accounting.
Time-Sharing Operating System:
Time-Sharing operating system allows many users to share the computer resource
simultaneously.

 Time sharing refers to the allocation of computer resource in time slots to several programs
simultaneously.
 Large CAD and text processing systems belong to timesharing OS.
 Most of the time-sharing operating systems adopted time slicing/ round robin scheduling
algorithm. Each user/process will receive a portion of the time slot.
 UNIX, Windows Server is the example for multiprogramming, multi-use and time sharing
systems.

Real-time Operating System:
 Real time systems refer to a computer and software systems that respond to events before the
events become obsolete.
 The primary objective of real-time systems is to provide quick event – response times and
thus meeting the scheduling deadlines.
 The main applications where real time systems are used include medical imaging systems,
industrial control systems, flight control and military application.
 Windows CE, Symbian, Linux OS are example for real-time systems.
Prof. K. Adisesha (Ph.D.)
10 Software Concepts
Distributed Operating System:
 A distributed operating system is a collection of autonomous computer systems capable of
communication and cooperation via the software and hardware interconnections.
 For example: if we have ‘N’ systems in a distributed environment then the distributed OS
helps us in balancing the load by sharing processors, I/O devices etc.
 The ATM centers of a bank are example of distributed operating system.

Network Operating System:
 A network operating system is a collection of software and associated protocols that allow a
set of autonomous computer which are interconnected by a computer network.
 It can be used in a convenient and cost-effective manner.
 In a network operating system the user are aware of the existence of multiple computers and
can log in to remote machines and copy files from one machine to another machine.
 Windows NT, windows server, LINUX are example.
Multithreaded Operating System:
 A thread is a sequence of instructions within a program.
 A program or process may have many threads, which share the same code section, data
section, and other OS resources.
 It provides many logical paths through the program to be executed simultaneously.
 Sun Solaris, Windows 2000, Multithreaded UNIX, and LINUX are examples.

Functional Features of Operating System(OS):
 There are two types of user interface:
o Command-Line User Interface (CUI)
o Graphical User Interface (GUI)

CUI Interface:
 CUI interface allows the user to interact with a computer through text terminal.
 It is a Non-graphical and text-based user interface.
 MS-DOS is an operating system, which provides a CUI.
 The commands must be given at the command prompt ( C:>)
Prof. K. Adisesha (Ph.D.)
11 Software Concepts
 Both input and output are character based, the interface is also known as Character User
Interface.
GUI Interface:
 The GUI was first introduced in 1984 by Apple with Macintosh.
 GUI is an interface where the commands are selected from menus and icons rather the typing
them from the keyboard.
 It allows user to click on the required icon, with the help of Mouse.
 Windows Operating System is the most popular OS based on GUI.
Difference between CUI and GUI:
CUI Interface GUI Interface
Command-line User Interface Graphical User Interface
The user must type the commands at command
prompt to interact with the computer
The user must click on icons, menus, dialog
boxes etc. to interact with the computer.
The user must remember the commands and
their parameters
The user need not remember any commands, as
it is available in the form of menus and icons
on monitor.
Mouse operation not available for DOS Mouse operation required to select the
commands.
____________________________________________________
CHAPTER 4 – SOFTWARE CONCEPTS BLUE PRINT
VSA (1 Marks) SA (2 Marks) LA (3 Marks) Essay (5 Marks) Total
-- 01 Question 01 Question -- 05 Marks

Weitere ähnliche Inhalte

Was ist angesagt?

High Level Language (HLL)
High Level Language (HLL)High Level Language (HLL)
High Level Language (HLL)Maliha Jahan
 
Assembly language
Assembly languageAssembly language
Assembly languagegaurav jain
 
Macro and Preprocessor in c programming
 Macro and  Preprocessor in c programming Macro and  Preprocessor in c programming
Macro and Preprocessor in c programmingProfSonaliGholveDoif
 
System Programing Unit 1
System Programing Unit 1System Programing Unit 1
System Programing Unit 1Manoj Patil
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 
Python - An Introduction
Python - An IntroductionPython - An Introduction
Python - An IntroductionSwarit Wadhe
 
Computer Language Translator
Computer Language TranslatorComputer Language Translator
Computer Language TranslatorRanjeet Kumar
 
Problem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to CProblem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to CPrabu U
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreterParas Patel
 
1 - Introduction to Compilers.ppt
1 - Introduction to Compilers.ppt1 - Introduction to Compilers.ppt
1 - Introduction to Compilers.pptRakesh Kumar
 
Computer Organization and Assembly Language
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly Languagefasihuddin90
 
Preprocessor directives in c language
Preprocessor directives in c languagePreprocessor directives in c language
Preprocessor directives in c languagetanmaymodi4
 
Integrated Development Environments (IDE)
Integrated Development Environments (IDE) Integrated Development Environments (IDE)
Integrated Development Environments (IDE) SeanPereira2
 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Raja Hamid
 

Was ist angesagt? (20)

High Level Language (HLL)
High Level Language (HLL)High Level Language (HLL)
High Level Language (HLL)
 
Problem solving methodology
Problem solving methodologyProblem solving methodology
Problem solving methodology
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Assembly language
Assembly languageAssembly language
Assembly language
 
Macro and Preprocessor in c programming
 Macro and  Preprocessor in c programming Macro and  Preprocessor in c programming
Macro and Preprocessor in c programming
 
Language processor
Language processorLanguage processor
Language processor
 
System Programing Unit 1
System Programing Unit 1System Programing Unit 1
System Programing Unit 1
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 
Python - An Introduction
Python - An IntroductionPython - An Introduction
Python - An Introduction
 
Computer Language Translator
Computer Language TranslatorComputer Language Translator
Computer Language Translator
 
Problem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to CProblem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to C
 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
 
Programming in c
Programming in cProgramming in c
Programming in c
 
1 - Introduction to Compilers.ppt
1 - Introduction to Compilers.ppt1 - Introduction to Compilers.ppt
1 - Introduction to Compilers.ppt
 
Problem solving methodology
Problem solving methodologyProblem solving methodology
Problem solving methodology
 
Computer Organization and Assembly Language
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly Language
 
Preprocessor directives in c language
Preprocessor directives in c languagePreprocessor directives in c language
Preprocessor directives in c language
 
Functions in C
Functions in CFunctions in C
Functions in C
 
Integrated Development Environments (IDE)
Integrated Development Environments (IDE) Integrated Development Environments (IDE)
Integrated Development Environments (IDE)
 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2
 

Ähnlich wie Software Concepts Notes

PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxUzma1102
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.scHepsijeba
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxHazardRhenz1
 
1.Overview of Programming.pptx
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptxVishwas459764
 
Software and its types
Software and its typesSoftware and its types
Software and its typesAhmad Hussain
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)Suneel Dogra
 
Computer software and operating system
Computer software and operating systemComputer software and operating system
Computer software and operating systemsonykhan3
 
Introduction to system programming
Introduction to system programmingIntroduction to system programming
Introduction to system programmingsonalikharade3
 
Introduction to Computer Programming (general background)
Introduction to Computer Programming (general background)Introduction to Computer Programming (general background)
Introduction to Computer Programming (general background)Chao-Lung Yang
 
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdfAERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdfssuserb3a23b
 
introductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxintroductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxummeafruz
 
System Software and Programming.pptx
System Software and Programming.pptxSystem Software and Programming.pptx
System Software and Programming.pptxVanshikaPatel41
 
Inroduction System Software -features Types
Inroduction System Software -features TypesInroduction System Software -features Types
Inroduction System Software -features TypesSwapnaliPawar27
 

Ähnlich wie Software Concepts Notes (20)

computer Unit 6
computer Unit 6computer Unit 6
computer Unit 6
 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docx
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.sc
 
Software concepts ppt
Software concepts pptSoftware concepts ppt
Software concepts ppt
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
 
Richa garg itm
Richa garg itmRicha garg itm
Richa garg itm
 
1.Overview of Programming.pptx
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptx
 
Software and its types
Software and its typesSoftware and its types
Software and its types
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)
 
Computer software and operating system
Computer software and operating systemComputer software and operating system
Computer software and operating system
 
Introduction to system programming
Introduction to system programmingIntroduction to system programming
Introduction to system programming
 
SOFTWARE
SOFTWARESOFTWARE
SOFTWARE
 
Introduction to Computer Programming (general background)
Introduction to Computer Programming (general background)Introduction to Computer Programming (general background)
Introduction to Computer Programming (general background)
 
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdfAERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
 
introductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxintroductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptx
 
Unit2_1.pdf
Unit2_1.pdfUnit2_1.pdf
Unit2_1.pdf
 
Ppt 1
Ppt 1Ppt 1
Ppt 1
 
CISY 105 Chapter 1
CISY 105 Chapter 1CISY 105 Chapter 1
CISY 105 Chapter 1
 
System Software and Programming.pptx
System Software and Programming.pptxSystem Software and Programming.pptx
System Software and Programming.pptx
 
Inroduction System Software -features Types
Inroduction System Software -features TypesInroduction System Software -features Types
Inroduction System Software -features Types
 

Mehr von Prof. Dr. K. Adisesha

Software Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdfSoftware Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdfSoftware Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdfSoftware Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfSoftware Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdfSoftware Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdfSoftware Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdfProf. Dr. K. Adisesha
 
Computer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. AdiseshaComputer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. AdiseshaProf. Dr. K. Adisesha
 
CCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. AdiaeshaCCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. AdiaeshaProf. Dr. K. Adisesha
 
CCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. AdiseshaCCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. AdiseshaProf. Dr. K. Adisesha
 
CCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaCCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaProf. Dr. K. Adisesha
 
CCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdfCCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdfProf. Dr. K. Adisesha
 

Mehr von Prof. Dr. K. Adisesha (20)

Software Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdfSoftware Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdf
 
Software Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdfSoftware Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdf
 
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdfSoftware Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
 
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfSoftware Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
 
Software Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdfSoftware Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdf
 
Software Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdfSoftware Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdf
 
Computer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. AdiseshaComputer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. Adisesha
 
CCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. AdiaeshaCCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. Adiaesha
 
CCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. AdiseshaCCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. Adisesha
 
CCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaCCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. Adisesha
 
CCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdfCCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdf
 
Introduction to Computers.pdf
Introduction to Computers.pdfIntroduction to Computers.pdf
Introduction to Computers.pdf
 
R_Programming.pdf
R_Programming.pdfR_Programming.pdf
R_Programming.pdf
 
Scholarship.pdf
Scholarship.pdfScholarship.pdf
Scholarship.pdf
 
Operating System-2 by Adi.pdf
Operating System-2 by Adi.pdfOperating System-2 by Adi.pdf
Operating System-2 by Adi.pdf
 
Operating System-1 by Adi.pdf
Operating System-1 by Adi.pdfOperating System-1 by Adi.pdf
Operating System-1 by Adi.pdf
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
 
Data_structure using C-Adi.pdf
Data_structure using C-Adi.pdfData_structure using C-Adi.pdf
Data_structure using C-Adi.pdf
 
JAVA PPT -2 BY ADI.pdf
JAVA PPT -2 BY ADI.pdfJAVA PPT -2 BY ADI.pdf
JAVA PPT -2 BY ADI.pdf
 
JAVA PPT -5 BY ADI.pdf
JAVA PPT -5 BY ADI.pdfJAVA PPT -5 BY ADI.pdf
JAVA PPT -5 BY ADI.pdf
 

Kürzlich hochgeladen

Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 

Kürzlich hochgeladen (20)

Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

Software Concepts Notes

  • 1. Prof. K. Adisesha (Ph.D.) 1 Software Concepts Chapter-4 SOFTWARE CONCEPTS Introduction A computer system has three components viz. o Hardware o Software o User  Hardware: It consists of the physical components of a computer.  Software: A set of instructions that tells the computer to perform an intended task.  Types of Software Software is broadly classified into two categories namely, o System Software o Application Software  System Software  System software is a computer program that controls the system hardware and interacts with application software.  System software is hardware dependent and not portable.  System software provides a convenient environment for program development and execution.  Programming languages like assembly language/C/C++/Visual C++/Pascal are used to develop the system software.  System software is of three types: o Language Translators o Operating System o Utilities Software  Application Software  Application software that has been written to process performs a specific job.  Application software is generally written in high level languages.  It focus is on the application, not the computing system.
  • 2. Prof. K. Adisesha (Ph.D.) 2 Software Concepts  Application software is classified into two types: o Application Specific o General Purpose  Application specific software is created to execute an exact task.  It has a limited task. For example accounting software for maintaining accounts.  General-purpose software is not limited to only one function.  For example: Microsoft office (MS-Word, MS-Excel), Tally, Oracle etc. Introduction to Computer Languages  Programming Language is a set of rules called syntax which user has to follow, to instruct the computer what operation are to be performed.  Computer language are classified into two categories: o Low-Level Languages Machine level languages Assembly languages o High-Level Languages General Purpose languages (Ex: BASIC, PASCAL, C) Specific purpose languages (Ex: COBOL, FORTAN, C++)  Machine Level Language  Machine level language is the fundamental language of a computer.  It is written using binary numbers i.e. 0’s and 1’s.  A program written in the machine level language is called Machine code.  The instructions provided in machine language are directly understood by the computer and converted into electrical signals to run the computer.  For example a typical program in machine language to add two numbers: ACTION STATEMENTS Load the data Add the contents Store the results Stop 0001 00110010 0100 10100101 1000 00101001 0000 00000000  An instruction given in the machine language has two parts: o OPCODE (Operation Code) o Operand (Address/ Location)  The first 4-bit represents Opcode denoting operation such as load, move, store etc.  The last 8-bit represents the operand denoting the address.  Advantages: It can be directly typed and executed and no compilation or translation is requires.  Disadvantage: These instructions are machine dependent and it is difficult to program, modify and debug errors. 
  • 3. Prof. K. Adisesha (Ph.D.) 3 Software Concepts Assembly Level Language:  Assembly level language is a low-level programming language that allows a user to write programs using letters, words and symbols called mnemonics, instead of the binary digits used in machine level languages.  A program written in the assembly level language is called Assembly code.  For example a typical program in assembly language to add two numbers: ACTION STATEMENTS Load the data to accumulator Add the contents of B to Accumulator Store the results in location C Print the results Stop STA ADD B STR C PRT C HLT  However, a program in assembly language has to be converted to its equivalent machine language to be executed on computer.  The translator program that converts an assembly code into machine code is called an assembler.  Advantages: Mnemonic code are easy to remember, easy to understand, easy to modify and debug.  Disadvantage: These languages are the mnemonic are machine dependent and assembly language programming takes longer to code. High-level Languages  A language designed to make programming easier through the use of familiar English words and symbols.  High-level languages used English like language, which are easier to learn and use.  High-level languages are machine independent. Therefore, a program written for one computer can be executed on different computers with no or only slight modifications.  Some of the high-level languages are C, C++, JAVA, FORTRAN, QBASIC, and PASCAL.  For example a typical program in high level language to add two numbers: cin>>a>>b; c = a + b; cout<< “ Answer = “ << c;  However a program in high-level language has to be converted to its equivalent machine language to be executed on computer.  The translator program that converts a high-level code into machine code is called a compiler.  Advantage: o HLL’s are machine independent. o Easy to learn and understand. o Easy to modify and debug the program.
  • 4. Prof. K. Adisesha (Ph.D.) 4 Software Concepts  Disadvantage: o HLL is slower in execution. o HLL requires a compiler to convert source code to object code. o HLL take more time to execute and require more memory.  Language Translators  The translator translates the high-level language to low level language.  There are three types of translators: Compilers, Interpreters, and Assemblers. Assembler:  Assembler is system software, which translates an assembly language program into its machine language.  It recognizes the mnemonics used in the assembly level languages and substitutes the required machine code for each instruction.  Example: TASM (Turbo Assembler), MASM (Microsoft Macro Assembler) etc. Compilers:  Compiler is system software that translates high-level language (source code) into the machine level language (machine/object code).  It reads the whole program and translates the entire program at once into a series of machine level language instructions.  Once compiled, the program normally is saved automatically and can be executed directly.  Examples: C, C++.
  • 5. Prof. K. Adisesha (Ph.D.) 5 Software Concepts Interpreters:  An Interpreter reads once a statement of a high-level language program at a time, translates it into machine level language, and executes it immediately.  It continues to read, translate and execute the statements one by one until it reaches the end of the program. Therefore, it is slower than a compiler.  The machine code produced by the interpreter is not saved and hence, to execute a statement again, it has to be interpreted again.  Example: BASIC, PROLOG  Linker and Loader:  A linker is system software that links (combines) smaller programs to form a single program.  A source program written in high-level languages may contain a number of modules or segments. To execute properly the modules are to be linked so that execution of the program is sequential. This operation is performed by software called as the linker.  A loader is system software that loads machine code of a program into the system memory and prepares these programs for execution.  Once an executable program is generated someone will have to load the program into the main memory of the computer so that it can be executed. This operation is performed by software called as the loader.  Utility Software  Utilities are those helpful programs that assist the computer by performing helpful functions like backing up disk, scanning/cleaning viruses etc.  Utility software is generally called as Application oriented ready-made system programs.  Some of the important utility software is Text editor, Backup utility, Disk Defragmenter, Antivirus software.  Operating System (OS):
  • 6. Prof. K. Adisesha (Ph.D.) 6 Software Concepts  An operating system is a set of programs, which acts as an interface between the user and the computer.  The main system software is the operating systems, which starts up the computer and control its operation.  Operating system manages the resource, resolves conflicts’ and tries to optimize the performance of the system.  The user communicates with the computer through operating system commands and program instructions.  Operating System plays an important role in loading programs from disk into memory, displaying message, translating program and in outputting the results.  Some examples of operating system are: UNIX, LINUX, MS-DOS, and Microsoft Windows such as Win 95, Win 98, Win 2000, Win XP, Win 7, Win 8, Android, Mac OS etc.  Functions of Operating System(OS): Main functions of the operating system are as follows: o Memory Management o Process Management o Device Management o File Management o Protection and Security o User interface or Command interpreter. Memory Management: The activities of memory management handled by OS are: o Allocate memory o Free Memory o Re-allocate memory to a program when a used block is freed o Keep track of memory usage.  Process Management: The activities of process management handled by OS are: o Control access to shared resources like file, memory I/O and CPU o Control execution of applications o Create, execute and delete a process o Cancel or resume a process o Schedule a process o Synchronization, communication and deadlock handling for process  Device Management: The activities of device management task handled by OS are: o Open, close and write device drivers. o Communication, control and monitor the device drivers.  
  • 7. Prof. K. Adisesha (Ph.D.) 7 Software Concepts File Management: The activities of file management task handled by OS are: o Create and delete both files and directories o Provide access to files o Allocate space for files o Keep back-up of files o Secure files  Protection and Security:  OS protects the resource of system.  User authentication, file attributes like read, write, encryption and back-up of data are used by OS to provide basic protection.  User Interface or Command Interpreter:  OS provides an interface between the user and the computer hardware.  The user interface is a set of commands or a Graphical User Interface via which the user interacts with the application and the hardware.  Types of Operating System(OS):  The different types of operating system are: o Single user Operating System o Batch Operating System o Multiprogramming Operating System o Multitasking Operating System o Multiuser Operating System o Time sharing System (Online /Multiuser) o Real time system o Distributed Operating System o Network Operating System o Multithreading Operating System    Single User Operating System: This OS allows only one user to share the system resource including the CPU. These are mainly the operating system configured for the use of desktop PC and laptops. DOS and Windows- 95, Win-98, Apple Macintosh etc are example.    
  • 8. Prof. K. Adisesha (Ph.D.) 8 Software Concepts Batch Operating System:  Batch is defined as a group of job with similar needs and similar resource requirements.  The operating system that allows users to create batches and execute each batch sequentially, processing all jobs of batch considering them as a single process is called “Batch Operating system”  It allows litter or no interaction between users and executing programs.  This is well suited for applications with large computation time and no user interaction.  Payroll, forecasting, statistical analysis are programs example for its usage.  Advantages: o User need not wait during its execution. o It will function in FIFO (First In First Out) order.  Disadvantages: o Non-interactive mode of execution o Offline debugging  IBM System/360 Operating system is an example for Batch Operating system  In DOS, we can emulate the batch processing using .BAT file.  Multiprogramming Operating System:  Multiprogramming is the capability of CPU to execute two or more programs concurrently.  Two or more programs are stored concurrently in primary storage, and the CPU moves from one program to another, partially executing each in turn.  Early computer system and many personal computers execute program in the order in which it is read into the system. Only one program is executed at a time. 
  • 9. Prof. K. Adisesha (Ph.D.) 9 Software Concepts Multitasking Operating System:  Multitasking operating systems allow more than one program to run at a time.  In gives you the perception of 2 or more tasks running at the same time. It does this by dividing system resources amongst these tasks.  Multitasking is usually implemented by code and data of several programs in memory simultaneously and multiplexing processor and I/O device among them.  Multitasking is also called context switching.  Multitasking usually refers to a single user.  Example: Windows 98  Multi-user Operating System:  A multi-user operating system allows multiple users on different computers or terminal to access a single system with one OS on it.  It creates and maintains individual user environments, individual authentication and security level privileges, provides per user resource usage accounting. Time-Sharing Operating System: Time-Sharing operating system allows many users to share the computer resource simultaneously.   Time sharing refers to the allocation of computer resource in time slots to several programs simultaneously.  Large CAD and text processing systems belong to timesharing OS.  Most of the time-sharing operating systems adopted time slicing/ round robin scheduling algorithm. Each user/process will receive a portion of the time slot.  UNIX, Windows Server is the example for multiprogramming, multi-use and time sharing systems.  Real-time Operating System:  Real time systems refer to a computer and software systems that respond to events before the events become obsolete.  The primary objective of real-time systems is to provide quick event – response times and thus meeting the scheduling deadlines.  The main applications where real time systems are used include medical imaging systems, industrial control systems, flight control and military application.  Windows CE, Symbian, Linux OS are example for real-time systems.
  • 10. Prof. K. Adisesha (Ph.D.) 10 Software Concepts Distributed Operating System:  A distributed operating system is a collection of autonomous computer systems capable of communication and cooperation via the software and hardware interconnections.  For example: if we have ‘N’ systems in a distributed environment then the distributed OS helps us in balancing the load by sharing processors, I/O devices etc.  The ATM centers of a bank are example of distributed operating system.  Network Operating System:  A network operating system is a collection of software and associated protocols that allow a set of autonomous computer which are interconnected by a computer network.  It can be used in a convenient and cost-effective manner.  In a network operating system the user are aware of the existence of multiple computers and can log in to remote machines and copy files from one machine to another machine.  Windows NT, windows server, LINUX are example. Multithreaded Operating System:  A thread is a sequence of instructions within a program.  A program or process may have many threads, which share the same code section, data section, and other OS resources.  It provides many logical paths through the program to be executed simultaneously.  Sun Solaris, Windows 2000, Multithreaded UNIX, and LINUX are examples.  Functional Features of Operating System(OS):  There are two types of user interface: o Command-Line User Interface (CUI) o Graphical User Interface (GUI)  CUI Interface:  CUI interface allows the user to interact with a computer through text terminal.  It is a Non-graphical and text-based user interface.  MS-DOS is an operating system, which provides a CUI.  The commands must be given at the command prompt ( C:>)
  • 11. Prof. K. Adisesha (Ph.D.) 11 Software Concepts  Both input and output are character based, the interface is also known as Character User Interface. GUI Interface:  The GUI was first introduced in 1984 by Apple with Macintosh.  GUI is an interface where the commands are selected from menus and icons rather the typing them from the keyboard.  It allows user to click on the required icon, with the help of Mouse.  Windows Operating System is the most popular OS based on GUI. Difference between CUI and GUI: CUI Interface GUI Interface Command-line User Interface Graphical User Interface The user must type the commands at command prompt to interact with the computer The user must click on icons, menus, dialog boxes etc. to interact with the computer. The user must remember the commands and their parameters The user need not remember any commands, as it is available in the form of menus and icons on monitor. Mouse operation not available for DOS Mouse operation required to select the commands. ____________________________________________________ CHAPTER 4 – SOFTWARE CONCEPTS BLUE PRINT VSA (1 Marks) SA (2 Marks) LA (3 Marks) Essay (5 Marks) Total -- 01 Question 01 Question -- 05 Marks