logo

CuriousTab

CuriousTab

Discussion


Home Technical Questions Operating Systems Comments

  • Question
  • What is pre-emptive and non-preemptive scheduling?


  • Correct Answer
  • Preemptive scheduling: The preemptive scheduling is prioritized The highest priority process should always be the process that is currently utilized Non-Preemptive scheduling: When a process enters the state of running, the state of that process is not deleted from the scheduler until it finishes its service time 


  • Operating Systems problems


    Search Results


    • 1. What is a daemon?
    • Discuss
    • 2. Explain the meaning of mutex.
    • Discuss
    • 3. Explain the concept of the Distributed systems?
    • Discuss
    • 4. Differentiate between Complier and Interpreter?
    • Discuss
    • 5. What are necessary conditions for dead lock?
    • Discuss
    • 6. Which among the following are not the children of Swapper or Scheduler?

    • Options
    • A. Process Dispatcher
    • B. Vhand
    • C. Dbflush
    • D. All the above
    • Discuss
    • 7. main() { fork(); printf(?Hello World!?); } Output for the above unix program is

    • Options
    • A. Hello World!
    • B. Hello World!Hello World!
    • C. Hello World
    • D. None
    • Discuss
    • 8. Which among the following is a system call used for process management

    • Options
    • A. fork()
    • B. exec()
    • C. getppid()
    • D. All the above
    • Discuss
    • 9. main() { char s[ ] = "man"; int i; for( i=0; s[ i ]; i++) printf( "n%c%c%c%c", s[ i ], *(s+i), *(i+s), i[s] ); }

    • Options
    • A. mmmm aaaa nnnn
    • B. aaaa mmmm nnnn
    • C. nnnn aaaa mmmm
    • D. None
    • Discuss
    • 10. What will be output of following c code? #include int main() { int x=123; int i={ printf("c" "++") }; for(x=0;x<=i;x++){ printf("%x ",x); } return 0; }
    • Discuss


    Comments

    There are no comments.

Enter a new Comment