Technical Questions

Q:

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

Answer

Waiting state

Report Error

View answer Workspace Report Error Discuss

2 2295
Q:

What is Stack?

Answer

stack is portion of RAM used for saving the content of Program Counter and general purpose registers.


LIFO stacks, also known as "push down" stacks, are the conceptually simplest way of saving information in a temporary storage location for such common computer operations as mathematical expression evaluation and recursive subroutine calling.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2282
Q:

What are the various segment registers in 8086?

Answer

Code, Data, Stack, Extra Segment registers in 8086.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 2281
Q:

What are DDks? Name an operating system that includes this feature.

Answer

DDks are device driver kits, which are equivalent to SDKs for writing device drivers. Windows NT includes DDks.

Report Error

View answer Workspace Report Error Discuss

0 2277
Q:

What is time-stamping?

Answer

It is a technique proposed by Lamport, used to order events in a distributed system without the use of clocks. This scheme is intended to order events consisting of the transmission of messages. Each system 'i' in the network maintains a counter Ci. Every time a system transmits a message, it increments its counter by 1 and attaches the time-stamp Ti to the message. When a message is received, the receiving system 'j' sets its counter Cj to 1 more than the maximum of its current value and the incoming time-stamp Ti. At each site, the ordering of messages is determined by the following rules: For messages x from site i and y from site j, x precedes y if one of the following conditions holds....(a) if Ti

Report Error

View answer Workspace Report Error Discuss

1 2276
Q:

Can you suggest any other way of writing the following expression such that 30 is used only once?

a <= 20 ? b = 30 : c = 30 ;

Answer

*( ( a <= 20 ) ? &b : &c ) = 30;

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2275
Q:

What is Non-Maskable interrupts?

Answer

An interrupt which can be never be turned off (ie. disabled) is known as Non-Maskable interrupt

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2275
Q:

What would be the output of the following program?

main()

{

  extern int i;

   i = 20;

  printf( "%d", sizeof(i) );

}

Answer

extern int i is a declaration and not a definition, hence Error occured.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2273