Questions

Q:

The world's most liveable city 2018?

A) Melbourne B) Damascus
C) Dhaka D) Vienna
 
Answer & Explanation Answer: D) Vienna

Explanation:

Vienna has become the world's most pleasant city to live in by topping the Global Liveability Index of the Economist Intelligence Unit by dislodging Melbourne, the Austrian capital.

 

While Damascus retained the last place and Dhaka, Bangladesh's capital was in second last place in the annual survey examined 140 metropolitan cities.

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

2 2433
Q:

What is fingerprint powder made of?

A) Rosin B) Black ferric oxide
C) Lamp black D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2433
Q:

In the following question, a sentence has been given in Direct/Indirect speech. Out of the four alternatives suggested, select the one, which best express the same sentence in Indirect/Direct speech.

Anil says, "I am glad to be here this morning"

A) Anil says he is glad to be there that morning. B) Anil says that he is glad to be there that morning.
C) Anil was saying that he was glad to be there this morning. D) Anil says that he was glad to be here this morning.
 
Answer & Explanation Answer: B) Anil says that he is glad to be there that morning.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 2433
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 2432
Q:

The bar graph shows the number of employees working in the different departments of a company. Study the diagram and answer the following questions

Which department has the lowest number of employees?

A) C B) D
C) A D) B
 
Answer & Explanation Answer: B) D

Explanation:
Report Error

View Answer Report Error Discuss

1 2431
Q:

The basic structural unit of the body is the

A) Organs B) Cell
C) Nerve D) Brain
 
Answer & Explanation Answer: B) Cell

Explanation:

Cells are the the basic structural unit of the body.

Report Error

View Answer Report Error Discuss

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

5 2431
Q:

Improve the bracketed part of the sentence.
Shouts of the crowd cheering the home team now (stuff) the air.

A) fill B) occupy
C) infest D) no improvement
 
Answer & Explanation Answer: A) fill

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2431
Q:

Steven Leslie was convicted of what after causing a fatal collision?

A) first-degree murder B) second-degree murder
C) premeditated D) None of the above
 
Answer & Explanation Answer: B) second-degree murder

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2430