Examen de mi-session. Mid-Term Exam. EEE435 Operating Systems. GEF435 Systèmes d exploitation. 21 October 2014, 13:40-14:30 hrs

Documents pareils
Instructions Mozilla Thunderbird Page 1

Application Form/ Formulaire de demande

Gestion des prestations Volontaire

Module Title: French 4

How to Login to Career Page

Exemple PLS avec SAS

Dans une agence de location immobilière...

UML : Unified Modeling Language

Institut français des sciences et technologies des transports, de l aménagement

Comprendre l impact de l utilisation des réseaux sociaux en entreprise SYNTHESE DES RESULTATS : EUROPE ET FRANCE

Editing and managing Systems engineering processes at Snecma

Le passé composé. C'est le passé! Tout ça c'est du passé! That's the past! All that's in the past!

Instructions pour mettre à jour un HFFv2 v1.x.yy v2.0.00

DOCUMENTATION - FRANCAIS... 2

Tex: The book of which I'm the author is an historical novel.

Tammy: Something exceptional happened today. I met somebody legendary. Tex: Qui as-tu rencontré? Tex: Who did you meet?

Forthcoming Database

Township of Russell: Recreation Master Plan Canton de Russell: Plan directeur de loisirs

GAME CONTENTS CONTENU DU JEU OBJECT OF THE GAME BUT DU JEU

Lesson Plan Physical Descriptions. belle vieille grande petite grosse laide mignonne jolie. beau vieux grand petit gros laid mignon

Warning: Failure to follow these warnings could result in property damage, or personal injury.

Paxton. ins Net2 desktop reader USB

DOCUMENTATION - FRANCAIS... 2

JSIam Introduction talk. Philippe Gradt. Grenoble, March 6th 2015

Bureau 17 septembre 2013 à 18h00 GSD 211. Board September 17, 2013 at 6:00 PM GSD 211 ITEM. Appel à l ordre : 18h10. 1 Call to Order: 6:10 pm

If you understand the roles nouns (and their accompanying baggage) play in a sentence...

ONTARIO Court File Number. Form 17E: Trial Management Conference Brief. Date of trial management conference. Name of party filing this brief

Contents Windows

IDENTITÉ DE L ÉTUDIANT / APPLICANT INFORMATION

TABLE DES MATIERES A OBJET PROCEDURE DE CONNEXION

UNIVERSITY OF MALTA FACULTY OF ARTS. French as Main Area in an ordinary Bachelor s Degree

Frequently Asked Questions

Règlement sur le télémarketing et les centres d'appel. Call Centres Telemarketing Sales Regulation

iqtool - Outil e-learning innovateur pour enseigner la Gestion de Qualité au niveau BAC+2

SERVEUR DÉDIÉ DOCUMENTATION

Exercices sur SQL server 2000

ANGULAR JS AVEC GDE GOOGLE

that the child(ren) was/were in need of protection under Part III of the Child and Family Services Act, and the court made an order on

4. Outils pour la synchronisation F. Boyer, Laboratoire Lig

OBJECT PRONOUNS. French III

Formulaire d inscription (form also available in English) Mission commerciale en Floride. Coordonnées

Women s State of the Media Democracy 2012 L observatoire international des usages et interactions des médias

«Rénovation des curricula de l enseignement supérieur - Kazakhstan»

RÉSUMÉ DE THÈSE. L implantation des systèmes d'information (SI) organisationnels demeure une tâche difficile

WINTER BOAT STORAGE SYSTEM SYSTÈME DE REMISAGE HIVERNAL POUR BATEAU

Notice Technique / Technical Manual

FCM 2015 ANNUAL CONFERENCE AND TRADE SHOW Terms and Conditions for Delegates and Companions Shaw Convention Centre, Edmonton, AB June 5 8, 2015

MODERN LANGUAGES DEPARTMENT

Dis où ces gens vont d après les images / Tell where these people are going based on the pictures.

Innovation in Home Insurance: What Services are to be Developed and for what Trade Network?

THE SUBJUNCTIVE MOOD. Twenty-nineth lesson Vingt-neuvième leçon

DOCUMENTATION MODULE BLOCKCATEGORIESCUSTOM Module crée par Prestacrea - Version : 2.0

L ABC de l acquisition de petites entreprises

Improving the breakdown of the Central Credit Register data by category of enterprises

Utiliser une WebCam. Micro-ordinateurs, informations, idées, trucs et astuces

