Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 33 pages
Exam (elaborations)

Computer Science Operating Systems - CSOS-401

Document preview thumbnail
Preview 4 out of 33 pages

Computer Science Operating Systems - CSOS-401

Content preview

1. Which of the following is not a function of an operating system?

A. Memory management

B. File management

C. Hardware manufacturing

D. Process scheduling

Answer: C) Hardware manufacturing

Rationale: An operating system manages resources like memory, files,

and processes but does not manufacture hardware.



2. What is the main purpose of the operating system kernel?

A. To provide an interface between hardware and user

B. To control the input and output devices

C. To manage memory

D. To provide services for software applications

Answer: A) To provide an interface between hardware and user

,Rationale: The kernel directly interacts with the hardware and provides

a layer between user applications and the hardware.



3. Which of the following is a process scheduling algorithm?

A. Round Robin

B. First-Come-First-Served (FCFS)

C. Shortest Job Next (SJN)

D. All of the above

Answer: D) All of the above

Rationale: Round Robin, FCFS, and SJN are all types of process

scheduling algorithms.



4. Which of the following memory allocation strategies suffers from

fragmentation?

A. Paging

B. Segmentation

C. Both Paging and Segmentation

,D. None of the above

Answer: B) Segmentation

Rationale: Segmentation can suffer from both internal and external

fragmentation, while paging avoids fragmentation issues.



5. In a multithreaded process, which of the following is shared between

threads?

A. Registers

B. Stack

C. Heap

D. Program Counter

Answer: C) Heap

Rationale: Threads within a process share the heap, which is used for

dynamic memory allocation.



6. Which of the following is an example of a preemptive scheduling

algorithm?

, A. FCFS

B. SJN

C. Round Robin

D. Priority Scheduling (Non-preemptive)

Answer: C) Round Robin

Rationale: Round Robin is preemptive because it forces context

switches periodically, allowing fair time-sharing among processes.



7. What is the main goal of memory management in an operating

system?

A. To increase the speed of processes

B. To keep track of free and used memory

C. To protect the memory of different processes from one another

D. All of the above

Answer: D) All of the above

Rationale: Memory management aims to efficiently allocate memory,

keep track of its usage, and ensure process isolation.

Document information

Uploaded on
March 13, 2025
Number of pages
33
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
douglasmugwe82
5.0
(1)
Sold
2
Followers
0
Items
4239
Last sold
11 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions