0% found this document useful (0 votes)
36 views37 pages

Operating System Assessments

The document discusses an operating systems course outline covering various units and lessons including introduction to operating systems, computer organization, views of operating systems, operating system services, and CPU scheduling. The outline also includes quizzes and assessments. Key topics covered are system calls, process management, context switching, interprocess communication techniques, and the system booting process.

Uploaded by

Nandu Narayanan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views37 pages

Operating System Assessments

The document discusses an operating systems course outline covering various units and lessons including introduction to operating systems, computer organization, views of operating systems, operating system services, and CPU scheduling. The outline also includes quizzes and assessments. Key topics covered are system calls, process management, context switching, interprocess communication techniques, and the system booting process.

Uploaded by

Nandu Narayanan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 37

X

(/)
     

(/univ_details/SASTRA) About (/about)
| Notifications

(/mynotifications)
| [email protected]  (/profile)

SASTRA
»
Operating Systems

Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 1 - Unit I

Course outline


Unit I
Introduction to Operating Systems (unit?unit=1&lesson=2)

Computer organization part 1 (unit?unit=1&lesson=4)

Computer Organization Part2 (unit?unit=1&lesson=3)

Views of Operating Systems (unit?unit=1&lesson=5)

Operating System Services (unit?unit=1&lesson=6)

Operating System structure (unit?unit=1&lesson=9)

Operations of OS (unit?unit=1&lesson=12)

System calls (unit?unit=1&lesson=15)

Process Management (unit?unit=1&lesson=16)

Context Switching (unit?unit=1&lesson=17)

Quiz: Assessment1 (assessment?name=18)

IPC using message passing (unit?unit=1&lesson=19)

IPC-Using shared memory (unit?unit=1&lesson=20)

system booting process (unit?unit=1&lesson=21)

Quiz: Assessment-2 (assessment?name=22)

Introduction to CPU scheduling (unit?unit=1&lesson=23)

CPU Scheduling (unit?unit=1&lesson=24)

Performance evaluation of CPU scheduling algorithms (unit?unit=1&lesson=25)

Multiprocessor scheduling (unit?unit=1&lesson=26)


Unit II


Unit 3


unit 4


unit 5
Assessment1
The due date for submitting this assignment has passed.
Due on 2021-09-30, 23:59 IST.

Assignment submitted on
2021-09-30, 11:37 IST
1) Operating system is a resource manager that manages is 1 point


All the above

Reduce the complexity

Resources efficiently

Utilize hardware easily

Yes, the answer is correct.

Score: 1
Accepted Answers:
All the above

2) Which of the following is not a hardware 1 point


Bus

CPU

RAM

Scheduler

Yes, the answer is correct.

Score: 1
Accepted Answers:
Scheduler

3) Device that provides efficient computation on arrays of data using Single instruction Multiple Data techniques 1 point


CPU

DSP

GPU

SOC

No, the answer is incorrect.

Score: 0
Accepted Answers:
GPU

4) Most efficient Input Output technique is 1 point


All of the above

Direct memory access

Interrupt driven IO

Programmed IO
Yes, the answer is correct.

Score: 1
Accepted Answers:
Direct memory access

5) Processing in which the programs and data collected together as a group before the processing starts 1 point


Parallel processing

Array processing

Batch processing

Time sharing system

No, the answer is incorrect.

Score: 0
Accepted Answers:
Batch processing

6) In the following options which is not the type of operating system structures 1 point

Distributed systems

Hybrid systems

Microkernel

Monolithic

No, the answer is incorrect.

Score: 0
Accepted Answers:
Distributed systems

7) kernel mode is also known as 1 point


All the above

priviliged mode

supervisor mode

system mode

Yes, the answer is correct.

Score: 1
Accepted Answers:
All the above

8) Operating system is a type of 1 point


Malware

Middleware

hardware

software

No, the answer is incorrect.

Score: 0
Accepted Answers:
software

9) What is the expansion of CTSS 1 point


Compatible Time Sharing System

Compatible Time Storing System

Computable Time Sharing System

Computable Time Storing System

Yes, the answer is correct.

Score: 1
Accepted Answers:
Compatible Time Sharing System

FOLLOW US

(https://www.facebook.com/swayammoocs/)
(https://www.instagram.com/swayammhrd/)
(https://twitter.com/SWAYAMMHRD)

Privacy Policy (/privacy_policy) | Terms of Use (/terms_of_use) | Honor Code (/honor_code)

© 2022 SWAYAM. All rights reserved. Initiative by : MHRD ( Govt of India)


X


(/)
     

(/univ_details/SASTRA) About (/about)
| Notifications

(/mynotifications)
| [email protected]  (/profile)

SASTRA
»
Operating Systems

Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 1 - Unit I

Course outline


Unit I
Introduction to Operating Systems (unit?unit=1&lesson=2)

Computer organization part 1 (unit?unit=1&lesson=4)

Computer Organization Part2 (unit?unit=1&lesson=3)

Views of Operating Systems (unit?unit=1&lesson=5)

Operating System Services (unit?unit=1&lesson=6)

Operating System structure (unit?unit=1&lesson=9)

Operations of OS (unit?unit=1&lesson=12)

System calls (unit?unit=1&lesson=15)

Process Management (unit?unit=1&lesson=16)

Context Switching (unit?unit=1&lesson=17)

Quiz: Assessment1 (assessment?name=18)

IPC using message passing (unit?unit=1&lesson=19)

IPC-Using shared memory (unit?unit=1&lesson=20)

system booting process (unit?unit=1&lesson=21)

Quiz: Assessment-2 (assessment?name=22)

Introduction to CPU scheduling (unit?unit=1&lesson=23)

CPU Scheduling (unit?unit=1&lesson=24)

Performance evaluation of CPU scheduling algorithms (unit?unit=1&lesson=25)

Multiprocessor scheduling (unit?unit=1&lesson=26)


Unit II


Unit 3


unit 4


unit 5
Assessment-2
The due date for submitting this assignment has passed.
Due on 2021-10-11, 23:59 IST.

Assignment submitted on
2021-10-11, 21:17 IST
1) During the system call the control should be transferred from 1 point


Kernel space to kernel space

User space and kernel space

User space to kernel space

User space to user space

Yes, the answer is correct.

Score: 1
Accepted Answers:
User space to kernel space

2) What is the purpose of msgctl function 1 point


Indicating message initialization

Indicating the message transmission

Indicating the permission changes

Indicating the type of the message

No, the answer is incorrect.

Score: 0
Accepted Answers:
Indicating the permission changes

3) What is the responsibility of Bootstrap Loader 1 point


