Operating System Basics Questions and Answers

Take Exam

Operating System Basics questions with answers are among the most commonly asked in technical interviews and exams. This section covers core OS concepts like process management, memory allocation, file systems, and scheduling algorithms. Practicing programming questions and answers on operating systems helps strengthen your conceptual clarity and practical understanding of computer architecture. Frequently featured in GATE, TCS, Infosys, and Wipro placements, these MCQs provide a balanced mix of theoretical and applied knowledge. Clear explanations make this section an ideal resource for anyone preparing for system-related roles or competitive exams.

Operating System Basics

Showing 10 of 563 questions

341. A semaphone is initialized to

  • Negative inteer value
  • Positive integer value
  • Non-negative integer value
  • Non-positive integer value
Show Answer Report

342. The wait operation

  • Decrements the semaphore value
  • Increments the semaphore value
  • Fixes the semaphore value
  • None of these
Show Answer Report

343. In semaphore, the process executing the wait is blocked if

  • The semaphore value becomes negative
  • The semaphore value become positive
  • The semaphore value becomes non-positive
  • The semaphore value becomes non-negative.
Show Answer Report

344. In semaphre when the order of processes tht are waitnig to be removed from the queue is first out (FIFO) then it is called

  • Weak semaphore
  • Strong semaphore
  • Binary semaphore
  • None of these
Show Answer Report

345. In semaphore the process blocked by wait operation is unblocked if

  • Semaphore value becomes non-negative
  • Semaphore value becomes non-positive
  • Semaphore value is negative
  • Semaphore value is positive
Show Answer Report

346. The compction is the technique in memory management that is used  to over come

  • Internal fragmentation
  • External fragmentation
  • Both (A) and (B)
  • None of these
Show Answer Report

347. Physical address (absulute address) in memory partitioning is

  • Actual location in main memory
  • A reference to memory location independent of current assignment
  • A logical address
  • None of these
Show Answer Report

348. The frame

  • Can hold exactly one page of data
  • Can hold more than one page of data
  • Can hole two page of data
  • None of these
Show Answer Report

349. The page table that is maintained by operating system

  • Shows frame location for each page of the process.
  • Shows actual address in main memory
  • Referrer memory location to memory
  • None of these
Show Answer Report

350. The page table that is maintained by operating system

  • Shows frame location for each page of the process
  • Shows actual address in main memory
  • Referrer memory location to memory
  • None of these
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test