Questions

Q:

Which of the following event organised to mark Diwali celebrations, has entered Guinness Book of World Records in 2018?

A) Ayodhya Deepostav B) HarHarGange Deepostav
C) Varanasi Deepostav D) Gange Deepostav
 
Answer & Explanation Answer: A) Ayodhya Deepostav

Explanation:

Ayodhya Deepostav event organised to mark Diwali celebrations in Ayodya town has entered Guinness Book of World Records in 2018.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

0 2496
Q:

Which country recently unveiled the world's first underground hotel?

A) Japan B) Dubai
C) China D) Malaysia
 
Answer & Explanation Answer: C) China

Explanation:

China recently unveiled the world's first underground hotel.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2496
Q:

Rise in sugar levels in blood is detected by the cells of:

A) Liver B) Gall bladder
C) Kidney D) Pancreas
 
Answer & Explanation Answer: D) Pancreas

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT

4 2496
Q:

Gravitational force is maximum at which place

A) Poles B) Tropic of cancer
C) Tropic of capricorn D) Equator
 
Answer & Explanation Answer: A) Poles

Explanation:

Gravitational force is the force that binds everything at the surface of the earth. Gravitational force is maximum at Poles.

Report Error

View Answer Report Error Discuss

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

5 2495
Q:

Separation of judiciary from executive is enjoined by

A) Preamble B) Judicial decision
C) Directive Principle D) Seventh schedule
 
Answer & Explanation Answer: C) Directive Principle

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2495
Q:

Which of the following equals one atomic mass unit?

A) one-twelfth the mass of one carbon-12 atom B) the mass of one electron
C) one-sixth the mass of one helium-4 atom D) the mass of one carbon-12 atom
 
Answer & Explanation Answer: A) one-twelfth the mass of one carbon-12 atom

Explanation:

One atomic mass unit (AMU) is equal to the one-twelfth the mass of one carbon-12 atom.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2495
Q:

Glycolysis is the conversion of

A) Glucose to pyruvate B) Glucose to proteins
C) Pyruvate to glucose D) All of the above
 
Answer & Explanation Answer: A) Glucose to pyruvate

Explanation:

Glycolysis is the metabolic process of converting 1 molecule of glucose to 2 molecules of pyruvate through a series of 10 enzyme catalyzed reactions.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2495
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 2494