Deleting the operating system

Installing operating system

Locating the operating system

Yes, the answer is correct.

Score: 1
Accepted Answers:
Locating the operating system

4) System call to the OS is considered as which type of interrupt 1 point


Hardware interrupt

Maskable interrupt

TRAP interrupt

Timer interrupt
No, the answer is incorrect.

Score: 0
Accepted Answers:
TRAP interrupt

5) Which of the following state is responsible for creation of a process 1 point


New

Ready

Running

Waiting

Yes, the answer is correct.

Score: 1
Accepted Answers:
New

6) Transferring the process between the memory and the ready queue is the process of 1 point

Fair scheduler

Interrupting operating system

Medium term scheduler

Short-term scheduler

long term scheduler

No, the answer is incorrect.

Score: 0
Accepted Answers:
Medium term scheduler

7) Context switching is system is considered as 1 point


Complex process

Essential process

Normal process

Overhead process

No, the answer is incorrect.

Score: 0
Accepted Answers:
Overhead process

8) How each and every process are identified by Operating system 1 point


PC

PCB

PID

TCB

Yes, the answer is correct.

Score: 1
Accepted Answers:
PID

9) Blocking send and unblocking send are synchronous process 1 point


Correct

Incorrect

No, the answer is incorrect.

Score: 0
Accepted Answers:
Incorrect

10) Sending and receiving the information using the Mailbox is known as 1 point


Blocking communication

Direct communication

Indirect communication

Synchronous communication

Yes, the answer is correct.

Score: 1
Accepted Answers:
Indirect communication

11) From the following options which is the false choice in the reasons for process cooperation 1 point


Fast computation

Information sharing

Modularity

Use the CPU at the same time

No, the answer is incorrect.

Score: 0
Accepted Answers:
Use the CPU at the same time
FOLLOW US

(https://www.facebook.com/swayammoocs/)
(https://www.instagram.com/swayammhrd/)
(https://twitter.com/SWAYAMMHRD)

Privacy Policy (/privacy_policy) | Terms of Use (/terms_of_use) | Honor Code (/honor_code)

© 2022 SWAYAM. All rights reserved. Initiative by : MHRD ( Govt of India)


X


(/)
     

(/univ_details/SASTRA) About (/about)
| Notifications

(/mynotifications)
| [email protected]  (/profile)

SASTRA
»
Operating Systems

Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 2 - Unit II

Course outline


Unit I


Unit II
Basics of memory management (unit?unit=29&lesson=30)

Memory partitioning (unit?unit=29&lesson=31)

Paging and segemtation (unit?unit=29&lesson=32)

Page replacement algorithms (unit?unit=29&lesson=33)

Demand paging (unit?unit=29&lesson=34)

Quiz: Assessment 3 (assessment?name=35)

Virtual memory (unit?unit=29&lesson=36)

Deadlock (unit?unit=29&lesson=37)

Deadlock avoidance for single resource (unit?unit=29&lesson=38)

deadlock avoidance-bankers algorithm (unit?unit=29&lesson=39)

Deadlock,avoidance,detection and recovery (unit?unit=29&lesson=40)

Peterson algorithm (unit?unit=29&lesson=41)


Unit 3


unit 4


unit 5

Assessment 3
The due date for submitting this assignment has passed.
Due on 2021-10-28, 23:59 IST.

Assignment submitted on
2021-10-27, 22:26 IST
1) When the scheduling is considered as completed 1 point


All the above

Process finished execution

System call

Time quantum

Yes, the answer is correct.

Score: 1
Accepted Answers:
All the above

2) The interval of the submission time of the process and completion time is known as 1 point


Response time

Throughput

Turnaround time

Waiting time

Yes, the answer is correct.

Score: 1
Accepted Answers:
Turnaround time

3) Which scheduling algorithm is suitable for scheduling the process with less response time 1 point


HRRN

RR with large quantum value

RR with small quantum value

SRT

Yes, the answer is correct.

Score: 1
Accepted Answers:
RR with small quantum value

4) The situation where a higher priority task to wait for a lower priority task is known as 1 point


Non-preemption

Priority inversion

Priority-Inheritance

Priority-Sealing

Yes, the answer is correct.

Score: 1
Accepted Answers:
Priority inversion

5) Program which is running in user mode and trying to access Operating system memory or other users memory results in 1 point


Fatal error

Hardware failure

Logical error

Syntax error

Yes, the answer is correct.

Score: 1
Accepted Answers:
Fatal error

6) The memory spaces cannot be used even enough total memory space is available to satisfy a request is called as 1 point


