Processes, threads, scheduling, memory, deadlocks, file systems.
این مجموعه فلشکارت برای دانشجویان مهندسی کامپیوتر و داوطلبان مصاحبههای تخصصی طراحی شده است تا مفاهیم کلیدی سیستمعامل را مرور کنند. محتوای این کارتها شامل مباحثی مانند فرایندها، نخها، الگوریتمهای زمانبندی، مدیریت حافظه، بنبستها و سیستمهای فایل است.
رویکرد این کارتها پرسشهای کوتاه و کلیدی در روی کارت و پاسخهای دقیق و فنی در پشت آن است. با استفاده از سیستم تکرار با فاصله در یادمد، میتوانید این مفاهیم را بهطور مؤثر در حافظه بلندمدت خود تثبیت کنید.
۱۲ کارت اول از ۸۰ — رو و پشت هر کارت
What is a process?
An instance of a program in execution, consisting of executable code, data, stack, heap, and an operating system control block.
What is a thread?
The smallest unit of execution within a process, sharing the same address space and resources with other threads in the same process.
How do processes and threads differ in resource sharing?
Processes are independent and have separate address spaces, whereas threads within the same process share the same memory and file descriptors.
What is process context switching?
The procedure of saving the state of a currently running process and loading the saved state of a new process to allow execution to continue.
Why is a thread context switch generally faster than a process context switch?
Threads share the same virtual memory space, so the memory management unit and page tables do not need to be reloaded during a thread switch.
What is user-level thread management?
Threads managed entirely by user-space libraries without kernel intervention, offering fast creation and switching but inability to leverage multi-core parallelism natively.
What are kernel-level threads?
Threads directly managed by the operating system kernel, allowing multiple threads of a single process to be scheduled across multiple CPU cores.
What is CPU scheduling?
The operating system mechanism that decides which process or thread in the ready queue gets executed by the CPU next.
Define preemptive scheduling.
A scheduling strategy where the operating system can forcibly interrupt a currently running process and allocate the CPU to another task.
Define non-preemptive scheduling.
A scheduling strategy where a process keeps running until it voluntarily yields the CPU or switches to a waiting state.
What is CPU burst time?
The total amount of time a process continuously uses the CPU without performing I/O operations.
What is the primary drawback of First-Come, First-Served (FCFS) scheduling?
The convoy effect, where short processes are delayed behind long CPU-bound processes, leading to high average waiting times.
این مجموعه برای دانشجویان ترمهای دانشگاهی مرتبط و کسانی که خود را برای مصاحبههای شغلی مهندسی نرمافزار آماده میکنند کاربردی است.
خیر، این مجموعه شامل مفاهیم استاندارد و عمومی سیستمعامل است و به ویرایش خاصی محدود نمیشود.
پیشنهاد میشود روزانه چند دقیقه وقت بگذارید و کارتهای مرور شده را بر اساس سیستم تکرار با فاصله یادمد بررسی کنید.
هنوز کسی آزمون نداده؛ اولین نفر باش.
تا ۲۰ سؤال چهارگزینهای از همین دسته، ۳۰ ثانیه برای هر سؤال. خودت را بسنج و رتبهات را میان بقیه ببین. هر نفر فقط یکبار میتواند شرکت کند.
برای شرکت در آزمون وارد شو