Questions

Q:

To which class do honey bees bees belong?

A) Insecta B) Apidae
C) Arthropoda D) Hymenoptera
 
Answer & Explanation Answer: A) Insecta

Explanation:

Honey bees bees belong to the class insects or insecta.

Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

11 2390
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 2390
Q:

The Nobel Literature Prize 2018 has been awarded to

A) Bob Dylan B) Shashi Tharoor
C) George Saunders D) No one
 
Answer & Explanation Answer: D) No one

Explanation:

This is for the first time that no Literature Prize will be given in 70 years because of a #MeToo scandal.

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 2390
Q:

Plant cell walls consist mainly of

A) Chitin B) peptidoglycan
C) cellulose D) chlorophyll
 
Answer & Explanation Answer: C) cellulose

Explanation:

Plant cell walls are mostly made up of the molecule cellulose. Cellulose is a polysaccharide, a complex sugar made of long chains of glucose.

 

The cell wall must be made of thick and strong material as it provides the structural shape of the plant and protection from insects and microorganisms.

Report Error

View Answer Report Error Discuss

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

1 2390
Q:

Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.


Namita is from the state of Kerala. She has come to Dubai to serve as a governess for the only child of the Nairs. The Nairs are nice and gentle and Namita has no cause to complain. One day she overhears something that makes her jittery. Mr. Nair is not employed in an American company as she has been told. The nature of his business is illegal. She is shocked and wants to go back to her home town to her own people.

Gopal is from a very poor family. His family owns a very small piece of land that can hardly meet their food requirement. One day, Gopal gets a nice offer to work in the Emirates with a construction contractor. In order to meet the expenses on travelling, the family decides to sell their own land and send Gopal to the foreign country, to make money. On arrival, the contractor confiscates Gopal's passport and gives him a small place to live in with ten others like him. Gopal has little idea what he must do.


The conclusion that can be drawn from both situations is that people should

A) stay in their own countries and villages B) feel contented and satisfied with their lot
C) verify details before accepting any job D) not travel to these regions of the world
 
Answer & Explanation Answer: C) verify details before accepting any job

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2390
Q:

What would be the output of the following program?

/* sample.c */

main ( int argc, char **argv )

{

     argc = argc - (argc -1);

     printf ("%s", argv[argc - 1]);

}

Answer

C: \SAMPLE.EXE

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2388
Q:

Which nutrient provides maximum energy?

A) Fats B) Carbohydrates
C) Proteins D) None of the above
 
Answer & Explanation Answer: A) Fats

Explanation:

The nutrient which provides the maximum energy is Fat. It provides the energy of 9 calories/gram.

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 2388
Q:

Net exports are negative when

A) exports are greater than imports B) imports are greater than exports
C) No exports D) None of the above
 
Answer & Explanation Answer: B) imports are greater than exports

Explanation:


When exports are greater than imports, net exports are positive and similarly, when imports are greater than exports, net exports are negative.

 

When a country imports goods, it buys them from foreign producers. The money spent on imports leaves the economy, and that decreases the importing nation's GDP.

Report Error

View Answer Report Error Discuss

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

0 2387