Compaction

External fragmentation

Internal fragmentation

Thrashing

Yes, the answer is correct.

Score: 1
Accepted Answers:
External fragmentation

7) Shuffle the memory contents to place all free memory together in one large block is called 1 point


Compaction

External fragmentation

Internal fragmentation

Thrashing

Yes, the answer is correct.

Score: 1
Accepted Answers:
Compaction

8) The solution to reduce the accessing time of the user memory locations 1 point


First fit

Fixed allocation

Thrashing

Translation lookaside buffer

No, the answer is incorrect.

Score: 0
Accepted Answers:
Translation lookaside buffer

9) If there is reference to a page not in memory, it causes 1 point


Global replacement

Local replacement

Page fault

Thrashing

Yes, the answer is correct.

Score: 1
Accepted Answers:
Page fault

10) The process is busy swapping pages in and out of memory is known as 1 point


Global replacement

Local replacement

Page fault

Thrashing

Yes, the answer is correct.

Score: 1
Accepted Answers:
Thrashing

FOLLOW US

(https://www.facebook.com/swayammoocs/)
(https://www.instagram.com/swayammhrd/)
(https://twitter.com/SWAYAMMHRD)

Privacy Policy (/privacy_policy) | Terms of Use (/terms_of_use) | Honor Code (/honor_code)

© 2022 SWAYAM. All rights reserved. Initiative by : MHRD ( Govt of India)


X


(/)
     

(/univ_details/SASTRA) About (/about)
| Notifications

(/mynotifications)
| [email protected]  (/profile)

SASTRA
»
Operating Systems

Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 3 - Unit 3

Course outline


Unit I


Unit II


Unit 3
Synchronization-part1 (unit?unit=43&lesson=44)

Synchronization-part2 (unit?unit=43&lesson=45)

Quiz: Assessment 4 (assessment?name=46)

Monitors and measures (unit?unit=43&lesson=47)

classic problem of concurrency (unit?unit=43&lesson=49)


unit 4


unit 5

Assessment 4
The due date for submitting this assignment has passed.
Due on 2021-11-24, 23:59 IST.

Assignment submitted on
2021-11-24, 22:08 IST
1) A built-in function in shared memory to return the information about the shared memory segment 1 point


shmat()

shmctl()

shmctrl()

shmdt()
Yes, the answer is correct.

Score: 1
Accepted Answers:
shmctl()

2) Message queues format consists of 1 point


All the above

Destination ID

Message type

Source ID

Yes, the answer is correct.

Score: 1
Accepted Answers:
All the above

3) Software used to locate the kernel load it into main memory and start the OS execution is known as 1 point


Bootstrap loader

Event counter

Monitor

Semaphore

Yes, the answer is correct.

Score: 1
Accepted Answers:
Bootstrap loader

4) Under ____________ schedulingf once CPU allocated to a process the process keeps the CPU until it completes or makes IO call 1 point
and get blocked


FCFS

Non-Preemptive

Preemptive

long-term

Yes, the answer is correct.

Score: 1
Accepted Answers:
Non-Preemptive

5) The technique used to overcome the waiting time of low priority processes 1 point


Aging

Preemption

Priority

Starvation

Yes, the answer is correct.

Score: 1
Accepted Answers:
Aging

6) Collection of autonomous systems known as ____________ 1 point


Loosely coupled systems

Parallel systems

Shared systems

Tightly coupled systems

Yes, the answer is correct.

Score: 1
Accepted Answers:
Loosely coupled systems

7) A process may be assigned to different processor after it is unblocked 1 point


Dedicated assignment

Dynamic assignment

Short-term assignment

Static assignment

Yes, the answer is correct.

Score: 1
Accepted Answers:
Dynamic assignment

8) Software used to relocate the process from memory to the compilation mode 1 point


Assembler

Linker

Loader

compiler

Yes, the answer is correct.

Score: 1
Accepted Answers:
Loader

9) Allocate the smallest hole of the memory 1 point


Best fit

First fit

Next fit

Second fit

Yes, the answer is correct.

Score: 1
Accepted Answers:
Best fit

10) ____________happens when there is a sufficient quantity of area within the memory to satisfy the memory request of a method. 1 point
However the process’s memory request cannot be fulfilled because the memory offered is during a non-contiguous manner.


External fragmentation

Internal fragmentation

Offset

Segmentation
Yes, the answer is correct.

Score: 1
Accepted Answers:
External fragmentation

FOLLOW US

(https://www.facebook.com/swayammoocs/)
(https://www.instagram.com/swayammhrd/)
(https://twitter.com/SWAYAMMHRD)

Privacy Policy (/privacy_policy) | Terms of Use (/terms_of_use) | Honor Code (/honor_code)

© 2022 SWAYAM. All rights reserved. Initiative by : MHRD ( Govt of India)


X


(/)
     

(/univ_details/SASTRA) About (/about)
| Notifications

(/mynotifications)
| [email protected]  (/profile)

SASTRA
»
Operating Systems

Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 4 - unit 4

Course outline


Unit I


Unit II


Unit 3


unit 4
File systems (unit?unit=50&lesson=51)

Diectory and Disk structure (unit?unit=50&lesson=52)

Quiz: ASSESSMENT 5 (assessment?name=54)

Disk structure (unit?unit=50&lesson=55)

Disk scheduling (unit?unit=50&lesson=56)

File allocation and protection (unit?unit=50&lesson=57)

IO Management (unit?unit=50&lesson=58)

Quiz: Assessment 6 (assessment?name=68)


unit 5

ASSESSMENT 5
The due date for submitting this assignment has passed.
Due on 2021-12-15, 23:59 IST.

Assignment submitted on
2021-12-15, 21:44 IST
1) Situation that occurs when a device or system attempts to perform two or more operations at the same time 1 point


Live lock

Mutual exclusion

Race condition

Starvation

Yes, the answer is correct.

Score: 1
Accepted Answers:
Race condition
2) A condition in which the various processes are constantly changing state but never reach a situation where any of them can 1 point
proceed


Live lock

Mutual exclusion

Race condition

Starvation

Yes, the answer is correct.

Score: 1
Accepted Answers:
Live lock

3) Semaphore is a ______ that controls access to one or more resources 1 point


