Technical Questions

Q:

The time complexity of sequential search is

A) O(n) B) O(2n)
C) O(n^2) D) None
 
Answer & Explanation Answer: A) O(n)

Explanation:

The time complexity of sequential search is O(n)

Report Error

View Answer Report Error Discuss

Filed Under: Database
Job Role: Database Administration

0 3240
Q:

What is Throughput, Turnaround time, waiting time and Response time?

Answer

Throughput : number of processes that complete their execution per time unit.

Turnaround time : amount of time to execute a particular process.

Waiting time : amount of time a process has been waiting in the ready queue.

Response time : amount of time it takes from when a request was submitted until the firstresponse is produced, not output (for time-sharing environment).

Report Error

View answer Workspace Report Error Discuss

2 3239
Q:

What is Bandwidth?

Answer

Every line has an upper limit and a lower limit on the frequency of signals it can carry. This limited range is called the bandwidth

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

1 3225
Q:

The relationship where both the participating entities belong to same entity type is called

A) Participation B) Recursive
C) Standard D) Normal
 
Answer & Explanation Answer: B) Recursive

Explanation:

The relationship where both the participating entities belong to same entity type is called Recursive relationship

Report Error

View Answer Report Error Discuss

Filed Under: Database
Job Role: Database Administration

0 3224
Q:

What is a daemon?

Answer

Daemon is a program that runs in the background without user’s interaction. A daemon runs in a multitasking operating system like UNIX. A daemon is initiated and controlled by special programs known as ‘processes’.

Report Error

View answer Workspace Report Error Discuss

0 3220
Q:

Where is a hub specified in the OSI model?

A) Physical Layer B) Data Link Layer
C) Application Layer D) Session Layer
 
Answer & Explanation Answer: A) Physical Layer

Explanation:

Hubs regenerate electrical signals, which are specified at the Physical layer.

Report Error

View Answer Report Error Discuss

Filed Under: Networking
Exam Prep: CAT
Job Role: Analyst , Network Engineer

1 3219
Q:

If the following structure is written to a file using fwrite(), can fread() read it back successfully?

struct emp

{

    char *n;

    int age;

};

struct emp e = { "Sujay",15};

FILE *fp;

fwrite (&e, sizeof (e), 1, fp);

Answer

No, since the structure contains a char pointer while writing the structure to the disk using fwrite() only the value stored in the pointer n would get written. When this structure is read back the address would be read back but it is quite unlikely that the desired string would be present at this address in memory

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3203
Q:

Suppose you have a computional circuit between two registers driven by a clock. What will you do if the delay of the combinational circuit is greater than your clock signal?

Answer

Use the concept of register-retiming.


divide the totla combinatorial delay in two segments such that individually the delay is less the clock period.


this can be done by inserting a flip-flop in the combinational path.


e.g.,


clock period --- 5 ns


total cominational delay ---- 7


then divide the 7ns path in two path of 4 or 3 (best resutls are obtained if delays are  same for both path i.e 3.5ns) by inserting a flip-flop in between.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 3181