Operating Systems & Computer Networks Flashcards
6 cards from real B.S.W.E. Bachelor of Software Engineering practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 6 Operating Systems & Computer Networks flashcards as text
What is a deadlock in operating systems?
Answer: A situation where processes wait indefinitely for resources held by each other
A deadlock occurs when two or more processes are permanently blocked, each waiting for resources that are held by the other.
What is paging in memory management?
Answer: Dividing memory into fixed-size frames and mapping process pages to them
Paging divides physical memory into fixed-size frames and process memory into equal-sized pages, allowing non-contiguous memory allocation.
What is the role of the kernel in an operating system?
Answer: Acting as the core that manages hardware resources and system calls
The kernel is the OS core that manages CPU, memory, and I/O resources, providing system calls as the interface between applications and hardware.
What does CIDR notation represent in networking?
Answer: A compact method to express IP addresses and their network prefix length
CIDR (Classless Inter-Domain Routing) notation expresses an IP address with a slash and prefix length (e.g., 192.168.1.0/24) to define address ranges.
What is context switching in an operating system?
Answer: Saving and restoring process state when the CPU switches between processes
Context switching saves the current process's state (registers, program counter) and restores another process's saved state to enable multitasking.
Which protocol automatically assigns IP addresses to devices on a network?
Answer: DHCP
DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses and network configuration parameters to devices when they connect.