Command

Hardware

Variable

process

Yes, the answer is correct.

Score: 1
Accepted Answers:
Variable

4) A piece of code in which processes or threads access a shared resource 1 point


Live lock

Mutual exclusion

Race condition

Starvation

Yes, the answer is correct.

Score: 1
Accepted Answers:
Mutual exclusion

5) Another name of Bounded-Buffer problem is ________________ 1 point


Banker algorithm

Dining-Philoshoper problem

Producer-Consumer problem

Reader-Writerproblem

Yes, the answer is correct.

Score: 1
Accepted Answers:
Producer-Consumer problem

6) In Reader-Writer problem a process wishing to do the updating must be in _________ 1 point


All the above

Read and write mode

Read mode

Write mode

Yes, the answer is correct.

Score: 1
Accepted Answers:
Write mode

7) Only one process at a time can acquire the lock to avail the file access 1 point


Exclusive lock

Read lock

Readwrite lock

Shared lock

Yes, the answer is correct.

Score: 1
d
Accepted Answers:
Exclusive lock

8) All the pointers to scattered blocks are placed together in one location is 1 point


Contigous allocation

Indexed allocation

Linked allocation

Sequential allocation

Yes, the answer is correct.

Score: 1
Accepted Answers:
Indexed allocation

9) In ______________ every user has their own user file directory (UFD) 1 point


Acyclic graph directory

Hierarchical level directory

Single level directory

Two-level directory

Yes, the answer is correct.

Score: 1
Accepted Answers:
Two-level directory

10) In which directory model the same file or subdirectory may be in two different directories 1 point


Acyclic graph directory

Hierarchical level directory

Single level directory

Two-level directory

Yes, the answer is correct.

Score: 1
Accepted Answers:
Acyclic graph directory

FOLLOW US

(https://www.facebook.com/swayammoocs/)
(https://www.instagram.com/swayammhrd/)
(https://twitter.com/SWAYAMMHRD)

Privacy Policy (/privacy_policy) | Terms of Use (/terms_of_use) | Honor Code (/honor_code)

© 2022 SWAYAM. All rights reserved. Initiative by : MHRD ( Govt of India)


X


(/)
     

(/univ_details/SASTRA) About (/about)
| Notifications

(/mynotifications)
| [email protected]  (/profile)

SASTRA
»
Operating Systems

Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 4 - unit 4

Course outline


Unit I


Unit II


Unit 3


unit 4
File systems (unit?unit=50&lesson=51)

Diectory and Disk structure (unit?unit=50&lesson=52)

Quiz: ASSESSMENT 5 (assessment?name=54)

Disk structure (unit?unit=50&lesson=55)

Disk scheduling (unit?unit=50&lesson=56)

File allocation and protection (unit?unit=50&lesson=57)

IO Management (unit?unit=50&lesson=58)

Quiz: Assessment 6 (assessment?name=68)


unit 5

Assessment 6
The due date for submitting this assignment has passed.
Due on 2021-12-21, 23:59 IST.

Assignment submitted on
2021-12-21, 22:34 IST
1) Memory space allotted in CPU is __________ 1 point


Cache

Dynamic RAM

Register

Stack

No, the answer is incorrect.

Score: 0
Accepted Answers:
Register
2) Find the odd one from the given options related to the steps involved in user programs 1 point


Compilation

Execution

Program development

swapping

Yes, the answer is correct.

Score: 1
Accepted Answers:
swapping

3) Offsets from the starting address is known as __________ 1 point


Absolute address

Logical address

Physical address

Relative address

Yes, the answer is correct.

Score: 1
Accepted Answers:
Relative address

4) When all philosophers are hungry they will try to grab___________ chopstick first 1 point


Both

Left

Right

next person’s left

No, the answer is incorrect.

Score: 0
Accepted Answers:
Left

5) Switching the CPU from one process to another process requires performing ____________Of current process 1 point


state restore

state save

statecopy

statedelete

No, the answer is incorrect.

Score: 0
Accepted Answers:
state save

6) Process which creates another process is called as 1 point


Child process

Parent process

Root process

Tree process

Yes, the answer is correct.

Score: 1
Accepted Answers:
Parent process

7) ______________is responsible for managing client of a system 1 point


hdss process

sdsh process

shsd process

sshd process

Yes, the answer is correct.

Score: 1
Accepted Answers:
sshd process

8) _______________function is used to create a copy of a same process 1 point


fork

msgctl

pipe

shmget

Yes, the answer is correct.

Score: 1
Accepted Answers:
fork

9) System call that loads a binary file into a memory 1 point


exe()

exit()

shm()

signal()

Yes, the answer is correct.

Score: 1
Accepted Answers:
exe()

10) Initial value of invalid bit in all entries are _______ 1 point


V

c

i

k

No, the answer is incorrect.

Score: 0
Accepted Answers:
i

FOLLOW US