setting the scene: 11dec 14 perspectives on global data and computing e-infrastructure challenges mark asch MENESR/DGRI/SSRI - France

Bienvenue au séminaire HP Service Anywhere Mardi 11 février 2014

XtremWeb-HEP Interconnecting jobs over DG. Virtualization over DG. Oleg Lodygensky Laboratoire de l Accélérateur Linéaire

I. COORDONNÉES PERSONNELLES / PERSONAL DATA

I>~I.J 4j1.bJ1UlJ ~..;W:i 1U

Once the installation is complete, you can delete the temporary Zip files..

GIGABIT PCI DESKTOP ADAPTER DGE-530T. Quick Installation Guide+ Guide d installation+

Master Développement Durable et Organisations Master s degree in Sustainable Development and Organizations Dossier de candidature Application Form

Fiche produit ifinance v4

lundi 3 août 2009 Choose your language What is Document Connection for Mac? Communautés Numériques L informatique à la portée du Grand Public

Railway Operating Certificate Regulations. Règlement sur les certificats d exploitation de chemin de fer CODIFICATION CONSOLIDATION

Contrôle d'accès Access control. Notice technique / Technical Manual

BNP Paribas Personal Finance

English Q&A #1 Braille Services Requirement PPTC Q1. Would you like our proposal to be shipped or do you prefer an electronic submission?

The new consumables catalogue from Medisoft is now updated. Please discover this full overview of all our consumables available to you.

Règles et paramètres d'exploitation de Caparmor 2 au 11/12/2009. Pôle de Calcul Intensif pour la mer, 11 Decembre 2009

Nouveautés printemps 2013

EU- Luxemburg- WHO Universal Health Coverage Partnership:

Guide d'installation rapide TFM-560X YO.13

Deadline(s): Assignment: in week 8 of block C Exam: in week 7 (oral exam) and in the exam week (written exam) of block D

SCHOLARSHIP ANSTO FRENCH EMBASSY (SAFE) PROGRAM APPLICATION FORM

CETTE FOIS CEST DIFFERENT PDF

Créé par Goldfing & Pblabla Créé le 02/05/ :49:00. Guide pour la déclaration d impôt

Discours du Ministre Tassarajen Pillay Chedumbrum. Ministre des Technologies de l'information et de la Communication (TIC) Worshop on Dot.

Cheque Holding Policy Disclosure (Banks) Regulations. Règlement sur la communication de la politique de retenue de chèques (banques) CONSOLIDATION

IPSAS 32 «Service concession arrangements» (SCA) Marie-Pierre Cordier Baudouin Griton, IPSAS Board

WEB page builder and server for SCADA applications usable from a WEB navigator

La solution idéale de personnalisation interactive sur internet

Thank you for choosing the Mobile Broadband USB Stick. With your USB Stick, you can access a wireless network at high speed.

Présentation par François Keller Fondateur et président de l Institut suisse de brainworking et M. Enga Luye, CEO Belair Biotech

First Nations Assessment Inspection Regulations. Règlement sur l inspection aux fins d évaluation foncière des premières nations CONSOLIDATION

Le Product Backlog, qu est ce c est?

Sécurité relative aux sièges auto et aux rehausseurs

Integrated Music Education: Challenges for Teaching and Teacher Training Presentation of a Book Project

MANUEL MARKETING ET SURVIE PDF

Algorithmes de recommandation, Cours Master 2, février 2011

CEST POUR MIEUX PLACER MES PDF

Yes, you Can. Travailler, oui c est possible! Work!

Compte-rendu technique complet et détaillé des cookies

Form of Deeds Relating to Certain Successions of Cree and Naskapi Beneficiaries Regulations

The impacts of m-payment on financial services Novembre 2011

Acce s aux applications informatiques Supply Chain Fournisseurs

L ESPACE À TRAVERS LE REGARD DES FEMMES. European Economic and Social Committee Comité économique et social européen

AIDE FINANCIÈRE POUR ATHLÈTES FINANCIAL ASSISTANCE FOR ATHLETES

Transcription:

