Technical Questions

Q:

What is the value of a testing group? How do you justify your work and budget?

Answer

Testing is a process used for revealing defects in s/w and for establishing that the s/w has attained a specific degree of quality.


The s/w testing group’s main objective is to ensure that the s/w is doing what it is supposed to do as well as the s/w is not doing what it is not supposed to do. With this objective, it is clear that it is necessary to have a separate group for testing the s/w other than the group which developed it.


Also, bugs in the s/w can cause severe monetary as well as other loss to the organization. So it is important to allocate some budget for the testing group.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

1 2404
Q:

What is process migration?

Answer

It is the transfer of sufficient amount of the state of process from one machine to the target machine.

Report Error

View answer Workspace Report Error Discuss

0 2388
Q:

What is the difference between microprocessor and micro-controller?

Answer

In microprocessor more op-codes, few bit handling instrucitons. But in Microcontroller. fewer op-codes, more bit handling Instruction, and also it is defined as a device that includes micro processor, memory, & input / output signal lines on a single chip.


the basic architectual difference is that microcontroller has an programmable memory while it is not the case with mivroprocessors.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2382
Q:

Write a c program for selection sort.

Answer

include<stdio.h>
int main(){

  int s,i,j,temp,a[20];

  printf("Enter total elements: ");
  scanf("%d",&s);

  printf("Enter %d elements: ",s);
  for(i=0;i<s;i++)
      scanf("%d",&a[i]);

  for(i=0;i<s;i++){
      for(j=i+1;j<s;j++){
           if(a[i]>a[j]){
               temp=a[i];
              a[i]=a[j];
              a[j]=temp;
           }
      }
  }

  printf("After sorting is: ");
  for(i=0;i<s;i++)
      printf(" %d",a[i]);

  return 0;
}

Output:
Enter total elements: 5
Enter 5 elements: 4 5 0 21 7
The array after sorting is:  0 4 5 7 21

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2373
Q:

Convert the expression ((A + B) * C – (D – E) ^ (F + G)) to equivalent Prefix Notation

Answer

Prefix Notation:


^ - * +ABC - DE + FG

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2370
Q:

Give the truth table for a Half Adder. Give a gate level Implementation of the same.

Answer

TRUTH TABLE FOR HALF ADDER


A    B  SUM  CARRY


0    0    0         0


0    1    1         0


1    0    1         0


1    1    0         1


INPLEMENTATION:


For SUM, The two inputs A and B are given to XOR gate.


For Carry, The two inputs A and B are given to AND gate.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2369
Q:

What is Memory-Management Unit (MMU)?

Answer

Hardware device that maps virtual to physical address. In MMU scheme, the value in the relocation register is added to every address generated by a user process at the time it is sent to memory.


->The user program deals with logical addresses; it never sees the real physical addresses

Report Error

View answer Workspace Report Error Discuss

0 2365
Q:

What is meant by Maskable interrupts?

Answer

An interrupt that can be turned off by the programmer is known as Maskable interrupt.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2357