Course | Featuring Topics such as Programming Logic,
Software Development Lifecycles, Algorithms, and Data
Structures | Western Governors University
What is the primary purpose of memory management in an operating system?
- To facilitate network communication
- To manage the file system
- To efficiently allocate and manage system memory
- To handle user input ---------CORRECT ANSWER-----------------To efficiently allocate
and manage system memory
Which task or tasks are part of process management in an operating system?
- Formatting the hard drive
- Creating, executing, and terminating processes
- Handling peripheral devices
- Managing screen resolution ---------CORRECT ANSWER-----------------Creating,
executing, and terminating processes
What is the main goal of CPU scheduling in an operating system?
- Managing software updates
- Handling user authentication
- Increasing the size of the hard drive
,- Determining the order in which the CPU executes processes ---------CORRECT
ANSWER-----------------Determining the order in which the CPU executes processes
Which technique does an operating system use to extend physical memory by
using disk space?
- Caching
- Virtual memory
- Multitasking
- Batch processing ---------CORRECT ANSWER-----------------Virtual memory
Which of the following describes a process in the context of an operating system?
- A program in execution
- A static file on disk
- A system configuration setting
- A type of user account ---------CORRECT ANSWER-----------------A program in
execution
Which CPU scheduling algorithm selects the process with the smallest execution
time remaining?
- Priority scheduling
- Shortest job next (SJN)
- Round-robin (RR)
,- First-come, first-served (FCFS) ---------CORRECT ANSWER-----------------Shortest
job next (SJN)
Which state is a process in when it has completed its execution?
- Waiting
- Ready
- Running
- Terminated ---------CORRECT ANSWER-----------------Terminated
Which CPU scheduling algorithm assigns a fixed time slice to each process in the
queue?
- Shortest job first (SJF)
- First-come, first-served (FCFS)
- Round-robin (RR)
- Priority scheduling ---------CORRECT ANSWER-----------------Round-robin (RR)
Which statement describes paging in memory management?
- Allocating fixed-sized blocks of memory
- Translating logical addresses to physical addresses
- Dividing memory into variable-sized segments
- Swapping entire processes in and out of memory ---------CORRECT ANSWER-------
----------Allocating fixed-sized blocks of memory
, Which statement describes the purpose of a file system in an operating system?
- To handle error messages
- To organize and manage data storage on devices
- To manage user log-in credentials
- To provide internet connectivity ---------CORRECT ANSWER-----------------To
organize and manage data storage on devices
Which file extension is typically associated with a text file?
- .mp3
- .exe
- .jpg
- .txt ---------CORRECT ANSWER-----------------.txt
Which statement describes a binary file?
- A program source file with a .java extension
- A script file with a .sh extension
- An image file with a .png extension
- A file containing plain text ---------CORRECT ANSWER-----------------An image file
with a .png extension