Quiz1[Spring_2011-2012] - University of Sharjah College of...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1

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

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

Unformatted text preview: University of Sharjah College of Sciences Department of Computer Science Spring 2012 1411352: Operating Systems Quiz # 1- 16/2/2012 Question 1 (8 Points) State whether each of the following statement is True or False. Justify your answer if the statement is faise. #57 a. An initial bootstrap program is stored in randonlaccessinemory. ,, , f he“: 7 K 60C)“ ’317\-\L"af Fix???“ 3.! _: / 13. System calls can be run in either user mode or kernel mode. *—-'. i [1‘ n _ ,‘1 fl . ran/3- 13F351 Serif" “‘03“? 0< 0. Application programmers typically use an API rWFy’lfivoking system calls. lure-e v.1, cl. In general, Windows system calis have longer, more desc ' ' names and UNIX system calls use shorter, less descriptive names. 6. The difference between a program and a process is that a program is an active entity while a process is a passive entity. / :- . if” if; ‘94:! a“): ,4? F“ p. 3—29 3;.“ ,1 A M’s-3“" ‘1 , at)" 1': are 1",; v f. The exec ( ) system call creates a new process. l i- ., d 'Lr f ‘5 7" "~15 “ -::'.' k1,, g. For a single—processor system, there will never be . e than one process in the Running state. ofthe operating system. ® All of the above ev‘“A 1411352 Operating Systems QUTI 1- Spring 2012 Question 2 (7 Points) This is a multiple choice question. For each part, select what you think is the correct answer and write its number in the empty space. a. Aprocess control block A. . A) includes information on the process‘s state B) stores the address of the next instruction to be processed by a different process C) determines which process is to be executed next 'D) is an example of a process queue b. The list of processes waiting for a papzticfar‘l/O device is called a(n) _T§_ A) standby queue //// B) device queue {-f/ C) ready queue D) interrupt queue c. The A referst he ‘ mber of processes in memory. A) process count _, B) long—term scheduler l . C) degree of multiprogramming D) CPU scheduler d. When a child process is created, which of the follofig is a possibility in terms of the execution? / A) The child process runs concurrently with the/parent. B) The child process has a new Wfid into it. C) The child is a duplicate of th t. e. A C saves the state the currently running process and restores the state of the next process t A) save-and-restore B) state switch C) context switch D) none of the above f. A process may transition to the Ready state which of the following actions? A) Completion of an I/O event B) Awaiting its turn on the CPU C Newly-admitted process Q‘ ll of the above ' \. Which ofthe following martian/9mm be allowed in the swamps? Disable all interrupts B) Read the time of the day clock ) Set the time of the day clock ) Change the memory map. ...
View Full 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