Your SlideShare is downloading. ×
Computers <ul><li>Course Design </li></ul><ul><li>Discuss computer in every day life </li></ul><ul><li>Historical Perspect...
Software <ul><li>Software can be divided into two </li></ul><ul><ul><li>Application  </li></ul></ul><ul><ul><li>System </l...
Relationship between software and hardware Hardware System software Application software <ul><li>System software </li></ul...
System Software Operating System <ul><li>Questions asked </li></ul><ul><ul><li>Importance/ role of Os </li></ul></ul><ul><...
Role/Importance of OS  <ul><li>An OS is a set of programs that controls and supervises a computer system’s hardware and pr...
Role of OS cont… <ul><li>Interface between hardware and user; an OS is responsible for the management and coordination of ...
Major functions of OS <ul><li>Processor management </li></ul><ul><li>Memory management </li></ul><ul><li>Device management...
Processor management <ul><li>A process is a program in execution </li></ul><ul><li>A processor is a hardware device which ...
Processor management cont…. <ul><ul><li>Ready : A process is ready if all conditions are satisfied for the process to be i...
Processor management cont…. <ul><li>Process / CPU measurement </li></ul><ul><ul><li>Throughput: Total number of jobs compl...
Processor management cont…. <ul><li>Non Preemptive scheduling </li></ul><ul><ul><li>In the above scheduling a schedule job...
Memory Management <ul><li>The memory management plays an important role.  </li></ul><ul><li>Following concepts are use to ...
Single Size Allocation <ul><li>The OS usually resides in either the upper or lower part of the core memory. </li></ul><ul>...
Fixed Size Allocation <ul><li>The main memory is divided into a number if partitions of fixed size. </li></ul><ul><li>The ...
Variable Size Partition Allocation (Re Allocation) <ul><li>A memory size exactly of the job is allocated thus less wastage...
Variable size allocation  cont…. Dilfaroz A Khan
Virtual Storage <ul><li>The system used both primary and secondary storage. </li></ul><ul><li>Virtual storage involves the...
Paging in virtual memory Dilfaroz A Khan
Disadvantage of Virtual Storage <ul><li>Over head cost that is CPU time is required to just page in and page out. Many tim...
Device Management <ul><li>“ </li></ul><ul><li>A contemporary computer system includes a wide assortment of “IP/OP” devices...
Device Management cont…. <ul><li>Device characteristics </li></ul><ul><ul><li>The speed of IO devices is different from an...
Device Management cont…. <ul><li>Buffering – is a technique of overlapping ip and op processing of a single job.  </li></u...
Information/File  Management <ul><li>A computer stores information in form of files. </li></ul><ul><li>The operating syste...
Command Interface character user / graphic user interface <ul><li>Interface between the user and operating system </li></u...
Command line interface <ul><li>Users give instructions to computer by typing commands in this textual user interface. That...
Graphic User Interface <ul><li>Easy to use and not need to remember commands </li></ul><ul><li>The instructions are given ...
Booting –  <ul><li>Process of starting up any computer and loading the OS in memory. </li></ul><ul><li>Process:  </li></ul...
DOS Dilfaroz A Khan
Windows <ul><li>Windows: The primary PC operating system developed by Microsoft Corporation </li></ul><ul><ul><li>Windows ...
Windows <ul><li>Windows, cont. </li></ul><ul><ul><li>Windows Me (Millennium Edition): designed for home PCs, improved home...
Windows <ul><li>Windows Vista: Most recent version of Windows </li></ul><ul><ul><li>Features the Aero visual interface </l...
Windows Vista Dilfaroz A Khan
Windows <ul><li>Windows Server: Server version of Windows </li></ul><ul><ul><li>Windows Server 2008: Most recent version <...
UNIX <ul><li>UNIX: Operating system developed in the late 1960s for midrange servers and mainframes </li></ul><ul><ul><li>...
Linux <ul><li>Linux: Version (flavor) of UNIX available without charge over the Internet </li></ul><ul><ul><li>Increasingl...
Comparison GUI and CUI Dilfaroz A Khan GUI CUI Symbols, pictures and pointing commands are use to execute commands Set of ...
Key words. <ul><li>Multiprogramming: </li></ul><ul><ul><li>It is a name given to the interleaved execution of two or more ...
Key words. 3. Multitasking : - is the name given to the concurrent execution of two or more user tasks by the same compute...
Upcoming SlideShare
Loading in...5
×

Operating system

678

Published on

