PA Flashcards
What is an operating system?
An application that runs on bare hardware
An application that runs within a kernel
Software that runs on bare hardware
Software that runs within a kernel
Software that runs on bare hardware
Which type of CPU instruction sets are supported by the CPU user mode?
Both privileged and non-privileged
Neither privileged nor non-privileged
Only privileged
Only non-privileged
Only non-privileged
What are two locations where firmware can be stored?
Choose 2 answers.
Flash memory
Read-only memory (ROM)
Cache memory
Dynamic random-access memory (DRAM)
Flash memory
Read-only memory (ROM)
Which generation of computers were large-scale integrated circuits used to develop personal computers for desktop and laptop operating systems?
2nd
3rd
4th
5th
4th
A company requires a computing environment that supports high-volume data processing and the management of a large amount of storage.
Which computing environment should the company use?
Desktop
Server
Laptop
Mainframe
Mainframe
What is a system service?
A component of an operating system responsible for memory management
A set of files used to store and retrieve operating system configuration information
A program designed for end-user execution in the operating system
An application included with an operating system to provide functionality beyond the kernel
An application included with an operating system to provide functionality beyond the kernel
A company needs to determine when a computer experiences a microprocessor interrupt that is the result of a division by zero.
Which operating system service should be used?
Communication
Error detection
Logging
Deadlock detection
Error detection
Which interface allows combining multiple programs using the output from one as the input to another?
Graphical user interface (GUI)
Voice-user interface (VUI)
Command-line interface (CLI)
Natural user interface (NUI)
Command-line interface (CLI)
Which command is used to determine the number of lines in a file?
copy
dir
wc
del
wc
Which cyberattack prevents a legitimate user from accessing an application in a timely manner?
Denial-of-service
Information disclosure
Unauthorized use
Information destruction
Denial-of-service
Which operating environment is used to run an embedded system?
Mainframe
Server
Desktop
Real-time
Real-time
Which component is responsible for running and suspending tasks in a multitasking operating system?
Memory manager
Network manager
Process manager
Storage manager
Process manager
What is a thread?
System component allowed to run a privileged instruction set
Part of a process that can run concurrently with other parts
Application providing a user interface to system calls
Instantiation of a process with a unique identifier
Part of a process that can run concurrently with other parts
What are the two properties of threads?
Choose 2 answers.
Using multiple processes within a thread is more efficient than using multiple threads
Using multiple threads within a process is more efficient than using multiple processes
User-level threads are faster to manage than kernel-level threads
Kernel-level threads are faster to manage than user-level threads
Using multiple threads within a process is more efficient than using multiple processes
User-level threads are faster to manage than kernel-level threads
Which resource is virtualized by multitasking?
Disk
Memory
Network
Processor
Processor
Which technique is used to execute several jobs by time-sharing among them?
Multitasking
Multiprogramming
Abstraction
Virtualization
Multitasking
What is a computer program in execution called?
Trap
Thread
Task
Process
Process
What is the relationship between threads, processes, and global data?
All threads within a process share the same copy of global data.
All processes within a thread share the same copy of global data.
Each thread within a process has its own copy of global data.
Each process within a thread has its own copy of global data.
All threads within a process share the same copy of global data.
What does each thread of a multi-threaded process use to access shared code?
Kernel
Application
Program counter
Stack pointer
Program counter
What is a critical section?
An area of code that cannot be entered by a process while another process is executing a corresponding area of the code.
An area of code that cannot be modified by the operating system.
An area of code that can be entered by a process while another process is executing a corresponding area of the code.
An area of code that can be modified by the operating system.
An area of code that cannot be entered by a process while another process is executing a corresponding area of the code.
How do threads differ from processes?
Threads may contain multiple processes.
Threads execute portions of a program within a process.
Processes are faster to destroy than threads.
Processes execute portions of a program within a thread.
Threads execute portions of a program within a process.
Which scheduler is used to decide the ready processes that should run next on the CPU?
Long-term
Short-term
Preemptive
Non-preemptive
Short-term
A process is not attempting to enter the critical section (CS), but it is preventing other processes from entering the CS.
Which situation was caused by this process?
Concurrency
Starvation
Lockout
Deadlock
Lockout
Which step is completed first during an input/output (I/O) call?
The direct memory access controller transfers data to kernel memory
The interrupt handler signals device driver
The process is placed on the wait queue
The device driver allocates kernel buffer space
The process is placed on the wait queue