Technical Questions

Q:

Explain the concept of the Distributed systems?

Answer

Distributed systems work in a network. They can share the network resources,communicate with each other.

Report Error

View answer Workspace Report Error Discuss

0 2392
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 2378
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 2372
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 2366
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 2363
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 2361
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 2354
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 2349