Mid-Term Exam EEE435 Operating Systems 21 October 2014, 13:40-14:30 hrs Examen de mi-session GEF435 Systèmes d exploitation 21 octobre 2014, 13h40 14h30 Examiner: Dr Alain Beaulieu Examinateur: Capt A. Lapointe, MSc. Instructions: Instructions: Do not turn this page until instructed to do so. Ne tournez pas cette page avant l instruction de l examinateur. This exam is closed book; there are 10 questions worth a total of 50 marks. Questions have the values indicated in the centre column. For questions that contain sub-questions, the values are indicated in brackets. You have 50 minutes to complete the test. If a question seems unclear, make a reasonable assumption, document it, and answer the question as though the assumption were correct. The examiners will not clarify the meaning of questions during the exam. Good luck! Cet examen est à livre fermé; il y a 10 questions pour un total de 50 points. Les questions ont les valeurs indiquées dans la colonne centrale. Pour les questions qui comportent des sousquestions, la valeur est indiquée entre parenthèses. Vous avez 50 minutes pour compléter l examen. Si une question ne vous semble pas claire, faites des suppositions raisonnables, documentez-les, et répondez à la question en prenant compte de ces suppositions. Les examinateurs ne clarifieront pas le sens des questions pendant l examen. Bonne chance! 1/5

1. Operating systems can be seen from two perspectives, or views. 5 1. Les systèmes d exploitation peuvent être décrits de deux points de vue ou perspectives. a) What are these two perspectives? (2) 1. Quelles sont ces deux perspectives? (2) b) In a concise way, describe these two perspectives. (3) 2. Décrivez ces deux perspectives de façon concise. (3) 2. a) In what data structure does the operating system store the information about processes? (2) 6 2. a) Dans quelle structure de données, est-ce que le système d exploitation enregistre l information sur les processus? (2) b) Give three examples of information that is stored. (3) c) Why does this information need to be stored? (1) b) Donnez trois exemples d information enregistrée. (3) c) Pourquoi doit-on enregistrer cette information? (1) 2/5

3. In the diagram below explain how each process state transition can take place and for the two missing transitions, explain how they cannot occur. In your answer state precisely the two states involved in each part of your answer. 8 3. Basé sur le diagramme ci-dessous, expliquez chacune des transitions entre les états d un processus et expliquez les deux transitions manquantes. Dans votre réponse, indiquez clairement les deux états impliqués dans chacune des transitions auxquelles vous faites référence. Running / En exécution Blocked / Bloquée Ready / Prêt 3/5

4. Every solution that is proposed to solve race condition must meet four conditions. 8 4. Toutes les solutions possibles au problème de la concurrence critique doivent rencontrer quatre conditions. a) What are they? (4) a) Quelles sont-elles? (4) 4. b) We suggest to use a lock variable in the code that could be read to see if the shared resource was or was not available. Would this solve the race condition issue? (1) Explain. (3) 4. b) Nous suggérons d utiliser une variable verrou qui pourrait être lu pour voir si la ressource partagée est disponible ou non. Est-ce que cela règlerait la concurrence critique? (1) Expliquez. (3) 5. We have seen in the course that semaphore can solve the problem of race conditions. a) What is the improvement that semaphores have over the sleep() and wakeup() signals proposed in the elaboration of the producer/consumer problem? (2) 4 5. Nous avons vu dans le cours que les sémaphores peuvent régler la concurrence critique. a) Quel est l avantage des sémaphores par rapport au signaux sleep() et wakeup() qui étaient suggérés dans la solution au problème du producteur/consommateur? (2) b) What property is essential to the implementation of semaphores? (1) b) Quelle propriété est essentielle dans l implémentation des sémaphores? (1) c) How is this property usually implemented? (1) c) Comment est-ce que cette propriété est normalement implémentée? (1) 4/5

6. What does it mean when resources are nonpreemptive? 3 6. Qu est-ce que la non-préemptivité d une ressource? 7. Why are monitors an improvement over semaphores for programmers? 3 7. Pourquoi les moniteurs sont-ils avantageux pour les programmeurs? 8. Why does the CPU have to save most of its registers during a system call and why is it not done by the Operating System? 5 8. Pourquoi le micro-processeur doit-il sauvegarder la plupart de ses registres lui-même plutôt que le système d exploitation ne s en occupe. 9. What are two advantages of using user level threads instead of kernel level threads? 2 9. Donnés deux avantages d utiliser des threads utilisateur par rapport au thread noyau? 10. a) Explain what a deadlock is. (2) 6 10. a) Expliquez ce qu est un interblocage. (2) b) What are the 4 conditions that are required to have a deadlock? (4) 4. Quelles sont les quatre conditions pour avoir un interblocage? (4) 4. END OF EXAM FIN DE L EXAMEN 5/5