Formative 2

studied byStudied by 1 person
0.0(0)
Get a hint
Hint

False

1 / 19

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

20 Terms

1

False

Program stored in your disk is considered as active entity.

True

False

New cards
2

False

The goal of CPU scheduling is to optimize system performance is to minimize the throughput.

True

False

New cards
3

True

A process terminates when it finishes its last statement and asks the operating system to delete it using the exit system call.

True

False

New cards
4

True

Process is a program in execution.

True

False

New cards
5

True

The goal of CPU scheduling is to optimize system performance is to minimize the waiting time.

True

False

New cards
6

True

Process execution begins with a CPU burst that is followed by an I/O burst.

True

False

New cards
7

False

A process may create several new processes, via a create-process system call, during the course of execution. 

The creating process is called child process.

True

False

New cards
8

True

The process STACK contains the temporary data such as method/function parameters, return address and local variables.

True

False

New cards
9

False

In process state, running state is when the process is being created

True

False

New cards
10

True

In process state, ready state is when the process is waiting for the OS to assign a processor to it.

True

False

New cards
11

0

FIRST-COME, FIRST SERVED

What is the Waiting Time of Process A?

10

16

0

2

<p><strong>FIRST-COME, FIRST SERVED</strong></p><p>What is the Waiting Time of Process A?</p><p>10</p><p>16</p><p>0</p><p>2</p>
New cards
12

ABCD

FIRST-COME, FIRST SERVED

 

What is the correct sequence of the process when served by the CPU?

ACDB

ABCD

ACBD

DCBA

<p><strong>FIRST-COME, FIRST SERVED</strong></p><p></p><p>&nbsp;</p><p><span>What is the correct sequence of the process when served by the CPU?</span></p><p>ACDB</p><p>ABCD</p><p>ACBD</p><p>DCBA<br></p>
New cards
13

7.25

FIRST-COME, FIRST SERVED

What is the average waiting time?

5.75

6.75

7.25

12.75

<p><strong>FIRST-COME, FIRST SERVED</strong></p><p>What is the average waiting time?</p><p>5.75</p><p>6.75</p><p>7.25</p><p>12.75</p>
New cards
14

16

FIRST-COME, FIRST SERVED

What is the Turn Around Time of Process C?

2

19

7

16

<p><strong>FIRST-COME, FIRST SERVED</strong></p><p>What is the Turn Around Time of Process C?</p><p>2</p><p>19</p><p>7</p><p>16</p>
New cards
15

7

NON-PREEMPTIVE PRIORITY SCHEDULING

What is the average waiting time?

10.75

14

7

5.75

<p><strong>NON-PREEMPTIVE PRIORITY SCHEDULING</strong></p><p>What is the average waiting time?</p><p>10.75</p><p>14</p><p>7</p><p>5.75</p>
New cards
16

20

ROUND-ROBIN (RR) SCHEDULING

time quantum = 3 ms

What is the Turn Around Time of P3?

5

20

14

17

<p><strong>ROUND-ROBIN (RR) SCHEDULIN</strong>G</p><p>time quantum = 3 ms</p><p>What is the Turn Around Time of P3?</p><p>5</p><p>20</p><p>14</p><p>17</p>
New cards
17

P2

ROUND-ROBIN (RR) SCHEDULING

time quantum = 3 ms

What process has a waiting time of 2?

P3

P1

P2

P4

<p><strong>ROUND-ROBIN (RR) SCHEDULIN</strong>G</p><p><strong>time quantum = 3 ms</strong></p><p>What process has a waiting time of 2?</p><p>P3</p><p>P1</p><p>P2</p><p>P4<br></p>
New cards
18

SHORTEST REMAINING TIME (SRT)

What process has a turnaround time of 20?

P3

P2

P1

P4

<p><strong>SHORTEST REMAINING TIME (SRT)</strong></p><p>What process has a turnaround time of 20?</p><p>P3</p><p>P2</p><p>P1</p><p>P4</p>
New cards
19

P3

PREEMPTIVE PRIORITY SCHEDULING

What process has a turnaround time of 11?

P2

P4

P3

P1

<p><strong>PREEMPTIVE PRIORITY SCHEDULING</strong></p><p>What process has a turnaround time of 11?</p><p>P2</p><p>P4</p><p>P3</p><p>P1</p>
New cards
20

11

PREEMPTIVE PRIORITY SCHEDULING

What is the Turn Around Time of P3?

5

19

11

15

<p><strong>PREEMPTIVE PRIORITY SCHEDULING</strong></p><p>What is the Turn Around Time of P3?</p><p>5</p><p>19</p><p>11</p><p>15</p>
New cards

Explore top notes

note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 44 people
... ago
5.0(1)
note Note
studied byStudied by 9 people
... ago
5.0(2)
note Note
studied byStudied by 484 people
... ago
5.0(12)
note Note
studied byStudied by 26 people
... ago
5.0(2)
note Note
studied byStudied by 14 people
... ago
5.0(1)
note Note
studied byStudied by 14 people
... ago
5.0(2)
note Note
studied byStudied by 85 people
... ago
5.0(2)

Explore top flashcards

flashcards Flashcard (30)
studied byStudied by 121 people
... ago
4.5(2)
flashcards Flashcard (46)
studied byStudied by 12 people
... ago
5.0(1)
flashcards Flashcard (21)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (35)
studied byStudied by 11 people
... ago
4.5(2)
flashcards Flashcard (42)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (56)
studied byStudied by 8 people
... ago
5.0(1)
flashcards Flashcard (104)
studied byStudied by 37 people
... ago
5.0(1)
flashcards Flashcard (54)
studied byStudied by 4 people
... ago
5.0(3)
robot