Home / CS604 Operating Systems

CS604 Operating Systems

cs604 Current mid term paper

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of Aryan Ahmad Aryan Ahmad 1 month ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2100
    Profile photo of Aryan Ahmad
    Aryan Ahmad
    Participant

    Today My cs604 Paper at 12:00 PM Muhammad Shahroz Munir
    All mcqs from past 1 bi bahar say nahi aya 😛 =D
    1. The process of switching from one process to another is called —————.
    Context switching Ans
    scheduling
    quantum period
    latency
    2. OS helps manages the following except
    Application software
    Bus speed of the system Ans
    Memory
    Virtual memory
    3. Which one of the following is the correct syntax to copy file1 to file2?
    cp file2, file1
    cp file1/file2
    cp file2 file1
    cp file1 file2 Ans
    4. In __________model, there is a kernel thread for every user thread.
    One-to-one Ans
    Many –to-one
    One-to-many
    Many-to-many
    5 While two processes in execution, only one can be in critical section at a time , this
    requirement is named as __________.
    Race condition
    Mutual exclusion Ans
    Progress
    Bounded waiting
    6. A ————process produces information that is consumed by a ———–process.
    Consumer, Producer
    Producer, Consumer Ans
    Customer, Purchaser
    Merchandiser, Consumer
    7. The systems that control scientific experiments, medical imaging systems, industrial
    control systems and certain display systems are examples of ………………….. systems.
    Real Time system Ans
    Batch
    Multi programmed
    Time-sharing system
    8. __________________ is a software based solution to the synchronization problem.
    Bakery algorithm
    TSL instruction
    Semaphore Ans
    Monitors
    9. In a Multilevel Queue, the foreground queue has ——– scheduling algorithm and
    background queue has ————– scheduling algorithm
    First Come First Serve, Round-Robin
    Round-Robin, First Come First Serve Ans
    Round-Robin, Round-Robin
    First Come First Serve, First Come First Serve
    10. Using _________system call, we can create a new process in Unix.
    Fork Ans
    exec
    wait
    exit
    11. Under _________scheduling, once the CPU has been allocated to a process, the process
    keeps the CPU until either it switches to the waiting state, finishes its CPU burst, or
    terminates.
    Short-term scheduler
    Preemptive Ans
    Non-preemptive
    Both preemptive and non- preemptive
    12. In Unix/Linux client server process communication, server process runs in the
    background by terminating its command line with ————–.
    & Ans
    @
    %
    $
    13. A pathname is the list of directories separated by _________.
    #
    $
    &
    / Ans
    14. You can terminate a foreground process by pressing ————–
    <Ctrl-A>
    <Ctrl-C> Ans
    <Ctrl-Z>
    None of the given options
    Long part sara book say tha 5 marks ka
    in ma say preemptive or non-preemptive ki selection karni thi
    � First-Come-First-Served (FCFS) Scheduling
    � Shorted Job First (SJF) Scheduling
    � Shortest Remaining Time First (SRTF) Scheduling
    � Priority Scheduling
    � Round-Robin Scheduling
    � Multilevel Queues Scheduling
    � Multilevel Feedback Queues Scheduling
    or code walay thay kuch question
    Today My cs604 Paper at 12:00 PM Muhammad Shahroz Munir
    All mcqs from past 1 bi bahar say nahi aya 😛 =D
    1. The process of switching from one process to another is called —————.
    Context switching Ans
    scheduling
    quantum period
    latency
    2. OS helps manages the following except
    Application software
    Bus speed of the system Ans
    Memory
    Virtual memory
    3. Which one of the following is the correct syntax to copy file1 to file2?
    cp file2, file1
    cp file1/file2
    cp file2 file1
    cp file1 file2 Ans
    4. In __________model, there is a kernel thread for every user thread.
    One-to-one Ans
    Many –to-one
    One-to-many
    Many-to-many
    5 While two processes in execution, only one can be in critical section at a time , this
    requirement is named as __________.
    Race condition
    Mutual exclusion Ans
    Progress
    Bounded waiting
    6. A ————process produces information that is consumed by a ———–process.
    Consumer, Producer
    Producer, Consumer Ans
    Customer, Purchaser
    Merchandiser, Consumer
    7. The systems that control scientific experiments, medical imaging systems, industrial
    control systems and certain display systems are examples of ………………….. systems.
    Real Time system Ans
    Batch
    Multi programmed
    Time-sharing system
    8. __________________ is a software based solution to the synchronization problem.
    Bakery algorithm
    TSL instruction
    Semaphore Ans
    Monitors
    9. In a Multilevel Queue, the foreground queue has ——– scheduling algorithm and
    background queue has ————– scheduling algorithm
    First Come First Serve, Round-Robin
    Round-Robin, First Come First Serve Ans
    Round-Robin, Round-Robin
    First Come First Serve, First Come First Serve
    10. Using _________system call, we can create a new process in Unix.
    Fork Ans
    exec
    wait
    exit
    11. Under _________scheduling, once the CPU has been allocated to a process, the process
    keeps the CPU until either it switches to the waiting state, finishes its CPU burst, or
    terminates.
    Short-term scheduler
    Preemptive Ans
    Non-preemptive
    Both preemptive and non- preemptive
    12. In Unix/Linux client server process communication, server process runs in the
    background by terminating its command line with ————–.
    & Ans
    @
    %
    $
    13. A pathname is the list of directories separated by _________.
    #
    $
    &
    / Ans
    14. You can terminate a foreground process by pressing ————–
    <Ctrl-A>
    <Ctrl-C> Ans
    <Ctrl-Z>
    None of the given options
    Long part sara book say tha 5 marks ka
    in ma say preemptive or non-preemptive ki selection karni thi
    � First-Come-First-Served (FCFS) Scheduling
    � Shorted Job First (SJF) Scheduling
    � Shortest Remaining Time First (SRTF) Scheduling
    � Priority Scheduling
    � Round-Robin Scheduling
    � Multilevel Queues Scheduling
    � Multilevel Feedback Queues Scheduling
    or code walay thay kuch question
    Like
    Like
    Love
    Haha

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Share with Friends