Technical Questions

Q:

If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

Answer

The heterogeneous linked list contains different data types in its nodes and we need a link, pointer to connect them. It is not possible to use ordinary pointers for this. So we go for void pointer. Void pointer is capable of storing pointer to any type as it is a generic pointer type.

Report Error

View answer Workspace Report Error Discuss

Subject: Database Exam Prep: GATE
Job Role: Database Administration

0 2325
Q:

What are various scheduling queues?

Answer

 



  • Job queue

  • Ready queue

  • Device queue

Report Error

View answer Workspace Report Error Discuss

1 2324
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 2317
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 2313
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 2307
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 2303
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 2303
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 2297