GeekInterview.com
Series: Subject: Topic:

Windows Interview Questions

Showing Questions 121 - 140 of 142 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

What are different tasks of lexical analysis?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

The purpose of the lexical analyzer is to partition the input text, delivering a sequence of comments and basic symbols. Comments are character sequences to be ignored, while basic symbols are character sequences that correspond to terminal symbols of the grammar defining the phrase structure of the...

Answered by: Rajib Pal on: Mar 22nd, 2006

The main task of lexical anlyzer is to form token.It takes source code as input & begin scanning from left to right & form token which are enter in the symbol table to generate parse tree during compilation.So lexical anlyzer is the first part of compilation.

Answered by: Sharath on: Mar 19th, 2006

Well,Lexical Analysis is a phase that is carried out during compilation.It basically means scanning the inputs character by character.It may contains tokens,blanks,comments..

Give a non-computer example of preemptive and non-preemptive scheduling?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

Consider   any system where people use some kind of resources and compete for them. The non-computer examples for preemptive scheduling the traffic on the single lane road if there is emergency or there is an ambulance on the road the other vehicles give path to the vehicles that are in need....

Answered by: nightfire on: Feb 14th, 2006

very good example to get a practical view. Thanx for the answer.

What are the difference phases of software development or software life cycle?Ans specification of the taskdesign of algorithmsimplementation (coding)testing and debuggingmaintenance and evolution of the...

Asked By: Interview Candidate | Asked On: Jul 27th, 2005

Answered by: Geeta on: Feb 7th, 2006

The different phases of Software Development Life Cycle are:

Requirement Definition

Analysis

Design

Construction or Build

Testing

Training

Implementation

Answered by: SatishTKakade@yahoo.com on: Jul 27th, 2005

1. Requirement 
2. Analysis 
3. Design 
4. Coding 
5. Testing 
6. Maintenance

Different types of real-time scheduling?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

Hard real-time systems – required to complete a critical task within a guaranteed amount of time.Soft real-time computing – requires that critical processes receive priority over less fortunate ones.

Answered by: Chandra Shekhar Chaubey on: Feb 3rd, 2006

I think Hard Real time and Soft Real time is type of real time system.

but Question is Scheduling type .

I think scheduling types are :

a. Primtive priority based scheduling

B. Non-Primtive scheduling

C. Round Robin scheduling

Regards,

Shekhar

What are dump terminals in UNIX?

Asked By: Shankarthebest | Asked On: Nov 9th, 2005

Answered by: kanchan kumar mallick on: Dec 29th, 2005

In short dump terminals are the terminals which are conncted with a centralized CPU and lack individual CPUs.

Explain the difference between microkernel and macro kernel?

Asked By: Interview Candidate | Asked On: Jul 17th, 2005

Micro-kernel: a micro-kernel is a minimal operating system that performs only the essential functions of an operating system. All other operating system functions are performed by system processes. monolithic: a monolithic operating system is one where all operating system code is in a single executable...

Answered by: chiru on: Jul 17th, 2005

A monolithic kernel has all OS services running within the privileged mode of processor.It has only one address space i.e. kernel space.  A micro-kernel uses the CPUs privileged mode only for r...

Describe the actions taken by thread library to context switch between user level threads?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

The thread library function performs the following actions to context switch between user level threadscopy all live registers to thread control block (tcb)restore the state of the thread to run next i.E (copy the values of live registers from (tcb) to registers)move to the next thread to execute

Compare LINUX credit based algorithm with other scheduling algorithms?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

For the conventional time –shared processes, LINUX uses a prioritized, credit-based algorithm. Each process possesses a certain number of scheduling credits; when a new task must be chosen to run, the process with most credits is selected. Every time that a timer interrupt occurs, the currently running...

What is the difference between hard and soft real-time systems?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

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...

What is hard disk and what is its purpose?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

Hard disk is the secondary storage device, which holds the data in bulk, and it holds the data on the magnetic medium of the disk.Hard disks have a hard platter that holds the magnetic medium, the magnetic medium can be easily erased and rewritten, and a typical desktop machine will have a hard disk...

What are the methods for handling deadlocks?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

->ensure that the system will never enter a deadlock state.->allow the system to enter a deadlock state and then recover.->ignore the problem and pretend that deadlocks never occur in the system; used by most operating systems, including   UNIX.

What is a safe state and its’ use in deadlock avoidance?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

When a process requests an available resource, system must decide if immediate allocation leaves the system in a    safe state->system is in safe state if there exists a safe sequence of all processes.  ->sequence <p1, p2… pn> is safe if for each pi, the resources that...

Recovery from deadlock?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

Process termination:->abort all deadlocked processes.->abort one process at a time until the deadlock cycle is eliminated.->in which order should we choose to abort?Priority of the process.How long process has computed, and how much longer to completion.Resources the process has used. Resources...

Binding of instructions and data to memory?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

Address binding of instructions and data to memory addresses can happen at three different stagescompile time:  if memory location known a priori, absolute code can be generated; must recompile code if starting   location changes.Load time:  must generate relocatable code if memory...

What are dynamic loading, dynamic linking and overlays?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

Dynamic loading:->routine is not loaded until it is called->better memory-space utilization; unused routine is never loaded.->useful when large amounts of code are needed to handle infrequently occurring cases.->no special support from the operating system is required implemented through...

What are the different dynamic storage-allocation methods?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

How to satisfy a request of size n from a list of free holes?First-fit:  allocate the first hole that is big enough.Best-fit:  allocate the smallest hole that is big enough; must search entire list, unless ordered by size. It produces the smallest lEFTover hole.Worst-fit:  allocate the...

What is fragmentation? Different types of fragmentation?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

Fragmentation occurs in a dynamic memory allocation system when many of the free blocks are too small to satisfy any request. external fragmentation: external fragmentation happens when a dynamic memory allocation algorithm allocates some memory and a small piece is lEFT over that cannot be effectively...

Explain segmentation with paging?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

Segments can be of different lengths, so it is harder to find a place for a segment in memory than a page. With segmented virtual memory, we get the benefits of virtual memory but we still have to do dynamic storage allocation of physical memory. In order to avoid this, it is possible to combine segmentation...

Under what circumstances do page faults occur? Describe the actions taken by the operating system when a page fault occurs?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

 a page fault occurs when an access to a page that has not been brought into main memory takes place. The operating system verifies the memory access, aborting the program if it is invalid. If it is valid, a free frame is located and i/o is requested to read the needed page into the free frame....

What is the cause of thrashing? How does the system detect thrashing? Once it detects thrashing, what can the system do to eliminate this problem?

Asked By: Interview Candidate | Asked On: Mar 6th, 2005

Thrashing is caused by under allocation of the minimum number of pages required by a process, forcing it to continuously page fault. The system can detect thrashing by evaluating the level of cpu utilization as compared to the level of multiprogramming. It can be eliminated by reducing the level of...

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.