100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CNIT 176 1-15 MCQ QUESTIONS AND ANSWERS $13.99   Add to cart

Exam (elaborations)

CNIT 176 1-15 MCQ QUESTIONS AND ANSWERS

 7 views  0 purchase
  • Course
  • CNIT 176
  • Institution
  • CNIT 176

CNIT 176 1-15 MCQ QUESTIONS AND ANSWERS

Preview 4 out of 33  pages

  • October 22, 2024
  • 33
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CNIT 176
  • CNIT 176
avatar-seller
Greaterheights
CNIT 176 1-15
MCQ QUESTIONS
AND ANSWERS
1. What is multiprogramming?
A) Running multiple processors simultaneously
B) Allocating memory to a single program
C) Keeping multiple programs in main memory at the same time
D) Running a single program on multiple computers - Answers-C

2. What is a frame in memory management?
A) A variable-sized portion of main memory
B) A fixed size portion of main memory that holds a process page
C) A temporary storage for CPU instructions
D) A graphical user interface component - Answers-B

3. What was the first operating system approach?
A) Multiprogramming
B) Time-sharing
C) Real-time processing
D) Batch processing - Answers-D

4. What is a page in memory management?
A) A variable-sized portion of a process
B) A fixed size portion of a process that is stored into a memory frame
C) The entire memory allocated to a process
D) A segment of the hard drive - Answers-B

5. What does time sharing in operating systems allow?
A) Multiple users to interact with a computer at the same time

,B) Only one user to interact with the computer at a time
C) Users to share physical hardware
D) Only system processes to run simultaneously - Answers-A

6. What is swapping in memory management?
A) The act of switching off the computer
B) Switching tasks between different CPUs
C) Transferring data between two hard drives
D) The act of bringing in a page from secondary memory, often causing another page to
be written back to secondary memory - Answers-D

7. What is thrashing in memory management?
A) Efficient processing of multiple pages
B) Inefficient processing caused by constant page swaps
C) Storing all pages in main memory
D) Defragmenting the hard drive - Answers-B

8. How many programs are in memory in single contiguous memory management?
A) Only 1 program
B) 2 programs - operating system and application program
C) Multiple programs in a queue
D) No programs, only the operating system - Answers-A

9. What is a process control block (PCB)?
A) A program loaded into memory
B) A data structure used by the operating system to manage information about a
process
C) A memory partition
D) A hardware device driver - Answers-B

10. How is memory divided in fixed partitions?
A) Dynamically as needed
B) Into fixed number of partitions in which programs can be loaded
C) Into random segments
D) By the user manually - Answers-B

11. What occurs during a context switch?
A) The system shuts down
B) The exchange of register information
C) A new program is loaded
D) The memory is cleared - Answers-B

12. In which scheduling algorithm are processes moved to the CPU in the order they
arrive in the running state?
A) Shortest job next
B) Round robin

,C) First come, first serve
D) Preemptive scheduling - Answers-C

13. In the shortest job next scheduling algorithm, which process is moved into the
running state first?
A) The process with the longest estimated running time
B) The process with the shortest estimated running time
C) The process with the highest priority
D) The process that arrived first - Answers-B

14. How are partitions created in dynamic partition memory management?
A) As needed to fit the programs waiting to be loaded
B) At system startup
C) Only once when the system is installed
D) By the user manually - Answers-A

15. In non-preemptive scheduling, when does the currently executing process give up
the CPU?
A) Voluntarily
B) When the system decides
C) At a fixed time interval
D) When a higher priority process arrives - Answers-A

16. In preemptive scheduling, who decides to favor another process?
A) The user
B) The currently executing process
C) The operating system
D) The hardware - Answers-C

17. What is turnaround time in process scheduling?
A) The time taken to switch between processes
B) The amount of time between when a process arrives in the ready state the first time
and when it exits the running state for the last time
C) The time a process spends in the waiting state
D) The time taken for a process to execute an instruction - Answers-B

18. What happens in the round robin scheduling algorithm?
A) Each process runs until it finishes
B) Each process runs for a specified time slice and then moves to the ready state to
wait its turn if not finished
C) Processes run based on their priority
D) Only one process runs at a time until the system is restarted - Answers-B

19. What does a bounds register hold?
A) The base address of the current partition
B) The process ID

, C) The memory address of the next process
D) The length of the current partition - Answers-D

20. What is a quantum in CPU scheduling?
A) The time taken to complete a process
B) The time each process receives before being preempted and returned to the ready
state to allow another process its turn
C) The number of processes in the ready state
D) The number of instructions executed per cycle - Answers-B

21. In the first fit memory allocation algorithm, where is the program allocated?
A) To the smallest partition big enough to hold it
B) To the largest partition available
C) To the first partition big enough to hold it
D) To a dynamically created partition - Answers-C

22. In the best fit memory allocation algorithm, where is the program allocated?
A) To the smallest partition big enough to hold it
B) To the largest partition available
C) To the first partition big enough to hold it
D) To a dynamically created partition - Answers-A

23. In the worst fit memory allocation algorithm, where is the program allocated?
A) To the smallest partition big enough to hold it
B) To the first partition big enough to hold it
C) To the largest partition available
D) To a dynamically created partition - Answers-C

24. What is the role of the BIOS?
A) Manages the operating system
B) Where hardware meets software
C) Allocates memory to processes
D) Controls the network interface - Answers-B

25. What is a partition table?
A) A list of files in a partition
B) A segment of the operating system
C) An index of up to four partitions that exist on the same disk, a table of contents
D) A backup of the file system - Answers-C

26. What does the Master Boot Record (MBR) do?
A) Manages network connections
B) Controls hardware devices
C) Stores user data
D) Identifies how and where the OS is located so that it can be loaded into main RAM -
Answers-D

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Greaterheights. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75323 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.99
  • (0)
  Add to cart