Technical Questions

Q:

Networking definition and examples?

Answer

In Computers ::


A network is a collection of computers, servers, mainframes, network devices, peripherals, or other devices connected to one another to allow the sharing of data.


An excellent example of a network is the Internet, which connects millions of people all over the world. Below is an example image of a home network with multiple computers and other network devices all connected to each other and the Internet.


Ex:: LAN, WAN, MAN, WLAN,...


In Business view::


 


Networking is defined as the act of making contact and exchanging information with other people, groups and institutions to develop mutually beneficial relationships.

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: IT Trainer , Network Engineer

5 2150
Q:

Is the address bus unidirectional?

Answer

The address bus is unidirectional because the address information is always given by the micro processoe  to address a memory location of an input / output devices.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2142
Q:

How many bit combination are there in a byte?

Answer

Byte contains 8 combinations of bits.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2140
Q:

What are the flags in 8086?

Answer

In 8086 Carry flag, Parity flag, Ausiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sing flag.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2128
Q:

Write a c program for merge sort.

Answer

#include
#define MAX 50

void mergeSort(int arr[],int low,int mid,int high);
void partition(int arr[],int low,int high);

int main(){
  
    int merge[MAX],i,n;

    printf("Enter the total number of elements: ");
    scanf("%d",&n);

    printf("Enter the elements which to be sort: ");
    for(i=0;i<n;i++){
         scanf("%d",&merge[i]);
    }

    partition(merge,0,n-1);

    printf("After merge sorting elements are: ");
    for(i=0;i<n;i++){
         printf("%d ",merge[i]);
    }

   return 0;
}

void partition(int arr[],int low,int high){

    int mid;

    if(low<high){
         mid=(low+high)/2;
         partition(arr,low,mid);
         partition(arr,mid+1,high);
         mergeSort(arr,low,mid,high);
    }
}

void mergeSort(int arr[],int low,int mid,int high){

    int i,m,k,l,temp[MAX];

    l=low;
    i=low;
    m=mid+1;

    while((l<=mid)&&(m<=high)){

         if(arr[l]<=arr[m]){
             temp[i]=arr[l];
             l++;
         }
         else{
             temp[i]=arr[m];
             m++;
         }
         i++;
    }

    if(l>mid){
         for(k=m;k<=high;k++){
             temp[i]=arr[k];
             i++;
         }
    }
    else{
         for(k=l;k<=mid;k++){
             temp[i]=arr[k];
             i++;
         }
    }
  
    for(k=low;k<=high;k++){
         arr[k]=temp[k];
    }
}


Sample output:

Enter the total number of elements: 5
Enter the elements which to be sort: 2 5 0 9 1
After merge sorting elements are: 0 1 2 5 9

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2108
Q:

What is the state of the processor, when a process is waiting for some event to occur?

Answer

Waiting state

Report Error

View answer Workspace Report Error Discuss

2 2108
Q:

If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

Answer

The heterogeneous linked list contains different data types in its nodes and we need a link, pointer to connect them. It is not possible to use ordinary pointers for this. So we go for void pointer. Void pointer is capable of storing pointer to any type as it is a generic pointer type.

Report Error

View answer Workspace Report Error Discuss

Subject: Database Exam Prep: GATE
Job Role: Database Administration

0 2105
Q:

What are the different job scheduling in operating systems?

Answer

Scheduling is the activity of the deciding when process will receive the resources they request.


FCS ---> FCSFS stands for First Come First Served. In FCFS the job that has been waiting the longest is served next.


Round Robin Scheduling--->Round Robin scheduling is a scheduling method where each process gets a small quantity of time to run and then it is preempted and the next process gets to run. This is called time-sharing and gives the effect of all the processes running at the same time


Shortest Job First ---> The Shortest job First scheduling algorithm is a nonpreemptive scheduling algorithm that chooses the job that will execute the shortest amount of time.


Priority Scheduling--->Priority scheduling is a scheduling method where at all times the highest priority process is assigned the resource.

Report Error

View answer Workspace Report Error Discuss

0 2105