Good Day Sir/Madam
Kindly note that i would like to ask if can anybody help me in the below document ( the solution of a quiz in operating system- computer language) and one of PDF who the paragraph has a circle (need it the course with example and detail explain please)
kindly help me in this and send to me the solution on (douriazohbi@gmail.com)
looking forward for your Kind reply
Best Regards
Need it help in Operating System quiz(computer language) and in some course
1. ~J.A11t.~1 ~
u~ )L+JI o..>JIo3
~I.J t.WI J~~I o.)'J.J~ ~ o"pWJI~~,J11 ~ ol.)~
..:..~tl ~14 .t. .tl 0 '103 '. ~.t(.J;1:J~.J .. ~ ~ ~.). .. ~
w~Lw.:~ OperatingSystemsy~' ~~I: ui~L-.w
I) On demande de choisir un sy.stemed'exploitation qui permetde manipulerdes fichiers de
grande taille (quelques giga octets). Quel systemed'exploitation a choisir? Justifier votre
reponse.
2) Dans un systeme multiprocessus,justifier I'utilisation des processus legers(Thread).
3) Donnezun schema pour la structure d'un systemeNTFS ?
4) L'espace courant de la memoirecentrale n'est pas suffisant pour executerdes nouveaux
processus,quelle solution va etre appliquee par les systemesd'exploitation pour resoudre
cette situation?
5) Quelle est la solution adoptee par Ie systeme d'exploitation pour gerer des requetes d'acces .
disques frequents afin d'optimiser Ie temps d'acces disque? justifier votre reponse?
6) Completer les trois etats du processus du diagramme d'etats-transitions : nommer les trois etats
et les quatre tleches, puis donner un exemple pour chacun des quatre transitions.
enter ~ &xit
7) Expliquer brievement les appels systemes et parler de leur mode de fonctionnement.
8) Donner deux exemples d'appels systeme Unix pour chacune des categories suivantes: gestion de
processus, acces fichier, gestion des repertoires.
2. 9) Soientdeux processus PI et P2 qui effectuent une impressiona partir d'un meme fichier.
Process PI
lock (printer)
lock (filename)
Printing
Unlock(filename)
Unlock(printer)
Process P2
lock (filename)
lock (printer)
Printing
Unlock(printer)
Unlock(filename)
9.1) Quel est Ieproblemequi se produit si PI et P2 sont lances en meme temps?
9.2) Donner une solution pour resoudre Ieproblemeci-dessus.
10) Commet eviter Ie probleme de perte de donnees sur disque par un moyen autre que
I'operation de sauvegarde classique « backup»?
11) Le schema general d'un fichier est Ie suivant:
Bloc de donnees
Bloc d' adresse
I
I
I
I
I
I
Bloc de.donnees
, J I
__,r'
Bloc d'adresse
Bloc de donnees
/ >~ I
Bloc de donnees
/~ I/
/
//
/
/
/
/
/
/
Chaque bloc = 1024octets
Chaque adresse =4 octets
11.1) Quelle est la taille maximale d'un fichier ?
11.2) Quelle information faut-il memoriser pour pouvoir acceder aux blocs de donnees d'un
fichier ?
11.3) Ecrire une procedure qui lit les adresses d'un bloc d'adresses.
11.4) Ecrire une procedure qui rajoute une adresse a un bloc d'adresses ? Expliquer votre
strategie d'adressage.
2012/02/28 .} UJ~
I
I
I
I
I
I
I
3. ¥.1.4.l1 t..~1 ~
uL...a...)l-+JIo.;JIJ
J1UIJt..WI JlUa'Jio,;UJ~ ~ o"p~I u.a~,Jo11~ ol.;~
.. "A~'I ~lA A'_.'1 0 'IJ '. ~ at~".. J .. ~ y. ~.;. ...".
w~t... :~ OperatingSystemsji~' ~ ~i : u.i~L w
I) You asked to choose an operating systemthat manipulatesa big size of files (about some
Gigabytes). Whichoperating system you choose?Justify your answer?
2) In a multiprocessingsystem,justify the using of a thread.
3) Give a schema for the NTFS file structure?
4) The current space of a central memory is not sufficientto execute new processes,what
solution must be applied by the operating systemto solve this situation?
5) What is the solution adopted by the operatingsystemto manage the frequentaccess disk
queries to optimize the accessing disk time? Justify your answer.
6) Complete this three-state process transition diagram: label the three states and the four arrows,
then give one example of each of the four transitions.
enter exit
"..
7) Briefly explain what "system calls" are and talk about their mode of operation.
8) Give two examples of UNIX system calls in each of the following categories: process control,
file access, directory management.
4. 9) Given the two processes PI and P2 that make printing from the same tile.
Process PI
lock (printer)
lock (filename)
Printing
Unlock(filename)
Unlock(printer)
Process P2
lock (filename)
lock (printer)
Printing
Unlock(printer)
Unlock(filename)
9.1) What problem occurs if PI and P2 are launched at the same time?
9.2) Give a solution to resolve the problem above.
10) How to prevent the problem of data lose on a disk instead of the classical backup operation?
II) The generaldiagram of a file is the following:
Address bloc
-~.-.-~-.-~
/
Data block
J
1
I
I
I
Data block
__ A Data block
~Address bloc --'-
Data block
/~i
/
,/
/
,/
/
,/
/
,/
Each bloc = 1024 bytes
Each address = 4 bytes
11.1) What is the maximal sizeof a tile?
11.2) Which information should be memorizedto allow accessingto thedatablocks of a tile?
11.3) Writea procedure that readsthe addressesof an addressblock.
11.4) Writea procedure that adds an address to an address block. Explain your addressing
strategy
20 12/02/28~ ~ J~ ~WI.t.i:a1J ,~
I
I
I
I
I
I
I