Lecture17-18 - Computer Programming I TA C162 Todays Agenda...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Computer Programming I TA C162 15/02/06 Today’s Agenda To understand what is an Operating System? Operating System Structure Operating System Services Example - UNIX Operating System Solving Problem Using Computer Systematic Decomposition Three Basic Constructs Sequential Conditional Iterative Example- Counting Character Occurrences
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Computer Programming I TA C162 15/02/06 What is an Operating System? Definition: A program that acts as an intermediary between a user of a computer and the computer hardware. Operating system goals: 1. Execute user programs and make solving user problems easier. 2. Make the computer system convenient to use. 3. Use the computer hardware in an efficient manner.
Background image of page 2
3 Computer Programming I TA C162 15/02/06 Computer System Components 1. Hardware – Provides basic computing resources e.g. CPU, memory, I/O devices). 2. Operating System – Controls and coordinates the use of the hardware among the various application programs for the various users. 3. Applications Programs – Define the ways in which the system resources are used to solve the computing problems of the users (compilers, database systems, video games, business programs). 4. Users (people, machines, other computers).
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Computer Programming I TA C162 15/02/06 Abstract View of System Components
Background image of page 4
5 Computer Programming I TA C162 15/02/06 Main-Memory Management Main-Memory is a large array of words or bytes. Main-memory provides storage that can be access directly by the CPU. That is to say for a program to be executed, it must in the main memory. The major activities of an operating in regard to memory-management are: Keep track of which part of memory are currently being used and by whom. Decide which process are loaded into memory when memory space becomes available. Allocate and deallocate memory space as needed.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 Computer Programming I TA C162 15/02/06 Memory Layout for a Simple System
Background image of page 6
7 Computer Programming I TA C162 15/02/06 OS Continued. . File Management
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/14/2010 for the course CS SS ZG653 taught by Professor Shanta during the Spring '09 term at Birla Institute of Technology & Science.

Page1 / 25

Lecture17-18 - Computer Programming I TA C162 Todays Agenda...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online