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

Info icon This 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
Image of page 1

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

View Full Document Right 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.
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).
Image of page 3

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

View Full Document Right Arrow Icon
4 Computer Programming I TA C162 15/02/06 Abstract View of System Components
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.
Image of page 5

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

View Full Document Right Arrow Icon
6 Computer Programming I TA C162 15/02/06 Memory Layout for a Simple System
Image of page 6
7 Computer Programming I TA C162 15/02/06 OS Continued.. File Management I/O System Management I/O subsystem hides the peculiarities of specific hardware devices from the user.
Image of page 7

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern