Advanced Operating System (CSCT5106)

Computer Science - COS

Semester: First Semester

Level:

Year: 2015

Page 1 of 2
SCHOOL: H.T.T.T.C DEPARTEMENT: CS LECTURER(S): Mr. Tiotsop Fabrice
COURSE CODE: FCS415 COURSE TITLE: Advanced operating system OPTION: FCS LEVEL: 400
DATE: HALL: …….. TIME: 1h 30mn NATURE: RESIT
INSTRUCTION: NA
Exercise1: (2+4+12+2+3+3= 26 marks)
1- What is the main goal Microsoft wanted to achieve by developing windows XP?
2- Name 4 processor architectures that Microsoft has been attempting to support through their windows NT-based
operating systems.
3- Multithreading, Symmetric multiprocessing, and Object-oriented design are some innovative approaches to
consider when developing a modern operating system. As far as these approaches are concerned, answer the
following questions:
a- Clearly define a symmetric multiprocessor
b- State three potential advantages of symmetric multiprocessors over uniprocessor systems.
c- Name 4 key design issues to consider when developing an operating system for multiprocessors.
d- Name three features provided by windows seven to support multithreading and SMP.
e- What is the facility provided by the object-oriented approach to design modern operating systems?
4- State two advantages of the client/server architecture implemented by Windows
5- Does windows seven implement the microkernel approach to system design? Justify your answer.
6- Do the kernel and the executive play the same role on windows seven? If not, how do they differ?
Exercise 2: (4+10= 14 marks)
Suppose the page table for the process currently executing on the processor looks like the following. All numbers are
decimal, everything is numbered starting from zero, and all addresses are memory byte addresses. The page size is
1024 bytes.
1- Describe exactly how, in general, a virtual address generated by the CPU is translated into a physical main memory
address.
REPUBLIC OF CAMEROON
Peace Work Fatherland
***********
THE UNIVERSITY OF BAMENDA
***********
HIGHER TECHNICAL TEACHER TRAINING
COLLEGE (H.T.T.T.C.) BAMBILI
***********
DIRECTORATE OF STUDIES
**********
P.O.BOX 39 BAMBILI
REPUBLIQUE DU CAMEROON
Paix Travail - Patrie
***********
UNIVERSITE DE BAMENDA
***********
ECOLE NORMALE SUPERIEURE
D’ENSEIGNEMENT TECHNIQUE
***********
DIRECTION DES ETUDES
**********
Tél: 33 05 10 69
www.schoolfaqs.net
Page 2 of 2
2- What physical address, if any, would each of the following virtual addresses correspond to? (Do not try to handle
any page faults, if any.)
a) 1052
b) 2221
Exercise 3 (4 + 3 + 4 + 6 + 3 = 20 marks)
1- Give two reasons why multithreading is useful.
2- List three items shared by all the threads within the same process as well as three private items for each thread.
3- List and explain two difficulties faced when implementing threads in user space.
4- As far as the hybrid implementation of threads is concerned,
a) Does it combine the advantages of user level threads and kernel level threads? Justify your answer.
b) Does it fix the problem of blocking system calls encountered with user level threads? Justify your answer.
c) Does it reduce the time overhead (time used to create and terminate threads) encountered with the kernel level
implementation?
5- What needs to be saved and restored on a context switch between two threads in the same process? What if the two threads are
in different processes?
Exercise 4 (5 + 5 = 10 marks)
1- Explain why disabling interrupts is not a good solution to achieve mutual exclusion in a multi core system.
2- Describe the actions taken by a kernel to context-switch between 2 processes, namely P0 and P1.
GOOD LUCK !
www.schoolfaqs.net