Friday, January 22, 2010

OS questions

Process and Threads
What is a process ?
What are the various process states ?
What are the typical elements of a process image?
what is PCB ?
what do you mean by context switch?
what do you mean by Cooperating Processes ?
Explain Producer Consumer Problem.
Explain InterProcess Communications.
Explain RPC ?
Explain marshalling ?
What are threads ?
Differenciate between threads and Processes ?
What are various multithreading models ?

CPU Scheduling
Define response time, turnaround and throughput.
define pre-emptive and non-preemptive schheduling.
What are short-, long- and medium-term scheduling?
What is dispatcher ?
What are the different scheduling criterions.
Explain various cpu scheduling algorithm ?
What is busy waiting?

Process Synchronization
Explain race conditions ?
Explain critical section problem ?
what is the solution to Critical-Section Problem ?
Explain Bakery Algorithm ?
what are semaphores ? Explain its types ?
What is MUTEX ?
What is Concurrency? Explain with example Deadlock and Starvation.
What are your solution strategies for "Dining Philosophers Problem" ?
Explain starvation ?
Explain Monitor ?
Explain Dining Philosphor's problem.

Deadlocks
Explain deadlock ?
What is a Safe State and what is its use in deadlock avoidance?

Memory Management
Explain compile time, load time and execution time ?
What do you mean by logical address and physical address space ?
What is MMU ?
Explain Dynamic loading ?
Explain Dynamic Linking ?
Explain overlays ?
Explain swapping ?
What do you mean by Hole from the perspective of Memory Management?
Explain Dynamic Storage-Allocation Problem ?
Explain Address Translation Scheme.
Explain Fragmentation ? what is external fragmentation and internal fragmentation ?

Virtual Memory
Explain virtual memory.
Explain paging.
Explain demand paging.
Explain segmentation.
Explain demand segmentation.
what do you mean by page fault ? How does an OS handle a page fault situation ?
Explain Page Replacement and various page replacement algorithms ?
What do you mean by thrashing 



What is the quickest sorting method to use?
What is the quickest searching method to use?
How are portions of a program disabled in demo versions?
How do you declare an array that will hold more than 64KB of data?
How can I detect memory leaks?
How can I debug a TSR program?
What header files do I need in order to define the standard library functions I use?
How can environment variable values be retrieved?
How can I call BIOS functions from my program?
Should C++ additions to a compiler be used in a C program?
Should my program be written in one source file or several source files?
How can I keep my program from running out of memory?
How are command-line parameters obtained?
What is the difference between ?exception handling? and "structured exc.handling"
How do you create a delay timer in a DOS program?
How do you interrupt a Windows program?
How can I pass data from one program to another?
How do you create a delay timer in a Windows program
What is dynamic linking?
How do you create an animated bitmap? 



What is MUTEX ?

What isthe difference between a 'thread' and a 'process'?

What is INODE?

Explain the working of Virtual Memory.

How does Windows NT supports Multitasking?

Explain the Unix Kernel.

What is Concurrency? Expain with example Deadlock and Starvation.

What are your solution strategies for "Dining Philosophers Problem" ?

Explain Memory Partitioning, Paging, Segmentation.

Explain Scheduling.

Operating System Security.

What is Semaphore?

Explain the following file systems : NTFS, Macintosh(HPFS), FAT .

What are the different process states?

What is Marshalling?

Define and explain COM?

What is Marshalling?

Difference - Loading and Linking ?

What are the basic functions of an operating system?

Explain briefly about, processor, assembler, compiler, loader, linker and the functions executed by them.

What are the difference phases of software development? Explain briefly?

Differentiate between RAM and ROM?

What is DRAM? In which form does it store data?

What is cache memory?

What is hard disk and what is its purpose?

Differentiate between Complier and Interpreter?

What are the different tasks of Lexical analysis?

What are the different functions of Syntax phase, Sheduler?

What are the main difference between Micro-Controller and Micro- Processor?

Describe different job scheduling in operating systems.

What is a Real-Time System ?

What is the difference between Hard and Soft real-time systems ?

What is a mission critical system ?

What is the important aspect of a real-time system ?

If two processes which shares same system memory and system clock in a distributed system, What is it called?

What is the state of the processor, when a process is waiting for some event to occur?

What do you mean by deadlock?

Explain the difference between microkernel and macro kernel.

Give an example of microkernel.

When would you choose bottom up methodology?

When would you choose top down methodology?

Write a small dc shell script to find number of FF in the design.

Why paging is used ?

Which is the best page replacement algorithm and Why? How much time is spent usually in each phases and why?

Difference between Primary storage and secondary storage?

What is multi tasking, multi programming, multi threading?

Difference between multi threading and multi tasking?

What is software life cycle?

Demand paging, page faults, replacement algorithms, thrashing, etc.

Explain about paged segmentation and segment paging

While running DOS on a PC, which command would be used to duplicate the entire diskette? 

No comments:

Post a Comment