FSc · Computer Science (Grade 12)

Unit 1 MCQs

50 solved multiple choice questions with answers.

Q1. An operating system is a

  1. AHardware
  2. BSystem software
  3. CUtility only
  4. DApplication software
Show answer
Answer: B. System software
Report a mistake

Q2. The main function of an operating system is

  1. AOnly file management
  2. BResource management
  3. COnly memory management
  4. DOnly process management
Show answer
Answer: B. Resource management
Report a mistake

Q3. Which of the following is an example of a single-user operating system?

  1. AUnix
  2. BMS-DOS
  3. CWindows Server
  4. DLinux (multi-user)
Show answer
Answer: B. MS-DOS
Report a mistake

Q4. A multi-user operating system allows

  1. ANo user interaction
  2. BOnly one user at a time
  3. CMultiple users to work simultaneously
  4. DOnly batch processing
Show answer
Answer: C. Multiple users to work simultaneously
Report a mistake

Q5. Process management in OS deals with

  1. AOnly memory allocation
  2. BOnly file storage
  3. CCreation, scheduling and termination of processes
  4. DOnly device control
Show answer
Answer: C. Creation, scheduling and termination of processes
Report a mistake

Q6. A process is

  1. AHardware
  2. BA program stored on disk
  3. CA program in execution
  4. DA file
Show answer
Answer: C. A program in execution
Report a mistake

Q7. The state of a process that is waiting for some event is called

  1. ARunning
  2. BNew
  3. CWaiting / Blocked
  4. DReady
Show answer
Answer: C. Waiting / Blocked
Report a mistake

Q8. Multitasking means

  1. ANo task execution
  2. BExecuting one task only
  3. CExecuting multiple tasks concurrently
  4. DOnly batch jobs
Show answer
Answer: C. Executing multiple tasks concurrently
Report a mistake

Q9. Multithreading allows

  1. AMultiple threads within a single process
  2. BMultiple processes only
  3. CNo concurrent execution
  4. DOnly one thread per process
Show answer
Answer: A. Multiple threads within a single process
Report a mistake

Q10. Multiprogramming is

  1. ANo memory sharing
  2. BKeeping multiple programs in memory at the same time
  3. COnly time-sharing
  4. DRunning one program only
Show answer
Answer: B. Keeping multiple programs in memory at the same time
Report a mistake

Q11. Which of the following is a function of an operating system?

  1. AProcess management
  2. BFile management
  3. CMemory management
  4. DAll of these
Show answer
Answer: D. All of these
Report a mistake

Q12. The OS acts as an interface between

  1. AHardware and software only
  2. BUser and application only
  3. CNone
  4. DUser and hardware
Show answer
Answer: D. User and hardware
Report a mistake

Q13. Examples of operating systems include

  1. AWindows, Linux, macOS, Android
  2. BChrome, Firefox
  3. CMS Word, Excel
  4. DOnly Windows
Show answer
Answer: A. Windows, Linux, macOS, Android
Report a mistake

Q14. Batch operating system is suitable for

  1. AReal-time systems
  2. BMobile systems only
  3. CJobs that do not require user interaction
  4. DInteractive systems
Show answer
Answer: C. Jobs that do not require user interaction
Report a mistake

Q15. Time-sharing operating system

  1. AAllows multiple users to share system time
  2. BIs used only for batch jobs
  3. CHas no scheduling
  4. DAllows only one user
Show answer
Answer: A. Allows multiple users to share system time
Report a mistake

Q16. Real-time operating system is used in

  1. ASystems requiring immediate response (e.g., air traffic control)
  2. BNone
  3. COnly office work
  4. DOnly web browsing
Show answer
Answer: A. Systems requiring immediate response (e.g., air traffic control)
Report a mistake

Q17. Distributed operating system

  1. AIs single-user only
  2. BHas no network support
  3. CManages a group of independent computers
  4. DManages only one computer
Show answer
Answer: C. Manages a group of independent computers
Report a mistake

Q18. Network operating system

  1. AProvides services over a network
  2. BIs single-user only
  3. CWorks only offline
  4. DHas no file sharing
Show answer
Answer: A. Provides services over a network
Report a mistake

Q19. The process control block (PCB) contains

  1. AOnly program code
  2. BOnly files
  3. CProcess state, program counter, registers, etc.
  4. DOnly data
Show answer
Answer: C. Process state, program counter, registers, etc.
Report a mistake

Q20. The five states of a process are

  1. AStart and Stop
  2. BOnly Ready and Running
  3. CNew, Ready, Running, Waiting, Terminated
  4. DOnly New and Terminated
Show answer
Answer: C. New, Ready, Running, Waiting, Terminated
Report a mistake

Q21. Context switching is

  1. AOnly memory allocation
  2. BCreating a new process
  3. CDeleting a process
  4. DSaving and restoring the state of a process
Show answer
Answer: D. Saving and restoring the state of a process
Report a mistake

Q22. CPU scheduling decides

  1. AWhich process runs next
  2. BWhich device to use
  3. CWhich file to open
  4. DMemory size
Show answer
Answer: A. Which process runs next
Report a mistake

Q23. FCFS scheduling stands for

  1. AFast Come Fast Served
  2. BFirst Come First Served
  3. CFirst Come First System
  4. DNone
Show answer
Answer: B. First Come First Served
Report a mistake

Q24. Round Robin scheduling is suitable for

  1. ASingle-user only
  2. BReal-time only
  3. CBatch systems only
  4. DTime-sharing systems
Show answer
Answer: D. Time-sharing systems
Report a mistake

Q25. A thread is

  1. AA lightweight process
  2. BA heavy process
  3. CA file
  4. DHardware
