Course Book O.S - University of Sulaimani

yakconspiracySoftware and s/w Development

Dec 14, 2013 (3 years and 7 months ago)

221 views


Kurdistan Region Government

Ministry of Higher Education

U
niversity
of

Sulaimani


C
ollege of Basic Education

Math. & Comp. Dep.





Operating Systems


Course Book

For academic year

2010
-
2011


Contents

1
-

Course coordinator and list of teachers on th
is course.



2
-

Course overview.


3
-

Course objectives.


4
-

Course Reading list.


5
-

Course contents.


6
-

Syllabus.



7
-

Exams: Rules and instructions.



8
-

Samples of expected questions and their answer.



9
-

External examiners.


10
-

Student’s feedback.


C
ourse coordinator and list of teachers on this course



1
-

Name of the course :

Operating Systems course


2
-

Lecture
\
tutor in charge:

MSc.

Salam Hussein Ahmed


3
-

Department
\

Branch the college:

University of Sulaimani
\

College of Basic Education
\

Mathematic an
d Computer department


4
-

Contacts:


-
Address:

Iraq Kurdistan Region


Sulaimani


Sixty meters street

Sardaw R


Near Alton super market
-
College of Basic Education
-

Mathematic and Computer department


-
E
-
mail:

Salam.Ahmed@univsul.net


Salam.Edu2010@yahoo.com


Salam.Edu2010@gmail.com




-
Website


ftp://www.univesul.org












Course overview


This course introduces the fundamental concepts and principles of
operating systems. Topics covered include system performance, processes
and threads, multiprogramming, scheduling, memory management,
synchronization, deadlock
s, file systems, Input/output systems, security
and protection, network and distributed OS (and top level TCP/IP).

The structure and design of operating systems such as UNIX/LINUX will
also be covered. Hands
-
on assignments and projects are carried out usin
g
the
Linux

operating with the CS3 server.

Students are expected to participate in class discussion and exercise
initiative (and creative and critical thinking) in their work. In addition to
learning the principles and concepts on operating systems, stude
nts are
expected to learn and use the appropriate terminology and to exercise
good writing knowledge and skills.















Course objectives


This course has two components: a theory component to teach you the concepts
and principles

that underlie modern operating systems, and a practice component
to relate theoretical principles with

operating system implementation.

In the theory component, you will learn about processes and

processor
management, concurrency and synchronization, memo
ry management schemes,
file system

and secondary storage management, security and protection, etc. The practice
component will

complement the theory component through programming
assignments illustrating the use and

implementation of these concepts. At the

end of the course you should:

• Understand fundamental operating system abstractions such as processes,
threads, files,

semaphores, IPC abstractions, shared memory regions, etc.,

• Understand how the operating system abstractions can be used in the
develo
pment of

application programs, or to build higher level abstractions
.

• Understand how the operating system abstractions can be implemented
.

• Understand the principles of concurrency and synchronization, and apply them
to write

correct concurrent programs
/software,

• Understand basic resource management techniques (scheduling or time
management, space

management) and principles and how they can be
implemented. These also include issues

of performance and fairness objectives,
avoiding deadlocks, as well as
security and

protection
.

Course Reading list


1
-

OPERATING SYSTEM CONCEPTS
-

FIFTH EDITION

-
ABRAHAM SILBERSCHATZ Bell Laboratories
-

PETER GALVIN
Corporate
.


2
-

A short Introduction to operating systems


Mark Burgess


December 29,

2002.



3
-

OPERATING SYSTEM CONCEPTS
-

Six

EDITION

-
ABRAHAM
SILBERSCHATZ Bell Laboratories
-

PETER GALVIN Corporate
.


4
-

Internet sites.

Syllabus


No.

Title of the Subject

Lecture’s / Tutor’s Name

1

Introduction to OS

MSc. Salam Hussein A.

2

OS Structure

MSc.

Salam Hussein A.

3

Processes

MSc. Salam Hussein A.

4

Threads

MSc. Salam Hussein A.

5

CPU Scheduling


MSc. Salam Hussein A.

