Technical Questions

Q:

What is the RST for the TRAP?

Answer

RST 4.5 is called as TRAP.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

1 3953
Q:

What happens when HLT instruction is executed in processor?

Answer

The Micro Processor enters into Halt-State and the buses are tri-stated. 

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 3934
Q:

How would you free the memory allocated by the following program?

#include "alloc.h"

#define MAXROW 3

#define MAXCOL 4

main()

{

     int **p, i;

     p = (int **) malloc (MAXROW * sizeof (int *));

      for ( i = 0; i < MAXROW ; i++)

            p[i] = (int *) malloc (MAXCOL * sizeof (int ));

}

Answer

for ( i=0; i < MAXROW ; i++)


free (p[i]);


free (p);

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3932
Q:

What is silly window syndrome?

Answer

It is a problem that can ruin TCP performance. This problem occurs when data are passed to the sending TCP entity in large blocks, but an interactive application on the receiving side reads 1 byte at a time.

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Database Administration

0 3912
Q:

Give an example of one address microprocessor?

Answer

8085 is a one address microprocessor. In 8085 interrupts  are classified by software and hardware interrupts.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

3 3910
Q:

What is fragmentation? Different types of fragmentation?

Answer

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 used. If too much external fragmentation occurs, the amount of usable memory is drastically reduced. Total memory space exists to satisfy a request, but it is not contiguous. 


Internal Fragmentation: Internal fragmentation is the space wasted inside of allocated memory blocks because of restriction on the allowed sizes of allocated blocks. Allocated memory may be slightly larger than requested memory; this size difference is memory internal to a partition, but not being used

Report Error

View answer Workspace Report Error Discuss

1 3901
Q:

What are the common problems with software automation?

Answer

The biggest concern is the cost incurred for test automation. Also, often s/w test automation requires skilled personnel and authentic test automation tools. Purchasing license of such tools is a costly affair.


Also the time required for test automation is more. Automation often requires recording the sequence of operations you need to perform in order to execute a particular test case and comparing the final o/p with the expected o/p. Functions/macros need also be written sometimes for some test cases. All this could be a time consuming job. 

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

3 3897
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 3895