Beruflich Dokumente
Kultur Dokumente
Content
Operating System (OS) Operating System Architecture Operations performed by OS Network Commands Windows XP Operating system System Requirements for XP WIN XP Pro Advantages
Operating system
An Operating system (OS) is a program that acts as an intermediary between users of a computer and as an interface between applications with the computer hardware that controls the execution of application programs
Any request from different Application programs reaches to OS, which in turn sends the request to Hardware and executes the request.
User rograms
Compiler
Interpreter
Database
ro essor, Memory, is et
Copyright 2007 Accenture All Rights Reserved
Operations performed by OS
Different operations performed by OS are: Memory management Command Interpreter Process management File Handling Networking
Memory
Memory can be defined as a large array of bytes. With each byte/ word having its own address and can be accessed by the Central Processing unit (CPU) and I/O (input/output ) devices. Memory is of two types:
Main Memory Secondary memory
Memory (Continued)
Main memory
It is a volatile & Non-Volatile Memory storage device which primarily means that the contents are lost in the case of system failure.
ROM (Non- Volatile) RAM (volatile)
Secondary Memory
It is a permanent and non-volatile memory. Most computers use disks for storing both large programs and data.
Copyright 2007 Accenture All Rights Reserved 10
Memory Management
Responsibility of OS for main memory management: It maintains a track of which part of memory is used and by which process To load a new process in memory when memory space becomes available OS Allocates the memory when needed and should deallocate the space if it is not needed Responsibility of the OS for secondary memory : It tracks for free space on the disk Storage allocation Scheduling of the Disk
Copyright 2007 Accenture All Rights Reserved 11
Command Interpreter
Command interpreter is the program that interprets control statements. Its function is to get and execute the next command statement Various commands are given to the operating system to deal with process creation, I/O handling, memory management and networking
12
Process management
Process is defined as a program in execution. Process requires various resources to execute a program such as CPU time, memory and I/O devices. Responsibilities of the OS for process management:
Process creation and deletion. process suspension and resumption. Provision of mechanisms for:
process synchronization process communication
13
Process - Definition
A process is a running instance of a program. It is a task that is in execution stage
The tasks executed by the active process are terminals, files, and other I/O devices communication. A process is more than a program code. It is an 'active' entity as oppose to program which consider to be a 'passive' entity. Process elements are Program code and a Set of data associated with that code.
Copyright 2007 Accenture All Rights Reserved 14
Process Model
In a process Model, all programs in the computer are organized in a number of sequential Processes. The process model protects and separate memory from each other, and is dynamic in nature. The states in the Process Model are as follows :
New Waiting Ready Exit process is being created process currently being executed process waiting for some event to occur process that is prepared to execute process that finished execution
15
Running
Release Exit
16
Process Scheduling
Process Scheduling is the assignment of physical processors to processes to accomplish work. The problem of determining when processors should be assigned and to which processes is called processor scheduling or CPU scheduling. Types of Scheduling: Long-term scheduler (or job scheduler) Decision to add to the pool of processes to be executed Short-term scheduler (or CPU scheduler) Decision as to which available process will be executed by the processor I/O scheduler Decision as to which processs pending I/O request shall be handled by an available I/O device
Copyright 2007 Accenture All Rights Reserved 17
CPU Scheduler
Processes that are selected from memory that are ready to execute are allocated time to work with CPU is called as CPU Scheduler CPU scheduling decisions may take place when a process:
Switches from running to waiting state Switches from running to ready state Switches from waiting to ready Terminates
18
Preemptive Scheduling:
Preemptive scheduling is the strategy of allowing processes that are logically run able to be temporarily suspended in contrast to the "run to completion" method.
Context Switching is used to suspend the process in preemptive scheduling
19
Scheduling Algorithms
First-Come, First-Served (FCFS) Scheduling
Select the process that has been waiting for long time for service
Round Robin (RR)
Use time slicing to limit any running process to a short burst of processor time, and rotate among all ready processes
Shortest process next
Select the process with the shortest expected processing time and do not preempt the process
Highest response ratio next
Scheduling Criteria
CPU utilization Keeping the CPU always busy Throughput Processes that complete their execution per unit time Turnaround time Time taken to execute a particular process Waiting time Time taken for a process in ready queue Response time Time taken for responding first request
21
File Handling
File is defined as the collection of related information. It represent data, source and object programs. Responsibility of the OS for file management: Creation, deletion and manipulation of file and directories Back up of files onto secondary storage or a non volatile storage medium.
22
Networking
Networking system is a communication between different processors or computer. Each processor or computer has its own local memory. Communication among systems takes place using a protocol. Protocol is a set of agreements on which the two or more systems communicate on a network. It provides user access to various system resources. It allows access to a shared resource which supports computation speed-up, Increased data availability and enhanced reliability
23
24
Different Windows OS
Product
2003
Basic version
Version 5.2
Type
32bit or 64 bit
Windows server 2003 Web Edition Windows server 2003Standard Windows server 2003 Enterprise Edition Windows XP Professional Windows XP Home Windows XP tablet PC Edition Windows 2000 Professional Windows 2000 Server Windows2000 Advanced Server
Version 5.2
32bit or 64 bit
XP
Version 5.00
32bit
2000
NT
Windows NT 4.0 Terminal server Edition Version 5.2 Windows NT 4.0 Enterprise Server Windows NT 4.0 Server
32bit or 64 bit
DOS
ROM-BIOS
ROM-BIOS
8-bit
25
Networking - Definitions
Domain It contains a group of systems that can be accessed and administered with a common set of rules. It is set up using a networking software. It is also referred as domain name. Internet Protocol (IP) address Computer which is connected to the Internet is identified uniquely by a address known as its Internet Protocol (IP) address. IP address consists of four numbers (each between 0 and 255) separated by dots. Example of IP address: 10.116.12.146
26
Network System
Client Request for IP name www.accenture.com Server returns
63.215.20.6
Workstation
DNS Server
Web Server
28
Network Commands
IPCONFIG is a command that displays the current configuration of the IP on computer which is connected to a network. IPCONFIG switches that can be used at a command prompt are as follows: Ipconfig will display the IP address of the system ipconfig /all will display all of your IP settings. ipconfig /renew forces the DHCP server, if available to renew a lease ipconfig /release forces the release of a lease.
Copyright 2007 Accenture All Rights Reserved 29
CPU
233Mhz 300Mhz (Recommended) Intel Pentium/Celeron family, AMD K6/Athlon/Duron family, or compatible processor recommended
Memory
Monitor
Windows XP Desktop
Screen Shot of Windows XP
31
32
33
Key Points
Operating system (OS) is the most important software that runs on a Computer. It is an interface between the user and the hardware Networking system is a communication between different processors or computer. Each processor or computer has its own local memory. IPCONFIG is a command that displays the current configuration of the IP on computer which is connected to a network. Windows XP Operating system is a Microsoft product.
36
37