(https://www.facebook.com/swayammoocs/)
(https://www.instagram.com/swayammhrd/)
(https://twitter.com/SWAYAMMHRD)

Privacy Policy (/privacy_policy) | Terms of Use (/terms_of_use) | Honor Code (/honor_code)

© 2022 SWAYAM. All rights reserved. Initiative by : MHRD ( Govt of India)


X


(/)
     

(/univ_details/SASTRA) About (/about)
| Notifications

(/mynotifications)
| [email protected]  (/profile)

SASTRA
»
Operating Systems

Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 5 - unit 5

Course outline


Unit I


Unit II


Unit 3


unit 4


unit 5
distributed file system (unit?unit=59&lesson=69)

Error handling (unit?unit=59&lesson=70)

Quiz: assessment7 (assessment?name=72)

threads (unit?unit=59&lesson=73)

Quiz: assessment8 (assessment?name=76)

performance (unit?unit=59&lesson=77)

Quiz: assessment9 (assessment?name=78)

Terminals (unit?unit=59&lesson=79)

Quiz: assessment10 (assessment?name=80)

clocks (unit?unit=59&lesson=82)

Quiz: assessment11 (assessment?name=83)

Quiz: assessment12 (assessment?name=84)

assessment7
The due date for submitting this assignment has passed.
Due on 2021-12-21, 23:59 IST.

Assignment submitted on
2021-12-21, 22:36 IST
1) Starting address of the memory is stored in _______________ 1 point


Base register

Limit register

Linker

Relocation register

Yes, the answer is correct.

Score: 1
Accepted Answers:
Base register

2) Address binding is converting symbolic address to ______________ 1 point


Base address

limit address

linker address

relocation address

No, the answer is incorrect.

Score: 0
Accepted Answers:
relocation address

3) Philoshoper executes__________ function if he wants to grab a chopstick 1 point


Signal()

Wait()

seminit()

shm()

Yes, the answer is correct.

Score: 1
Accepted Answers:
Wait()

4) Interrupts cause OS to change CPU from current task to execute ______________ 1 point


Kernel routine

interrupt routine

primary task

user task

No, the answer is incorrect.

Score: 0
Accepted Answers:
Kernel routine

5) Switching CPU from state save of current process and state restore of different process is known as _________ 1 point


Context switching

Page replacement

Paging

Race condition

Yes, the answer is correct.

Score: 1
Accepted Answers:
Context switching

6) Process is identified with _______ 1 point


CID

PID

SSH

UID

No, the answer is incorrect.

Score: 0
Accepted Answers:
PID

7) Expansion of SS in SSHD 1 point


State save

State secure

secure save

secure shell

No, the answer is incorrect.

Score: 0
Accepted Answers:
secure shell

8) Fork() returns zero for _______ 1 point


both

child process

none

parent process

Yes, the answer is correct.

Score: 1
Accepted Answers:
child process

9) In windows API _____________ is used to create a process 1 point


Pipe()

cp()

createprocess()

fork()

Yes, the answer is correct.

Score: 1
Accepted Answers:
createprocess()

10) One of the parameters of createprocess() is 1 point


Commandline

Header

Tag

comment

No, the answer is incorrect.

Score: 0
Accepted Answers:
Commandline

FOLLOW US

(https://www.facebook.com/swayammoocs/)
(https://www.instagram.com/swayammhrd/)
(https://twitter.com/SWAYAMMHRD)

Privacy Policy (/privacy_policy) | Terms of Use (/terms_of_use) | Honor Code (/honor_code)

© 2022 SWAYAM. All rights reserved. Initiative by : MHRD ( Govt of India)


X


(/)
     

(/univ_details/SASTRA) About (/about)
| Notifications

(/mynotifications)
| [email protected]  (/profile)

SASTRA
»
Operating Systems

Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 5 - unit 5

Course outline


Unit I


Unit II


Unit 3


unit 4


unit 5
distributed file system (unit?unit=59&lesson=69)

Error handling (unit?unit=59&lesson=70)

Quiz: assessment7 (assessment?name=72)

threads (unit?unit=59&lesson=73)

Quiz: assessment8 (assessment?name=76)

performance (unit?unit=59&lesson=77)

Quiz: assessment9 (assessment?name=78)

Terminals (unit?unit=59&lesson=79)

Quiz: assessment10 (assessment?name=80)

clocks (unit?unit=59&lesson=82)

Quiz: assessment11 (assessment?name=83)

Quiz: assessment12 (assessment?name=84)

assessment8
The due date for submitting this assignment has passed.
Due on 2021-12-25, 23:59 IST.

Assignment submitted on
2021-12-25, 23:17 IST
1) Moving the process between disk and memory during the execution 1 point


Context switching

Page fault

Page replacement

Swapping

Yes, the answer is correct.

Score: 1
Accepted Answers:
Swapping

2) Binding the relocatable address to absolute address is known as _________ 1 point


Base address

Limit address

Linker and loader

Relocation address

Yes, the answer is correct.

Score: 1
Accepted Answers:
Linker and loader

3) If philosopher wants to release the chopstick ,he executes _________ 1 point


seminit()

shm()

signal()

wait()

Yes, the answer is correct.

Score: 1
Accepted Answers:
signal()

4) Context of process is represented in 1 point


Process context block

Process control block

Program context block

Program control block

Yes, the answer is correct.

Score: 1
Accepted Answers:
Process control block

5) Switching speed varies due to 1 point


All the above

Existence of special instructions

Memory speed

Number of registers

Yes, the answer is correct.

Score: 1
Accepted Answers:
All the above

6) ________process serves as the root parent for all the user process 1 point


