Technical Questions

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 2033
Q:

What is wide-mouth frog?

Answer

Wide-mouth frog is the simplest known key distribution center (KDC) authentication protocol

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Database Administration

0 2030
Q:

Point out the error, if any, in the following program.

main()

{

    int ( *p )() = fun;

    ( *P ) ();

}

fun ()

{

    Printf ( "\nLoud and clear" );

Answer

Here we are initalising the function pointer p to the address of the function fun(). But during this initialisation the function has not been defined. Hence an error.


To eliminate this error add the prototype of the fun() before declaration of p, as shown below:


extern int fun();    or simply  int fun();

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2017
Q:

What is cache-coherency?

Answer

In a multiprocessor system there exist several caches each may containing a copy of same variable A. Then a change in one cache should immediately be reflected in all other caches this process of maintaining the same value of a data in all the caches s called cache-coherency.

Report Error

View answer Workspace Report Error Discuss

1 2017
Q:

What is context switching?

Answer

Transferring the control from one process to other process requires saving the state of the old process and loading the saved state for new process. This task is known as context switching.

Report Error

View answer Workspace Report Error Discuss

1 2017
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 2016
Q:

What is cache memory?

Answer

Cache momory is a small high-speed memory. it is used for temporary storage of data & information between the main memory and the CPU(center processing unit). The cache memory is only in RAM.


Cache memory is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM. AS the microprocessor processes data, it looks in the cache memory and if it finds the data there.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2005
Q:

Point out the error, if any, in the following program.

main()

{

    int a = 10;

    void f();

    a = f();

    printf ( "\n %d", a );

}

void f()

{

    printf ( "\n Hi ");

}

Answer

In spite of defining the function f() as returning void, the program is trying to collect the value returned by f() in the variable a.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 1999