Basic to end in my way.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
678
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Operating system"

  1. 1. Computers <ul><li>Course Design </li></ul><ul><li>Discuss computer in every day life </li></ul><ul><li>Historical Perspective </li></ul><ul><li>Hardware </li></ul><ul><li>Software </li></ul><ul><ul><li>System software - OS </li></ul></ul><ul><ul><li>Application software--- pl </li></ul></ul><ul><li>Programming Language </li></ul><ul><li>Data base </li></ul><ul><li>Networking </li></ul><ul><li>The Internet </li></ul><ul><li>System Development Life Cycle </li></ul><ul><li>Security and virus </li></ul><ul><li>Left over's </li></ul>Dilfaroz A Khan
  2. 2. Software <ul><li>Software can be divided into two </li></ul><ul><ul><li>Application </li></ul></ul><ul><ul><li>System </li></ul></ul><ul><li>System software consists of sets of programs to support the efficient use of hardware resources that include drivers for various devices, various operating systems. </li></ul><ul><li>Application software consist of set of programs that process data , generate information like payroll, inventory management etc. </li></ul>Dilfaroz A Khan
  3. 3. Relationship between software and hardware Hardware System software Application software <ul><li>System software </li></ul><ul><li>Operating system </li></ul><ul><li>Translators </li></ul><ul><li>Utility programmes </li></ul><ul><li>Application software </li></ul><ul><li>Programming languages </li></ul><ul><li>Application programs </li></ul>Dilfaroz A Khan
  4. 4. System Software Operating System <ul><li>Questions asked </li></ul><ul><ul><li>Importance/ role of Os </li></ul></ul><ul><ul><li>Function of OS </li></ul></ul><ul><ul><li>booting </li></ul></ul><ul><ul><li>Character use interface / graphic user interface </li></ul></ul><ul><ul><li>Brief about dos , Windows and Unix / Linux </li></ul></ul>Dilfaroz A Khan
  5. 5. Role/Importance of OS <ul><li>An OS is a set of programs that controls and supervises a computer system’s hardware and provides services to the users. </li></ul><ul><li>It acts like a link between the users and computer hardware. </li></ul>Dilfaroz A Khan
  6. 6. Role of OS cont… <ul><li>Interface between hardware and user; an OS is responsible for the management and coordination of activities and the sharing of the resources of the computer. </li></ul><ul><li>It manages the hardware and software resources of the system. In a desktop computer, these resources include such things as the processor, memory, disk space and more (On a cell phone, they include the keypad, the screen, the address book, the phone dialer, the battery and the network connection). </li></ul><ul><li>It provides a stable, consistent way for applications to deal with the hardware without having to know all the details of the hardware. </li></ul>Users Application Software Operating and systems software Hardware Dilfaroz A Khan
  7. 7. Major functions of OS <ul><li>Processor management </li></ul><ul><li>Memory management </li></ul><ul><li>Device management </li></ul><ul><li>Information/File management </li></ul>Dilfaroz A Khan
  8. 8. Processor management <ul><li>A process is a program in execution </li></ul><ul><li>A processor is a hardware device which is capable of executing a sequence of instructions. </li></ul><ul><li>When a program is submitted to the CPU it can be in any one of the following state </li></ul><ul><ul><li>Ready </li></ul></ul><ul><ul><li>Running </li></ul></ul><ul><ul><li>Blocked </li></ul></ul>Dilfaroz A Khan
  9. 9. Processor management cont…. <ul><ul><li>Ready : A process is ready if all conditions are satisfied for the process to be in running state and its waiting for the processor. </li></ul></ul><ul><ul><li>Running : A process is running when its instructions sequence is being executed by the processor. </li></ul></ul><ul><ul><li>Blocked: A process is blocked if it is waiting for the event to occur before continuing execution. </li></ul></ul>Dilfaroz A Khan
  10. 10. Processor management cont…. <ul><li>Process / CPU measurement </li></ul><ul><ul><li>Throughput: Total number of jobs completed divided by The total time required to complete the job. For example JOB1 and JOB2 takes 5 minutes each for execution the throughput is 2jobs divided by 10 minutes i.e. 0.2 job/minute </li></ul></ul><ul><li>Job Scheduling </li></ul><ul><ul><li>Non – Preemptive scheduling </li></ul></ul><ul><ul><li>Preemptive scheduling </li></ul></ul>Dilfaroz A Khan
  11. 11. Processor management cont…. <ul><li>Non Preemptive scheduling </li></ul><ul><ul><li>In the above scheduling a schedule job always completes before another schedule job is taken. In other words jobs finish in the order in which they are scheduled. In other words resources can not be taken away. </li></ul></ul><ul><li>Preemptive scheduling </li></ul><ul><ul><li>In this kind of scheduling decision can be made while the job is executing. In other words resources can be taken away. </li></ul></ul>Dilfaroz A Khan
  12. 12. Memory Management <ul><li>The memory management plays an important role. </li></ul><ul><li>Following concepts are use to manage one or more than one processes in the memory. </li></ul><ul><ul><li>Single Contiguous allocation </li></ul></ul><ul><ul><li>Fixed size partition allocation </li></ul></ul><ul><ul><li>Variable size allocation (and re allocation) </li></ul></ul><ul><ul><li>Virtual storage </li></ul></ul>Dilfaroz A Khan
  13. 13. Single Size Allocation <ul><li>The OS usually resides in either the upper or lower part of the core memory. </li></ul><ul><li>A job is assigned to the entire core even though it may use only the fraction of the memory. </li></ul><ul><li>The job has complete control of the CPU until it is finished. </li></ul><ul><li>IT does result in the wastage of memory </li></ul>OS Users program Wasted MEMORY Dilfaroz A Khan
  14. 14. Fixed Size Allocation <ul><li>The main memory is divided into a number if partitions of fixed size. </li></ul><ul><li>The sizes can be same or different. </li></ul><ul><li>Problem of memory wastage still exists. </li></ul>OS MEMORY 20 K 20 K 20 K OS 20 K 10 K 40 K Dilfaroz A Khan
  15. 15. Variable Size Partition Allocation (Re Allocation) <ul><li>A memory size exactly of the job is allocated thus less wastage of memory. </li></ul><ul><li>When the job terminates the system keeps a track. </li></ul><ul><li>When a new job has to be initiated it creates a partition to suit its storage requirement. </li></ul><ul><li>The fragmented memory is compacted by relocating the existing jobs upwards. </li></ul>Dilfaroz A Khan
  16. 16. Variable size allocation cont…. Dilfaroz A Khan
  17. 17. Virtual Storage <ul><li>The system used both primary and secondary storage. </li></ul><ul><li>Virtual storage involves the storing in primary memory only those instructions of the program that are currently executing and storing the reminder program in the secondary memory. </li></ul><ul><li>The part of the program is called pages and these pages are swapped in and out of primary storage as they are needed for execution </li></ul>Dilfaroz A Khan
  18. 18. Paging in virtual memory Dilfaroz A Khan
  19. 19. Disadvantage of Virtual Storage <ul><li>Over head cost that is CPU time is required to just page in and page out. Many times CPU takes time to just page in and page out rather than executing the program/job. </li></ul><ul><li>To much of page in and page out is known as thrashing. </li></ul><ul><li>Primary memory also gets overloaded with tables which keeps a track of pages between primary and secondary storage. </li></ul>Dilfaroz A Khan
  20. 20. Device Management <ul><li>“ </li></ul><ul><li>A contemporary computer system includes a wide assortment of “IP/OP” devices called peripheral devices such as printers, card readers, magnetic tapes etc.. A large installation may out half of the system cost in peripherals so it may be used in a efficient manner. </li></ul><ul><li>“ </li></ul>Dilfaroz A Khan
  21. 21. Device Management cont…. <ul><li>Device characteristics </li></ul><ul><ul><li>The speed of IO devices is different from another. </li></ul></ul><ul><ul><li>Buffering / Spooling concept </li></ul></ul><ul><ul><li>Data can be represented in different format like ASCII or EDCDIC code </li></ul></ul><ul><ul><li>Device are sharable and not sharable </li></ul></ul><ul><ul><li>The style of accessing(reading /writing ) from the devices are different </li></ul></ul>Dilfaroz A Khan
  22. 22. Device Management cont…. <ul><li>Buffering – is a technique of overlapping ip and op processing of a single job. </li></ul><ul><li>After the data has been red and the CPU is about to start operating on it the device is instructed to read the next input immediately. </li></ul><ul><li>Spooling( Simultaneous Peripheral Operation On-Line) </li></ul><ul><li>is a technique of overlapping ip and op processing of multiple jobs send to a device </li></ul>Dilfaroz A Khan
  23. 23. Information/File Management <ul><li>A computer stores information in form of files. </li></ul><ul><li>The operating system provides convenient ways for storing and retrieving the information from files. </li></ul><ul><li>A file is a collection of related information. Every file has a name, data and attributes. Name of a file is unique. The attributes have information date and time, last access date , size, location etc… </li></ul><ul><li>The file management part of OS takes care of file related activities such as structuring, accessing, naming, sharing, protecting etc.. </li></ul><ul><li>File access methods are Sequential and Random. </li></ul><ul><li>Basic file operations are create, delete, open, close, read , write, seek, rename, copy etc….. </li></ul>Dilfaroz A Khan
  24. 24. Command Interface character user / graphic user interface <ul><li>Interface between the user and operating system </li></ul><ul><li>Provides with an environment where the user gives commands to the OS for execution of various functions. </li></ul><ul><li>Command supported by the CI is called system calls. </li></ul><ul><li>The CI takes the responsibility to interpret the command given by the user and directing the computer resources to handle the user request via the OS </li></ul><ul><li>CI comes in two categories Character user interface and Graphic user interface. </li></ul>Dilfaroz A Khan
  25. 25. Command line interface <ul><li>Users give instructions to computer by typing commands in this textual user interface. That is to enter a command the user uses the keyboard. </li></ul><ul><li>If the command is typed incorrectly the CLI responds with an error message. </li></ul><ul><li>Remembering commands becomes difficult </li></ul>Dilfaroz A Khan
  26. 26. Graphic User Interface <ul><li>Easy to use and not need to remember commands </li></ul><ul><li>The instructions are given graphically ie use of a mouse or click of a icon. </li></ul>Dilfaroz A Khan
  27. 27. Booting – <ul><li>Process of starting up any computer and loading the OS in memory. </li></ul><ul><li>Process: </li></ul><ul><li>Power is on </li></ul><ul><li>Once a 'Power Good' signal is sent to the motherboard, the CPU looks for the ROM bios. </li></ul><ul><li>The CPU looks to the ROM bios for the first instruction, and the first instruction is to run the POST (Power-On-Self-Test). </li></ul><ul><li>POST checks the CPU, hardware devices such as the Video Card, the secondary storage devices such as the Hard Drive, Floppy Drives, Zip Drive or CD/DVD Drives. </li></ul><ul><li>If there are any errors found then an error message is displayed on screen or a number of beeps are heard. </li></ul><ul><li>Next the bios finds the video card and runs the video card's bios. </li></ul><ul><li>The bios then displays the system configuration. </li></ul><ul><li>During the display more tests are conducted including the test that shows your computer testing the memory. If there are any problems found from now on they will be displayed in a text message on the screen. </li></ul><ul><li>After that the bios searches for something that it can boot from i.e hard disk drive </li></ul><ul><li>After activating it , it finds the first piece of OS i.e. BOOTSTRAP LOADER </li></ul><ul><li>Bootstrap loader loads the OS into memory and allows it to begin operation </li></ul><ul><li>Then it turns controls of the computer over to the OS </li></ul>Dilfaroz A Khan
  28. 28. DOS Dilfaroz A Khan
  29. 29. Windows <ul><li>Windows: The primary PC operating system developed by Microsoft Corporation </li></ul><ul><ul><li>Windows 1.0 through Windows 3.x: Operating environments for DOS, not full-fledged operating systems </li></ul></ul><ul><ul><li>Windows 95 and Windows 98: U sed a similar GUI to the one used with Windows 3.x </li></ul></ul><ul><ul><li>Windows 98 Second Edition (SE): Update to Windows 98, released in 1999; still an installed base of older PCs running Windows 98 SE </li></ul></ul><ul><ul><li>Windows NT (New Technology): first 32-bit version of Windows designed for high-end workstations and servers </li></ul></ul>Dilfaroz A Khan
  30. 30. Windows <ul><li>Windows, cont. </li></ul><ul><ul><li>Windows Me (Millennium Edition): designed for home PCs, improved home networking and a shared Internet connection </li></ul></ul><ul><ul><li>Windows 2000: replaced Windows NT; was geared towards high-end business workstations and servers, support for wireless devices </li></ul></ul><ul><ul><li>Windows XP: Replaced both Windows 2000 and Windows Me </li></ul></ul><ul><ul><ul><li>Based on Windows NT technology </li></ul></ul></ul><ul><ul><ul><li>More stable and powerful than earlier versions of Windows </li></ul></ul></ul><ul><ul><ul><li>Newest features related to m ultimedia and communications </li></ul></ul></ul>Dilfaroz A Khan
  31. 31. Windows <ul><li>Windows Vista: Most recent version of Windows </li></ul><ul><ul><li>Features the Aero visual interface </li></ul></ul><ul><ul><ul><li>Transparency and animations </li></ul></ul></ul><ul><ul><ul><li>Live Thumbnails </li></ul></ul></ul><ul><ul><li>The Vista Start menu is more streamlined </li></ul></ul><ul><ul><li>Built-in security features </li></ul></ul><ul><ul><li>Improved networking ands multimedia </li></ul></ul><ul><ul><li>Additional features </li></ul></ul><ul><ul><ul><li>Sidebar, Instant Search, etc. </li></ul></ul></ul><ul><ul><li>Hardware requirements for Vista have increased over earlier versions of Windows </li></ul></ul><ul><ul><li>Four editions (Home Basic, Home Premium, Business, and Ultimate) </li></ul></ul>Dilfaroz A Khan
  32. 32. Windows Vista Dilfaroz A Khan
  33. 33. Windows <ul><li>Windows Server: Server version of Windows </li></ul><ul><ul><li>Windows Server 2008: Most recent version </li></ul></ul><ul><ul><li>Includes a variety of services </li></ul></ul><ul><ul><ul><li>Web platform </li></ul></ul></ul><ul><ul><ul><li>Support for virtualization </li></ul></ul></ul><ul><ul><ul><li>New security tools </li></ul></ul></ul><ul><ul><ul><li>Streamlined management tools </li></ul></ul></ul><ul><li>Windows Home Server: New operating system based on Windows Server </li></ul><ul><ul><li>Provides services for a home network </li></ul></ul><ul><ul><li>Provides access to shared files </li></ul></ul><ul><ul><li>Can back up all devices on the network automatically </li></ul></ul>Dilfaroz A Khan
  34. 34. UNIX <ul><li>UNIX: Operating system developed in the late 1960s for midrange servers and mainframes </li></ul><ul><ul><li>Many variations of UNIX are in use today </li></ul></ul><ul><ul><li>Multiuser, multitasking operating system </li></ul></ul><ul><ul><li>More expensive, requires a higher level of PC knowledge, and tends to be harder to install, maintain, and upgrade than most other operating systems </li></ul></ul><ul><ul><li>“ UNIX” initially referred to the original UNIX operating system, now refers to a group of similar operating systems based on UNIX </li></ul></ul><ul><ul><li>Single UNIX Specification: A standardized UNIX environment </li></ul></ul>Dilfaroz A Khan
  35. 35. Linux <ul><li>Linux: Version (flavor) of UNIX available without charge over the Internet </li></ul><ul><ul><li>Increasingly being used with PCs, servers, mainframes, and supercomputers </li></ul></ul><ul><ul><li>Is open-source software: has been collaboratively modified by volunteer programmers all over the world </li></ul></ul><ul><ul><li>Originally used a command line interface, most recent versions use a GUI </li></ul></ul><ul><ul><li>Strong support from mainstream companies, such as Sun, IBM, HP, and Novell </li></ul></ul><ul><ul><li>Used on PCs, mainframes, and consumer appliances </li></ul></ul><ul><ul><li>Growing integration between Linux and other operating systems is a recent development </li></ul></ul>Dilfaroz A Khan
  36. 36. Comparison GUI and CUI Dilfaroz A Khan GUI CUI Symbols, pictures and pointing commands are use to execute commands Set of characters and words are used to execute the commands No need to remember the command. A small practice enables you to use the commands The syntax and various options are required to be remembered. General menu structure and commands are used for all the applications. Different application have their own set of commands. Number of applications can be opened and executed in different window at the same time Only one application can run at a time Minimum use of keyboard Maximum use of keyboard Mouse extensively used Mouse used only in some applications Easy to operate Not user friendly hence difficult to operate
  37. 37. Key words. <ul><li>Multiprogramming: </li></ul><ul><ul><li>It is a name given to the interleaved execution of two or more different and </li></ul></ul><ul><ul><li>independent programs by the same computer. </li></ul></ul><ul><ul><li>It places two or more user programs in the main memory and executes them </li></ul></ul><ul><ul><li>concurrently. </li></ul></ul><ul><ul><li>When one program is waiting for IO transfer there is another program ready </li></ul></ul><ul><ul><li>to utilize the CPU, thus it is possible for several user to share the time of </li></ul></ul><ul><ul><li>the CPU </li></ul></ul>2. Multi processing: - it is used to describe a system where by two or more interconnected CPU’s perform several simultaneously. - It is also called Parallel Processing. - the CPU is capable of executing different instructions from the same program at the same time. - Assigning different jobs to CPU’s is possible. Dilfaroz A Khan
  38. 38. Key words. 3. Multitasking : - is the name given to the concurrent execution of two or more user tasks by the same computer. - It place two or more task in the main memory and concurrently executes them Dilfaroz A Khan

×