Questions

Q:

Climatology is a subspecialty of

A) meteorology B) environmental science
C) oceanography D) marine biology
 
Answer & Explanation Answer: B) environmental science

Explanation:

Climatology is a study of climate which is subspecialty of environmental science studies.

Report Error

View Answer Report Error Discuss

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

4 2393
Q:

A perfectly inelastic demand curve

A) Vertical with some steep B) Perfectly horizontal
C) Horizontal with some steep D) Perfectly vertical
 
Answer & Explanation Answer: D) Perfectly vertical

Explanation:

A perfectly inelastic demand curve is perfectly vertical either up or down in any way.

Report Error

View Answer Report Error Discuss

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

1 2393
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 2393
Q:

Improve the bracketed part of the sentence.
The exhausted travellers seemed relieved when the train finally (came into) the station.

A) pulled in B) pulled into
C) pulled onto D) no improvement
 
Answer & Explanation Answer: A) pulled in

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2392
Q:

Select the synonym of
to preside

A) to acquiesce B)  to concur
C) to officiate D) to accord
 
Answer & Explanation Answer: C) to officiate

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2391
Q:

Select the synonym of
dabble

A) solemn B) austere
C) meditative D) dally
 
Answer & Explanation Answer: D) dally

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2391
Q:

The outermost layer of the earth is called

A) Core B) Mantle
C) Crust D) Inner core
 
Answer & Explanation Answer: C) Crust

Explanation:
Report Error

View Answer Report Error Discuss

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

6 2391
Q:

Which is not a major function of the kidney?

A) filtering minerals from blood B) fluids balance
C) filtering wastes from blood D) None of the above
 
Answer & Explanation Answer: D) None of the above

Explanation:

Which_is_not_a_major_function_of_the_kidney1551356551.jpg image

The three main functions of Kidneys are ::

 

* Regulating and filtering minerals from blood.

* Maintaining overall fluid balance.

* Filtering waste materials from food, medications, and toxic substances.

Report Error

View Answer Report Error Discuss

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

1 2390