Questions

Q:

Fax machine was invented by

A) Daimler B) Dewar
C) Bain D) None of these
 
Answer & Explanation Answer: C) Bain

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Inventions

1 2348
Q:

What are the Various Register in 8085?

Answer

Accumulator register, Temporary register, Instruction register, Stack Pointer, Program Counter are the various registers in 8085

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2347
Q:

Write a c program for quick sort.

Answer

#include<stdio.h>

void quicksort(int [10],int,int);

int main(){
  int x[20],size,i;

  printf("Enter size of the array: ");
  scanf("%d",&size);

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

  quicksort(x,0,size-1);

  printf("Sorted elements: ");
  for(i=0;i<size;i++)
    printf(" %d",x[i]);

  return 0;
}

void quicksort(int x[10],int first,int last){
    int pivot,j,temp,i;

     if(first<last){
         pivot=first;
         i=first;
         j=last;

         while(i<j){
             while(x[i]<=x[pivot]&&i<last)
                 i++;
             while(x[j]>x[pivot])
                 j--;
             if(i<j){
                 temp=x[i];
                  x[i]=x[j];
                  x[j]=temp;
             }
         }

         temp=x[pivot];
         x[pivot]=x[j];
         x[j]=temp;
         quicksort(x,first,j-1);
         quicksort(x,j+1,last);

    }
}

Output:
Enter size of the array: 5
Enter 5 elements: 3 8 0 1 2
Sorted elements: 0 1 2 3 8

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2347
Q:

The headquarters of the International Court of Justice is at

A) Geneva B) The Hague
C) Rome D) Vienna
 
Answer & Explanation Answer: B) The Hague

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

0 2347
Q:

What is Materials Requirement Planning?

Answer

A given quantity of finished goods requires a given quantity of raw materials and components to make them. Materials requirement planning systems to make them. Materials requirements planning systems are computerized tools that manage when materials must be ordered to supply production at a later date. MRP is effective when output quantities are known.Small business owners are often their own MRP systems,storing the information needed to supply prodution in their knowledge and experience. Activities such as computer tracking inventory and forecasting demand are MRP activities.

Report Error

View answer Workspace Report Error Discuss

Subject: Manufacturing

1 2347
Q:

Which of the following is Not a form of Energy?

A) Heat B) Sound
C) Motion D) Pressure
 
Answer & Explanation Answer: D) Pressure

Explanation:

Pressure is Not a form of Energy.

 

Energy : It is defined as the ability to do work.

Energy comes in two basic forms. They are :

1. Potential Energy

2. Kinetic Energy

 

Potential Energy is any type of stored energy. It can be chemical, nuclear, gravitational, or mechanical.

Kinetic Energy is found in movement. An airplane flying or a meteor plummeting each have kinetic energy. Even the tiniest things have kinetic energy, like atoms vibrating when they are hot or when they transmit sound waves. Electricity is the kinetic energy of flowing electrons between atoms.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

6 2347
Q:

How many jobs can be run concurrently on MVT?

Answer

15 jobs.

Report Error

View answer Workspace Report Error Discuss

1 2345
Q:

Kuldip Nayarr, a journalist was appointed as a high commissioner in 

A) UK B) Pakistan
C) Sri Lanka D) Australia
 
Answer & Explanation Answer: A) UK

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities

1 2344