6

Process Synchronization


MSc. Salam Hussein A.

7

Deadlocks

MSc. Salam Hussein A.

8

Memory Management


MSc. Salam Hussein A.

9

Virtual Memory


MSc. Salam Hussein A.

10

File System Interface


MSc. Salam Hussein A.

11

Protection

MSc. Salam Hussein A.



First Subject : (Title)

Introduction to OS

Lecture’s / Tutor’s Name
:
MSc. Salam Hussein A.


Objective :



To provide a grand to
ur of the major operating systems components



To provide coverage of basic computer system organization


The Scientific contents:


Main references of the subject:

1
-

OPERATING SYSTEM CONCEPTS
-

Six EDITION

-
ABRAHAM SILBERSCHATZ Bell Laboratories
-

PETER
GALVIN

Corporate.

2
-

Internet sites



Second
Subject : (Title)

OS Structure


Lecture’s / Tutor’s Name
:
MSc. Salam Hussein A.


Objective :



To describe the services an operating system provides to users,
processes, and other systems



To discuss the various ways of str
ucturing an operating system



To explain how operating systems are installed and customized and how
they boot


The Scientific contents:


Main references of the subject:

1
-

OPERATING SYSTEM CONCEPTS
-

Six EDITION

-
ABRAHAM
SILBERSCHATZ Bell Laboratories
-

PETER
GALVIN Corporate.

2
-

Internet sites


Third
Subject : (Title)

Processes


Lecture’s / Tutor’s Name
:
MSc. Salam Hussein A.


Objective :



An operating system executes a variety of programs:



Batch system


jobs



Time
-
shared systems


user programs or tasks



Textbook
uses the terms
job

and
process

almost interchangeably



Process


a program in execution; process execution must progress in
sequential fashion



A process includes:



program counter



stack



data section


The Scientific contents:


Main references of the subject
:

1
-

OPERATING SYSTEM CONCEPTS
-

Six EDITION

-
ABRAHAM
SILBERSCHATZ Bell Laboratories
-

PETER GALVIN Corporate.

2
-

Internet sites


Fourth
Subject : (Title)

Threads


Lecture’s / Tutor’s Name
:
MSc. Salam Hussein A.


Objective :


The Scientific contents:

Main refere
nces of the subject:

1
-

OPERATING SYSTEM CONCEPTS
-

Six EDITION

-
ABRAHAM
SILBERSCHATZ Bell Laboratories
-

PETER GALVIN Corporate.

2
-

Internet sites

Fifth

Subject : (Title)

CPU Scheduling


Lecture’s / Tutor’s Name
:
MSc. Salam Hussein A.


Objective :



Maximum CPU ut
ilization obtained with multiprogramming



CPU

I/O Burst Cycle


Process execution consists of a
cycle

of CPU
execution and I/O wait



CPU burst distribution


The Scientific contents:


Main references of the subject:

1
-

OPERATING SYSTEM CONCEPTS
-

Six EDITION

-
A
BRAHAM
SILBERSCHATZ Bell Laboratories
-

PETER GALVIN Corporate.

2
-

Internet sites



















Sixth Subject
:

(Title)

Process Synchronization


Lecture’s / Tutor’s Name
:
MSc. Salam Hussein A.


Objective:



Concurrent access to shared data may result in data
inconsistency



Maintaining data consistency requires mechanisms to ensure the orderly
execution of cooperating processes



Suppose that we wanted to provide a solution to the consumer
-
producer
problem that fills all the buffers. We can do so by having an inte
ger
count that keeps track of the number of full buffers. Initially, count is
set to 0. It is incremented by the producer after it produces a new buffer
and is decremented by the consumer after it consumes a buffer.





The Scientific contents:


Main refer
ences of the subject:

1
-

OPERATING SYSTEM
CONCEPTS
-

Six EDITIONS

-
ABRAHAM
SILBERSCHATZ Bell Laboratories
-

PETER GALVIN Corporate.

2
-

Internet sites














Seventh

Subject : (Title)

Deadlocks


