logo

CuriousTab

CuriousTab

Discussion


Home Technical Questions Operating Systems See What Others Are Saying!
  • Question
  • What is the difference between Hard and Soft real-time systems?


  • Correct Answer
  • A hard real-time system guarantees that critical tasks complete on time This goal requires that all delays in the system be bounded from the retrieval of the stored data to the time that it takes the operating system to finish any request made of it A soft real time system where a critical real-time task gets priority over other tasks and retains that priority until it completes As in hard real time systems kernel delays need to be bounded 


  • More questions

    • 1. What are various scheduling queues?
    • Discuss
    • 2. What is the state of the processor, when a process is waiting for some event to occur?
    • Discuss
    • 3. What is Memory-Management Unit (MMU)?
    • Discuss
    • 4. SNOBOL is mainly used for

    • Options
    • A. Text Operation
    • B. String operations
    • C. List operations
    • D. Numerical operations
    • Discuss
    • 5. Convert the expression ((A + B) * C ? (D ? E) ^ (F + G)) to equivalent Prefix Notation
    • Discuss
    • 6. What would be the output of the following program? main() { char a[] = "Visual C++"; char *b = "Visual C++"; printf ("\n%d %d", sizeof (a), sizeof (b)); printf ("\n%d %d", sizeof (*a), sizeof (*b)); }
    • Discuss
    • 7. Point out the error, if any, in the following program. #include "stdarg.h" main() { display ( 4, 12.5, 13.5, 14.5, 44.3); } display(int num, ...) { float c; int j; va_list ptr; va_start (ptr, num); for ( j = 1; j <= num; j++) { c = va_arg ( ptr, float ); printf ("\n%f", c); } }
    • Discuss
    • 8. Two main measures for the efficiency of an algorithm are

    • Options
    • A. Time and Space
    • B. Complexity and Memory
    • C. Data and Space
    • D. Memory and Processor
    • Discuss
    • 9. Would the following program compile? main() { int a = 10, *j; void *k; J = k = &a; J++; k++; printf ("\n%u %u", j, k); }
    • Discuss
    • 10. What would be the output of the following program? main() { char ch ='A'; printf ("%d%d", sizeof (ch), sizeof ('A')); }
    • Discuss


    Comments

    There are no comments.

Enter a new Comment