PID1

PID2

PID3

PID4

Yes, the answer is correct.

Score: 1
Accepted Answers:
PID1

7) __________process is responsible for managing clients that are directly log on to the system 1 point


Login

Logout

Swaping

Switching

Yes, the answer is correct.

Score: 1
Accepted Answers:
Login

8) Fork() function returns positive number for _____________ 1 point


Parent process

both

child process

none

Yes, the answer is correct.

Score: 1
Accepted Answers:
Parent process

9) Process can cause termination of another process in windows using ______________ 1 point


endprocess()

quitprocess()

terminateprocess()

truncateprocess()

No, the answer is incorrect.

Score: 0
Accepted Answers:
terminateprocess()

10) Finding some page in a memory and if it is not really in use,swapping it out 1 point


Offset

Page fault

Page replacement

Pagemapping table

Yes, the answer is correct.

Score: 1
Accepted Answers:
Page replacement

FOLLOW US

(https://www.facebook.com/swayammoocs/)
(https://www.instagram.com/swayammhrd/)
(https://twitter.com/SWAYAMMHRD)

Privacy Policy (/privacy_policy) | Terms of Use (/terms_of_use) | Honor Code (/honor_code)

© 2022 SWAYAM. All rights reserved. Initiative by : MHRD ( Govt of India)


X


(/)
     

(/univ_details/SASTRA) About (/about)
| Notifications

(/mynotifications)
| [email protected]  (/profile)

SASTRA
»
Operating Systems

Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 5 - unit 5

Course outline


Unit I


Unit II


Unit 3


unit 4


unit 5
distributed file system (unit?unit=59&lesson=69)

Error handling (unit?unit=59&lesson=70)

Quiz: assessment7 (assessment?name=72)

threads (unit?unit=59&lesson=73)

Quiz: assessment8 (assessment?name=76)

performance (unit?unit=59&lesson=77)

Quiz: assessment9 (assessment?name=78)

Terminals (unit?unit=59&lesson=79)

Quiz: assessment10 (assessment?name=80)

clocks (unit?unit=59&lesson=82)

Quiz: assessment11 (assessment?name=83)

Quiz: assessment12 (assessment?name=84)

assessment9
The due date for submitting this assignment has passed.
Due on 2021-12-26, 23:59 IST.

Assignment submitted on
2021-12-26, 12:15 IST
1) Currently turn is 0 , P1 has entered CS & P0 wants to enter CS 1 point


Flag[1]=false

P0 stuck in while loop

P1 stuck in while loop

Turn[1]=0

No, the answer is incorrect.

Score: 0
Accepted Answers:
P0 stuck in while loop

2) The main purpose of virtual memory is 1 point


Both

It is mainly maintained on secondary memory

None

pieces are brought into main memory only when needed

Yes, the answer is correct.

Score: 1
Accepted Answers:
Both

3) Find the odd one from the selection of process to abort? 1 point


How long process has computed.

Priority of the process

Resources the process has used

Schedule method used

and how much longer to completion

No, the answer is incorrect.

Score: 0
Accepted Answers:
Schedule method used

4) Purpose of Rollback is 1 point


Return to some safe state restarts process for that state

Return to some safe state stops process for that state

Return to some unsafe state restarts process for that state

Return to some unsafe state stops process for that state
Yes, the answer is correct.

Score: 1
Accepted Answers:
Return to some safe state restarts process for that state

5) Rotational latency is 1 point


Additional time waiting for the disk to delete a the desired sector to the disk head

Additional time waiting for the disk to overwrite the desired sector to the disk head

Additional time waiting for the disk to rotate the desired sector to the disk head

Additional time waiting for the disk to write a sector to the disk head

Yes, the answer is correct.

Score: 1
Accepted Answers:
Additional time waiting for the disk to rotate the desired sector to the disk head

6) Seek time is 1 point


Time for the disk are to move the heads to the cylinder containing

Time for the disk are to move the heads to the cylinder containing the desired sector

Time for the disk are to move the heads to the cylinder containing the desired track

Time for the disk write a data on disk

the desired sector including rotational delay

Yes, the answer is correct.

Score: 1
Accepted Answers:
Time for the disk are to move the heads to the cylinder containing the desired sector
7) _______________is the total number of bytes transferred, divided by the total time between the first request for service and the 1 point
completion of last transfer


Disk bandwidth

Disk latency

Disk rotate

Seek time

Yes, the answer is correct.

Score: 1
Accepted Answers:
Disk bandwidth

8) The disk arm starts at one end of the disk, and moves toward the other end, servicing requests until it gets to the other end of 1 point
the disk, where the head movement is reversed and servicing continues


C-SCAN

Elevator

SCAN

SSTF

Yes, the answer is correct.

Score: 1
Accepted Answers:
SCAN

9) The disk arm starts at the first I/O request on the disk, and moves toward the last I/O request on the other end, servicing 1 point
requests until it gets to the other extreme I/O request on the disk, where the head movement is reversed and servicing continues


c-look

c-scan

look

scan
No, the answer is incorrect.

Score: 0
Accepted Answers:
look

10) Arm only goes as far as the last request in each direction, then reverses direction immediately, without first going all the way to 1 point
the end of the disk


c-look

c-scan

look

scan

No, the answer is incorrect.

Score: 0
Accepted Answers:
c-look

FOLLOW US