Show answer
Answer: A. A lightweight process
Report a mistake

Q26. Advantage of multithreading is

  1. ASlower execution
  2. BHigher memory usage only
  3. CBetter resource utilization and responsiveness
  4. DNo concurrency
Show answer
Answer: C. Better resource utilization and responsiveness
Report a mistake

Q27. Memory management techniques include

  1. AOnly processes
  2. BPartitioning, Paging, Segmentation
  3. COnly devices
  4. DOnly files
Show answer
Answer: B. Partitioning, Paging, Segmentation
Report a mistake

Q28. Virtual memory allows

  1. AOnly small programs
  2. BOnly RAM usage
  3. CExecution of processes larger than physical memory
  4. DNo memory expansion
Show answer
Answer: C. Execution of processes larger than physical memory
Report a mistake

Q29. Paging divides memory into

  1. AVariable-size segments
  2. BFixed-size pages
  3. CNone
  4. DOnly one block
Show answer
Answer: B. Fixed-size pages
Report a mistake

Q30. Segmentation divides memory into

  1. AFixed-size pages
  2. BNone
  3. CVariable-size segments
  4. DOnly one block
Show answer
Answer: C. Variable-size segments
Report a mistake

Q31. File management in OS deals with

  1. AOnly memory allocation
  2. BCreating, deleting, reading, writing files
  3. COnly device control
  4. DOnly process creation
Show answer
Answer: B. Creating, deleting, reading, writing files
Report a mistake

Q32. Directory structure can be

  1. ASingle-level, Two-level, Tree-structured
  2. BOnly single-level
  3. CNone
  4. DOnly flat
Show answer
Answer: A. Single-level, Two-level, Tree-structured
Report a mistake

Q33. Device management involves

  1. AOnly memory
  2. BOnly CPU scheduling
  3. COnly files
  4. DControlling and coordinating I/O devices
Show answer
Answer: D. Controlling and coordinating I/O devices
Report a mistake

Q34. Spooling stands for

  1. ASingle Process Operation
  2. BNone
  3. CSimultaneous Peripheral Operation On-Line
  4. DSystem Process Online
Show answer
Answer: C. Simultaneous Peripheral Operation On-Line
Report a mistake

Q35. Deadlock occurs when

  1. ANo waiting occurs
  2. BOnly one process exists
  3. CProcesses run freely
  4. DProcesses wait indefinitely for resources held by each other
Show answer
Answer: D. Processes wait indefinitely for resources held by each other
Report a mistake

Q36. Necessary conditions for deadlock are

  1. AMutual exclusion, Hold and wait, No preemption, Circular wait
  2. BNone
  3. COnly mutual exclusion
  4. DOnly circular wait
Show answer
Answer: A. Mutual exclusion, Hold and wait, No preemption, Circular wait
Report a mistake

Q37. System calls provide

  1. AOnly user interface
  2. BOnly hardware access
  3. CNone
  4. DInterface between process and OS
Show answer
Answer: D. Interface between process and OS
Report a mistake

Q38. Kernel is

  1. AAn application
  2. BA utility program
  3. CThe core of the operating system
  4. DHardware
Show answer
Answer: C. The core of the operating system
Report a mistake

Q39. Shell is

  1. AApplication only
  2. BHardware
  3. CKernel
  4. DCommand interpreter
Show answer
Answer: D. Command interpreter
Report a mistake

Q40. Bootstrapping is

  1. ALoading the operating system into memory
  2. BNone
  3. CShutting down the system
  4. DRunning applications
Show answer
Answer: A. Loading the operating system into memory
Report a mistake

Q41. BIOS stands for

  1. ABasic Internal Operating System
  2. BBasic Input Output System
  3. CNone
  4. DBinary Input Output System
Show answer
Answer: B. Basic Input Output System
Report a mistake

Q42. Firmware is

  1. AOnly application software
  2. BNone
  3. COnly OS
  4. DSoftware embedded in hardware
Show answer
Answer: D. Software embedded in hardware
Report a mistake

Q43. An interrupt is

  1. AA file
  2. BNone
  3. CA signal that temporarily stops CPU execution
  4. DA continuous process
Show answer
Answer: C. A signal that temporarily stops CPU execution
Report a mistake

Q44. Types of interrupts include

  1. AOnly hardware
  2. BHardware and Software interrupts
  3. COnly software
  4. DNone
Show answer
Answer: B. Hardware and Software interrupts
Report a mistake

Q45. Privilege levels in OS help in

  1. ANone
  2. BProtecting system resources
  3. CSlowing down the system
  4. DIncreasing errors
Show answer
Answer: B. Protecting system resources
Report a mistake

Q46. User mode and Kernel mode are

  1. ASame mode
  2. BOnly for applications
  3. CTwo execution modes for security
  4. DNone
Show answer
Answer: C. Two execution modes for security
Report a mistake

Q47. A system call is executed in

  1. ABoth equally
  2. BUser mode only
  3. CNone
  4. DKernel mode
Show answer
Answer: D. Kernel mode
Report a mistake

Q48. Examples of mobile operating systems are

  1. AOnly Linux
  2. BMS-DOS
  3. CWindows Server
  4. DAndroid, iOS
Show answer
Answer: D. Android, iOS
Report a mistake

Q49. Open-source operating system example is

  1. AmacOS (proprietary)
  2. BLinux
  3. CWindows
  4. DOnly Windows
Show answer
Answer: B. Linux
Report a mistake

Q50. The primary goal of an operating system is

  1. AOnly to store data
  2. BNone
  3. CTo make the computer system convenient and efficient to use
  4. DOnly to run games
Show answer
Answer: C. To make the computer system convenient and efficient to use
Report a mistake