Lecture’s / Tutor’s Name
:
MSc. Salam Hussein A.


Objective :



T
o develop a description of deadlocks, which prevent sets of concurrent
processes from completing their tasks



To present a number of different methods for preventing or avoiding
deadlocks in a computer system.


The Scientific contents:


Main references of
the subject:

1
-

OPERATING SYSTEM CONCEPTS
-

Six EDITION

-
ABRAHAM
SILBERSCHATZ Bell Laboratories
-

PETER GALVIN Corporate.

2
-

Internet sites


Eight

Subject : (Title)

Memory Management


Lecture’s / Tutor’s Name
:
MSc. Salam Hussein A.

Objective :



To provide a detai
led description of various ways of organizing memory
hardware



To discuss various memory
-
management techniques, including paging
and segmentation



To provide a detailed description of the Intel Pentium, which supports
both pure segmentation and segmentation
with paging


The Scientific contents:


Main references of the subject:

1
-

OPERATING SYSTEM CONCEPTS
-

Six EDITION

-
ABRAHAM
SILBERSCHATZ Bell Laboratories
-

PETER GALVIN Corporate.

2
-

Internet sites


Ninth

Subject : (Title)
Virtual Memory


Lecture’s / Tutor’s Nam
e
:
MSc. Salam Hussein A.


Objective :

n

To describe the benefits of a virtual memory system

n

To explain the concepts of demand paging, page
-
replacement
algorithms, and allocation of page frames

n

To discuss the principle of the working
-
set model


The Scientific

contents:


Main references of the subject:

1
-

OPERATING SYSTEM CONCEPTS
-

Six EDITION

-
ABRAHAM
SILBERSCHATZ Bell Laboratories
-

PETER GALVIN Corporate.

2
-

Internet sites


Tenth

Subject : (Title)

File System Interface


Lecture’s / Tutor’s Name
:
MSc. Salam Hussei
n A.


Objective :



To explain the function of file systems



To describe the interfaces to file systems



To discuss file
-
system design tradeoffs, including access methods, file
sharing, file locking, and directory structures



To explore file
-
system protection


The Scientific contents:

Main references of the subject:

1
-

OPERATING SYSTEM CONCEPTS
-

Six EDITION

-
ABRAHAM
SILBERSCHATZ Bell Laboratories
-

PETER GALVIN Corporate.

2
-

Internet sites

Eleventh

Subject : (Title)

Protection


Lecture’s / Tutor’s Name
:
MSc. Salam Hu
ssein A.


Objective :

n

Discuss the goals and principles of protection in a modern computer
system

n

Explain how protection domains combined with an access matrix are
used to specify the resources a process may access

n

Examine capability and language
-
based prot
ection systems


The Scientific contents:


Main references of the subject:

1
-

OPERATING SYSTEM CONCEPTS
-

Six EDITION

-
ABRAHAM
SILBERSCHATZ Bell Laboratories
-

PETER GALVIN Corporate.

2
-

Internet sites


Twelfth
Subject : (Title)

Security


Lecture’s / Tutor’s Nam
e
:
MSc. Salam Hussein A.


Objective :

n

To discuss security threats and attacks

n

To explain the fundamentals of encryption, authentication, and
hashing

n

To examine the uses of cryptography in computing

n

To describe the various countermeasures to security attack
s


The Scientific contents:

Main references of the subject:

1
-

OPERATING SYSTEM CONCEPTS
-

Six EDITION

-
ABRAHAM
SILBERSCHATZ Bell Laboratories
-

PETER GALVIN Corporate.

2
-

Internet sites

Exams: Rules and instructions
Samples of expected questions and their answ
er


Q1: A: What is an Operating System and how working following files
together kernel services, library services, and application
-
level services?




B: What are operating system functions?

Q2: 1
-

Define following word exactly?




a.
file b. main memory management c. process d. real time system


2
-

the computer system has a numbers of operations Listing them ?

Q3: A: The three main major activities of an operating system in regard to
main memory management are?

B: computer
systems Computer can be divided into four components
listing them?


External examiners



























Student’s feedback