Questions

Q:

Out of the four alternatives, choose the one which can be substituted for the given words/sentences and click the button corresponding to it.

A person who is working in the same institution.

A) Guide B) Collector
C)  Captain D) Colleague
 
Answer & Explanation Answer: D) Colleague

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: TOEFL , GRE , CAT

0 2422
Q:

In which state president rule has been imposed in 2018 December?

A) Haryana B) Delhi
C) Telangana D) Jammu & Kashmir
 
Answer & Explanation Answer: D) Jammu & Kashmir

Explanation:
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 2422
Q:

The Regent (released Voltaire) P (having discovered that he had imprisoned) Q (Ran innocent man and gave him a pension) S

The correct sequence should be

A) P Q R S B) P R S Q
C) Q R S P D) Q R P S
 
Answer & Explanation Answer: D) Q R P S

Explanation:

Since, the starting statement carries a subject; the next statement will carry a verb i.e. Q follows as it mentioned the discovery of the Regent. R will bethe continuing statement which states what he actually discovered. P follows next as it talked about the reaction of the Regent after the discovery. And S would be the concluding statement and thus form a coherent paragraph.

The correct formation would be, ‘The Regent having discovered that he had imprisoned an innocent man released Voltaire and gave him a pension.’

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2422
Q:

Deficiency of which minerals causes goiter?

A) Magnesium B) Calcium
C) Iodine D) Sulphur
 
Answer & Explanation Answer: C) Iodine

Explanation:

Deficiency of Iodine cause Goiter also called Enlarged Thyroid. It doesn't give any pain but difficult to swallow and breath are its causes.

Report Error

View Answer Report Error Discuss

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

13 2421
Q:

Process of gaining electrons is known as _____.

A) oxidation B) reduction
C) radiation D) both oxidation and reduction
 
Answer & Explanation Answer: B) reduction

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 2420
Q:

The question below consists of a set of labelled sentences. Out of the four options given, select the most logical order of the sentences to form a coherent paragraph. Integrating diversity

P: governance which is firmly grounded

Q: in international human rights law

R: goes hand in hand with

A) QPR B) RPQ
C) PRQ D) QRP
 
Answer & Explanation Answer: B) RPQ

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2420
Q:

A series is given with one term missing. Choose the correct alternative from the given ones that will complete the series.
BC, GHI, NOPQ, ?

A) BCDEF B) UVWXY
C) WXYZA D) STUVW
 
Answer & Explanation Answer: C) WXYZA

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2420
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 2420