(https://www.facebook.com/swayammoocs/)
(https://www.instagram.com/swayammhrd/)
(https://twitter.com/SWAYAMMHRD)

Privacy Policy (/privacy_policy) | Terms of Use (/terms_of_use) | Honor Code (/honor_code)

© 2022 SWAYAM. All rights reserved. Initiative by : MHRD ( Govt of India)


X


(/)
     

(/univ_details/SASTRA) About (/about)
| Notifications

(/mynotifications)
| [email protected]  (/profile)

SASTRA
»
Operating Systems

Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 5 - unit 5

Course outline


Unit I


Unit II


Unit 3


unit 4


unit 5
distributed file system (unit?unit=59&lesson=69)

Error handling (unit?unit=59&lesson=70)

Quiz: assessment7 (assessment?name=72)

threads (unit?unit=59&lesson=73)

Quiz: assessment8 (assessment?name=76)

performance (unit?unit=59&lesson=77)

Quiz: assessment9 (assessment?name=78)

Terminals (unit?unit=59&lesson=79)

Quiz: assessment10 (assessment?name=80)

clocks (unit?unit=59&lesson=82)

Quiz: assessment11 (assessment?name=83)

Quiz: assessment12 (assessment?name=84)

assessment10
The due date for submitting this assignment has passed.
Due on 2021-12-28, 23:59 IST.
As per our records you have not submitted this assignment.

1) __________ copies the value of the holding register into the counter and then decrements the counter at each pulse from the 1 point
crystal


one shot mode

square wave mode

triangular wave mode

two shot mode

No, the answer is incorrect.

Score: 0
Accepted Answers:
one shot mode

2) Expansion of UTC 1 point


Universal Coordinated Time

Universal Corrected Time

Universe Corelated Time

Universe Current Time

No, the answer is incorrect.

Score: 0
Accepted Answers:
Universal Coordinated Time

3) Find the odd one from the list related to the approches in maintaining time of a day in system 1 point


Count in ticks

Maintain the time of day in seconds

Use a 64-bit counter

Use the controller

No, the answer is incorrect.

Score: 0
Accepted Answers:
Use the controller

4) ______________ provided to manually set the system clock and the backup clock and to synchronize the two clocks 1 point


Procedures

Sub programs

Utility programs

universal codes

No, the answer is incorrect.

Score: 0
Accepted Answers:
Utility programs

5) If a 500-MHz crystal is used then the counter pulse rate is 1 point


pulsed every 1 nsec

pulsed every 2 nsec

pulsed every 3 nsec

pulsed every 4 nsec

No, the answer is incorrect.

Score: 0
Accepted Answers:
pulsed every 2 nsec

6) Common purposes of performance evaluation 1 point


All the above

Performance monitoring

Performance projection

Selection evaluation

No, the answer is incorrect.

Score: 0
Accepted Answers:
All the above

7) Performance evaluation useful when 1 point


All the above

Deciding whether to buy or upgrade

Developing a system

System tuning

No, the answer is incorrect.

Score: 0
Accepted Answers:
All the above

8) Types of measures are 1 point


Absolute performance measures

Both a and b

None

Relative performance measures

No, the answer is incorrect.

Score: 0
Accepted Answers:
Both a and b

9) Time from when a job is submitted to and when a result is returned 1 point


Response time

System reaction time

Turnaround time

Waiting time

No, the answer is incorrect.

Score: 0
Accepted Answers:
Turnaround time

10) Record of system activity, typically a log of user or application requests to the operating system is known as 1 point


Monitoring

Profiling

tracing

tracking

No, the answer is incorrect.

Score: 0
Accepted Answers:
tracing

FOLLOW US

(https://www.facebook.com/swayammoocs/)
(https://www.instagram.com/swayammhrd/)
(https://twitter.com/SWAYAMMHRD)

Privacy Policy (/privacy_policy) | Terms of Use (/terms_of_use) | Honor Code (/honor_code)

© 2022 SWAYAM. All rights reserved. Initiative by : MHRD ( Govt of India)


X


(/)
     

(/univ_details/SASTRA) About (/about)
| Notifications

(/mynotifications)
| [email protected]  (/profile)

SASTRA
»
Operating Systems

Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 5 - unit 5

Course outline


Unit I


Unit II


Unit 3


unit 4


unit 5
distributed file system (unit?unit=59&lesson=69)

Error handling (unit?unit=59&lesson=70)

Quiz: assessment7 (assessment?name=72)

threads (unit?unit=59&lesson=73)

Quiz: assessment8 (assessment?name=76)

performance (unit?unit=59&lesson=77)

Quiz: assessment9 (assessment?name=78)

Terminals (unit?unit=59&lesson=79)

Quiz: assessment10 (assessment?name=80)

clocks (unit?unit=59&lesson=82)

Quiz: assessment11 (assessment?name=83)

Quiz: assessment12 (assessment?name=84)

assessment11
The due date for submitting this assignment has passed.
Due on 2021-12-30, 23:59 IST.

Assignment submitted on
2021-12-30, 22:55 IST
1) Record of system activity in kernel mode is known as_________ 1 point


Tracing

monitoring

profiling

tracking

No, the answer is incorrect.

Score: 0
Accepted Answers:
Tracing

2) Comparisons between members of the same family of computers is called as _______ 1 point


Tracing

microbenchmarking

profiling

timing

No, the answer is incorrect.

Score: 0
Accepted Answers:
timing

3) Microbenchmark are used to 1 point


All the above

Measures the time required to perform a specific operating system operation

Used for measuring small aspects of system performance

Used for system operations

Yes, the answer is correct.

Score: 1
Accepted Answers:
All the above

4) Mathematical representations of computer systems 1 point


Analysis model

Analytic model

Application model

Approximate model

Yes, the answer is correct.

