










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
D686| INFORMATION TECHNOLOGY HIGH YIELD REVISION D686| INFORMATION TECHNOLOGY HIGH YIELD REVISION
Typology: Exams
1 / 18
This page cannot be seen from the preview
Don't miss anything!











What is the role of an operating system in modern computing? - Answer-Managing hardware resources and providing a user interface How do operating systems enhance the efficiency of computer systems? - Answer-By managing and coordinating hardware and software resources Which components are managed by an operating system? - Answer-CPU, memory, and device controllers What is the role of the operating system in handling I/O operations? - Answer- Managing data flow between hardware components What does dual mode operation in operating systems enable? - Answer-Differentiation between user mode and kernel mode operations How does an operating system prevent a single program from monopolizing the CPU? - Answer-By using a timer to interrupt programs Which type of operating system is suited for handling multiple programs running simultaneously? - Answer-Multiprogramming Which type of operating system allows multiple users to share resources effectively? - Answer-Distributed What is a significant limitation of operating systems in managing computer resources? - Answer-Susceptibility to security vulnerabilities How do operating systems protect data and maintain system integrity? - Answer-By isolating processes and controlling access to resources Which function does the file system service in an operating system primarily provide? - Answer-Managing data storage How does the error detection service contribute to system stability? - Answer-By constantly monitoring and correcting faults How does a graphical user interface (GUI) benefit users interacting with an operating system? - Answer-By allowing users to interact with the system using visual elements
Which aspect of system services enhances user experience in mobile devices? - Answer-Touch-screen interfaces Which role do system calls play in an operating system? - Answer-Acting as a bridge between applications and the kernel Which system call is used for file management? - Answer-ReadFile() Which characteristic defines a single-processor system? - Answer-Utilizing a single CPU core for executing instructions Which benefit do multiprocessor systems provide over single-processor systems? - Answer-Increased throughput and efficiency for tasks What is the purpose of system utilities in an operating system? - Answer-Facilitating program development and execution Which operating system structure separates functionality into multiple layers? - Answer-Layered structure Which vulnerability can be exploited by malicious actors to gain unauthorized access to operating systems? - Answer-Buffer overflows What is the primary purpose of asymmetric clustering in a clustered system? - Answer- To ensure one computer is always in hot-standby mode Which system service enables the operating system to interact with peripheral hardware, such as disk drives and printers? - Answer-Device management What is the role of a process in a computer system? - Answer-Executing user and system tasks Which state is a process when it is paused and is not currently being executed? - Answer-Waiting How does a context switch impact CPU performance? - Answer-It temporarily suspends the current process to switch to another. What is the purpose of scheduling queues in process management? - Answer-To manage the order of process execution What is the result of a fork() system call in Unix? - Answer-Creation of a child process Which mechanism allows processes to work together without interfering with each other? - Answer-Communication through interprocess mechanisms
What is the method used to determine which processes will be assigned to the CPU for execution? - Answer-CPU scheduling How does a preemptive scheduling algorithm differ from a non-preemptive scheduling algorithm? - Answer-Preemptive scheduling can interrupt a running process to assign the CPU to another process. Which criterion measures the total time taken from the submission of a process to its completion? - Answer-Turnaround time Which scheduling criterion aims to keep the CPU as busy as possible? - Answer- Utilization Which scheduling algorithm executes the process that arrives first? - Answer-First- come, first-served How does shortest job first scheduling determine the order of process execution? - Answer-By the length of the next CPU burst of each process Which scheduling algorithm allocates a fixed time slice to each process in the ready queue? - Answer-Round-robin How is real-time scheduling different from traditional scheduling algorithms? - Answer- Real-time scheduling ensures processes meet deadlines. Which type of scheduling uses multiple queues, each with its own scheduling algorithm?
The system administrator is analyzing a resource allocation graph (RAG) for a project at Merrilton Robotics. How can this graph help the system administrator understand potential deadlocks? - Answer-By illustrating resource requests and allocations Jack is tasked with implementing a strategy at Quiet Flag Industries to prevent deadlocks in their manufacturing control system. Which strategy should Jack use to ensure a process does not retain resources while requesting another? - Answer-Hold and wait prevention Hannah is using the banker's algorithm to avoid deadlocks in her software at Rusty RoboTech. How does this algorithm help her? - Answer-By checking if resource allocation leaves the system in a safe state before proceeding Daniel is responsible for monitoring resource usage on his company's servers. Which method should be used to identify potential deadlocks in the system? - Answer- Deadlock detection Lucas is developing a recovery strategy after a deadlock has been detected in the inventory management system at Kretsmart. What should the strategy include? - Answer-Terminating one or more deadlocked processes to break the cycle At West Oak Cove School, Li needs to resolve a deadlock by using resource preemption. Which action should Li take? - Answer-Force a process to release a resource it holds Omar is working on a database management system at Seawaibee that frequently experiences deadlocks due to resource allocation. Which technique should Omar use to resolve this issue? - Answer-Circular wait prevention What are the two primary types of parallelism used in multicore programming? - Answer-Data parallelism and task parallelism Which classic synchronization problem emphasizes the importance of semaphores or mutex locks to coordinate the access to shared data to prevent race conditions? - Answer-Producer-consumer problem What is a disadvantage of using busy waiting for process synchronization? - Answer- High resource utilization What happens when the CPU is free in a first-come, first-served (FCFS) scheduling system? - Answer-The process at the head of the queue is selected.
What is the function of a page table in the context of paging? - Answer-To store frame addresses How does segmentation improve memory management? - Answer-By allowing different segments What is a limitation of segmentation in memory management? - Answer-It causes external fragmentation. How does segmented paging enhance memory management compared to traditional segmentation? - Answer-By avoiding fragmentation What role does a segment table play in segmented paging? - Answer-Stores segment bases What is the purpose of swapping in memory management? - Answer-To move inactive processes How does swapping differ in mobile systems compared to traditional systems? - Answer-Often not supported due to constraints What is a backing store in the context of swapping? - Answer-Storage for swapped-out processes How does swapping help in managing memory in a multitasking environment? - Answer-Handling more processes than physical memory What is an advantage of using virtual memory in an operating system? - Answer-Allows programs to use more memory How does demand paging optimize memory usage? - Answer-Loads only the necessary parts of a program What happens when a process tries to access a page that is not currently in memory? - Answer-A page fault occurs. What is pure demand paging? - Answer-Loading pages only when needed Which mechanism is used to handle page faults efficiently in demand paging? - Answer-Valid-invalid bit What is the purpose of page replacement in memory management? - Answer-Replace less frequently used pages
Which algorithm replaces the page not used for the longest time? - Answer-Least recently used What is a disadvantage of the optimal page replacement algorithm? - Answer-It requires future knowledge of reference strings. How does the translation look-aside buffer (TLB) enhance memory management? - Answer-By speeding up address translation What is thrashing in memory management? - Answer-When the CPU spends excessive time swapping pages What is the term for the wasted memory between allocated partitions in fixed partitioning memory management? - Answer-External fragmentation Which strategy involves allocating memory by selecting the earliest available block that is large enough to fit a process? - Answer-First-fit What is the advantage of the first-fit allocation strategy over the worst-fit? - Answer-It is generally faster. What is the goal of compaction in memory management? - Answer-To place available memory in one large block What is the purpose of demand paging in memory management systems? - Answer-To load program parts into memory only when required, conserving memory space What does physical memory refer to in a computer system? - Answer-The tangible RAM where data and instructions are stored What is the smallest logical storage unit in a computer system? - Answer-File Which access method uses a block number as a parameter to read and write records? - Answer-Direct How is direct access different from sequential access? - Answer-It allows reading and writing records in any order. Which directory structure allows users to create their own subdirectories and organize files accordingly? - Answer-Tree-structured What is a single-level directory structure's main limitation? - Answer-It leads to confusion when the number of files increases.
How do NAND semiconductors enhance storage systems? - Answer-By providing higher storage density Which disk scheduling algorithm aims to minimize the seek time by choosing the request closest to the current head position? - Answer-Shortest seek time first (SSTF) What is an advantage of the SCAN disk scheduling algorithm? - Answer-Reduces the average seek time What is the purpose of error detection mechanisms in mass storage devices? - Answer-To ensure data integrity Which technique is used for error detection in storage devices? - Answer-Parity checking What is the purpose of drive formatting? - Answer-To prepare the drive for data storage What is the purpose of partitioning a drive? - Answer-Divide the drive into separate logical sections Which storage attachment method connects storage devices directly to a server or workstation? - Answer-Host-attached storage What is an advantage of using a storage area network (SAN)? - Answer-It provides centralized storage management. What is the function of the logical file system layer in a layered file system? - Answer- Ensuring the logical structure of the file system Which structure represents the hierarchical organization of files within a file system? - Answer-Directory structure What does a file-control block (FCB) store? - Answer-File attributes and metadata Which structure is involved in the process of opening a file in a file system? - Answer- File-control block Which structure does the file system use to keep track of open files in memory? - Answer-In-memory file table What is the purpose of a free-space list in a file system? - Answer-To keep track of available disk space
Which technique does linked allocation use to manage file storage? - Answer-Using pointers to connect file blocks What is a disadvantage of contiguous allocation for file storage? - Answer-External fragmentation Which allocation method manages file blocks using a linked list? - Answer-Linked allocation What is the purpose of an index in indexed allocation? - Answer-To store pointers to file blocks Which process involves attaching a file system to a directory in an operating system? - Answer-Mounting a file system Which step is involved in the file-system mounting process? - Answer-Checking for a valid file system What is the difference between a "raw" and a "cooked" partition? - Answer-Raw partitions contain no file system, while cooked partitions do. What does a bootloader need to know before booting an operating system? - Answer- The file system type of the root partition Which feature does the NTFS file system provide? - Answer-Support for journaling Which file system was the first to introduce journaling in Linux? - Answer-EXT Which advantage does the EXT4 file system have over EXT3? - Answer-Improved performance Which characteristic is shared by both NTFS and EXT4 file systems? - Answer-Both provide journaling. What does the master file table (MFT) in NTFS resemble in Unix-derived file systems? - Answer-Inodes Which feature is unique to the NTFS file system? - Answer-Support for multiple data streams Which term describes a number indicating the position of a block of data in a file, starting from 0 for the initial block? - Answer-Block offset
What ensures system integrity and data preservation in computer systems? - Answer- Ensuring security How does a breach of confidentiality differ from a breach of integrity? - Answer-A breach of confidentiality involves unauthorized reading of data, while a breach of integrity involves modifying data. Which method allows an attacker to intercept and alter communication between two parties? - Answer-Man-in-the-middle attack How does the four-layered security model protect systems? - Answer-By securing each layer What disguises itself as legitimate software to perform harmful actions? - Answer- Trojan horse How does a logic bomb operate within a system? - Answer-It activates under specific conditions. Which type of network attack involves taking control of an active communication session? - Answer-Session hijacking What is the goal of a denial-of-service attack? - Answer-Disrupting system use Which technique ensures data has not been altered during transmission? - Answer- Digital signatures What converts data into a code to prevent unauthorized access? - Answer-Encryption What is a goal of protection mechanisms in operating systems? - Answer-To prevent unauthorized access How does the principle of least privilege contribute to system security? - Answer-By giving users only the access they need Which protection ring has the highest level of privilege in a modern operating system? - Answer-Ring 0 What defines the set of resources a process can access in a protection domain? - Answer-Access rights How does the principle of defense in depth enhance system security? - Answer-By implementing multiple layers of security
How does role-based access control (RBAC) enhance security? - Answer-By assigning specific privileges based on job functions How does mandatory access control (MAC) manage permissions? - Answer-It enforces strict system-wide rules. What is the role of protection domains in an operating system? - Answer-To organize resources and enforce access control Which technique involves creating a set of pairs of domains and their access rights for an object? - Answer-Access lists Which method is used to allow the addition of new rights and removal of some rights in an access matrix? - Answer-Owner Which role does an operating system play in providing a user interface for interacting with a computer? - Answer-It provides a graphical or command-line interface for user interaction with software and hardware. How does an operating system ensure the security and stability of a computer system?
How does the first-fit strategy allocate memory? - Answer-To the first hole that is big enough How is memory allocated when the memory system is suffering from external fragmentation? - Answer-In noncontiguous spaces How does fixed-sized block allocation impact memory management? - Answer-It causes internal fragmentation. What does the limit register contain in the context of memory protection? - Answer-The size of address space How does virtual memory allow for a larger address space, enabling more efficient program execution when a program's size is restricted by physical memory? - Answer- It expands the address space beyond physical memory limits, aiding in simultaneous program operation. What characterizes thrashing in an operating system? - Answer-A situation where a computer's processing power is diverted to excessive paging activity instead of executing useful tasks, caused by insufficient memory frames What is the purpose of managing the number of processes executing simultaneously in the context of controlling the system load and preventing thrashing? - Answer-To avoid overloading memory resources and reduce the likelihood of thrashing What is the primary goal of the working-set model in predicting and allocating memory resources for processes? - Answer-To minimize page faults and prevent thrashing by monitoring and adjusting memory frame allocations Which term describes a structure in directories that does not contain repeating paths? - Answer-Loop-free graph How do the chmod and ln Linux commands help system administrators? - Answer-By manipulating file permissions and creating symbolic links What does the command du show in Linux? - Answer-Displays disk usage of files and directories Where is the location in a file where the next read or write operation will occur? - Answer-File pointer position What is the method of accessing file content that allows reading or writing based on a position that is adjusted from the current location? - Answer-Relative access
What is the significance of interrupt priority level in handling interrupts? - Answer-It indicates the order of interrupt handling. What is the purpose of an interrupt vector in operating systems? - Answer-To index interrupt addresses What is the role of a first-level interrupt handler in some operating systems? - Answer- To queue interrupts for processing Which device controller is installed in a host bus port to allow the connection of devices to the host? - Answer-Host bus adapter (HBA) How does the operating system identify devices on the bus during boot time? - Answer- It probes the hardware buses to determine connected devices. What is the term for the time it takes the read-write head of a hard disk drive (HDD) to position over the desired track? - Answer-Seek time What is the first-come, first-served (FCFS) disk scheduling algorithm? - Answer-A method that services requests in the order they were received What is the main difference between network-attached storage (NAS) and cloud storage in terms of access? - Answer-NAS is accessed as a file system or raw block device, while cloud storage is application programming interface (API) based. Which technology is commonly used for host-attached storage in a modern consumer hard drive? - Answer-Serial ATA (SATA) What is the purpose of the thin protective layer on disk platters in a hard disk drive (HDD)? - Answer-To protect against head crashes What is typically stored in a master file table in an NTFS file system? - Answer-Volume details and file metadata What is the purpose of a file system? - Answer-To organize and manage files on secondary storage devices What is one advantage of using indexed allocation for managing files on storage devices in operating systems? - Answer-Efficient access to file data through index blocks What is a single indirect block in the Unix File System? - Answer-A block that contains pointers to data blocks What is a common file system partition type? - Answer-Swap