Score: 1
Accepted Answers:
Analytic model

5) Expansion of SPEC is ___________ 1 point


Special Performance Examination Corporation

Special Performance valuation Corporation

Standard Performance Evaluation Corporation

Standard Performance examination communication

Yes, the answer is correct.

Score: 1
Accepted Answers:
Standard Performance Evaluation Corporation

6) Expansion of BAPCo is ___________ 1 point


Business Analytical performance corporation

Business Application Performance Corporation

Business Application Process Corporation

Business Application Process communication

Yes, the answer is correct.

Score: 1
Accepted Answers:
Business Application Performance Corporation

7) __________ used to approximate the instruction mix of an application or group of applications 1 point


Application programs

Benchmark programs

Synthetic programs

System programs

No, the answer is incorrect.

Score: 0
Accepted Answers:
Synthetic programs

8) Technique in which information about the current state of the system can affect arriving requests 1 point


Backward looping

Benchmarking

Forward looping

Reverse looping

No, the answer is incorrect.

Score: 0
Accepted Answers:
Forward looping

9) Arrival rate of a resource increasing as a result of ________ 1 point


Forward looping

backward looping

negative feedback

positive feedback

Yes, the answer is correct.

Score: 1
Accepted Answers:
positive feedback

10) RS-232 terminal pin connector count 1 point


10 or 20 pin connector

10 or 25 pin connector

9 or 20 pin connector

9 or 25 pin connector

Yes, the answer is correct.

Score: 1
Accepted Answers:
9 or 25 pin connector

FOLLOW US

(https://www.facebook.com/swayammoocs/)
(https://www.instagram.com/swayammhrd/)
(https://twitter.com/SWAYAMMHRD)

Privacy Policy (/privacy_policy) | Terms of Use (/terms_of_use) | Honor Code (/honor_code)

© 2022 SWAYAM. All rights reserved. Initiative by : MHRD ( Govt of India)


X


(/)
     

(/univ_details/SASTRA) About (/about)
| Notifications

(/mynotifications)
| [email protected]  (/profile)

SASTRA
»
Operating Systems

Announcements (announcements) About the Course (preview) Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 5 - unit 5

Course outline


Unit I


Unit II


Unit 3


unit 4


unit 5
distributed file system (unit?unit=59&lesson=69)

Error handling (unit?unit=59&lesson=70)

Quiz: assessment7 (assessment?name=72)

threads (unit?unit=59&lesson=73)

Quiz: assessment8 (assessment?name=76)

performance (unit?unit=59&lesson=77)

Quiz: assessment9 (assessment?name=78)

Terminals (unit?unit=59&lesson=79)

Quiz: assessment10 (assessment?name=80)

clocks (unit?unit=59&lesson=82)

Quiz: assessment11 (assessment?name=83)

Quiz: assessment12 (assessment?name=84)

assessment12
The due date for submitting this assignment has passed.
Due on 2021-12-31, 23:59 IST.
As per our records you have not submitted this assignment.

1) UART can send and receive characters ____________ 1 point


One at a time

Synchronous

always in one direction

simultaniously

No, the answer is incorrect.

Score: 0
Accepted Answers:
simultaniously

2) Find a odd one from the categories of RS-232 1 point


Dumb CRT terminals

Hardcopy terminals

Intelligent CRT terminals

Softcopy terminals

No, the answer is incorrect.

Score: 0
Accepted Answers:
Softcopy terminals

3) Memory-mapped displays are interfaced via a special memory called ___________ 1 point


Cache

DMA

Stack

Video RAM

No, the answer is incorrect.

Score: 0
Accepted Answers:
Video RAM

4) Character-oriented input software mode is also called as 1 point


Complicated mode

Line oriented mode

cooked mode

raw mode

No, the answer is incorrect.

Score: 0
Accepted Answers:
raw mode

5) Contention among all threads in a scope is known as __________ 1 point


Process Contention Scope

Program contention Scope

Software Contention Scope

System Contention Scope

No, the answer is incorrect.

Score: 0
Accepted Answers:
System Contention Scope

6) Find the odd one from the list of the purpose of distributed file system 1 point


File transmission

Reduce fragmentation

Resource administration

Security and protection

No, the answer is incorrect.

Score: 0
Accepted Answers:
File transmission

7) The name of a file does not reveal any hint of the file’s physical storage location is known as___________ 1 point


Location independency

Location notification

Location synchronization

location transparency

No, the answer is incorrect.

Score: 0
Accepted Answers:
location transparency

8) When the client sends a request to a server the server carries out the request,sends the reply,and then remove fromits internal 1 point
tables all information about the request


Asynchronous transmission

Stateful transmission

Stateless transmission

Synchronous transmission

No, the answer is incorrect.

Score: 0
Accepted Answers:
Stateless transmission

9) Approaches to handle errors in bad blocks 1 point


Both are correct

Both are wrong

Deal with them in the controller

Deal with them in the operating system
No, the answer is incorrect.

Score: 0
Accepted Answers:
Both are correct

10) The name of a file does not need to be changed when the file as physical storage location changes 1 point


Location independency

Location notification

Location synchronization

location transparency

No, the answer is incorrect.

Score: 0
Accepted Answers:
Location independency

FOLLOW US

(https://www.facebook.com/swayammoocs/)
(https://www.instagram.com/swayammhrd/)
(https://twitter.com/SWAYAMMHRD)

Privacy Policy (/privacy_policy) | Terms of Use (/terms_of_use) | Honor Code (/honor_code)

© 2022 SWAYAM. All rights reserved. Initiative by : MHRD ( Govt of India)

You might also like