Questions

Q:

Number of alary muscles in cockroach

A) 12 B) 12 pairs
C) 6 D) 24 pairs
 
Answer & Explanation Answer: B) 12 pairs

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

4 2381
Q:

I am the first on earth, the second in heaven. I appear twice in a week, though you can only see me once in a year. What am I?

Answer

It is the letter 'e', that is the first on earth, the second in heaven.


It appears twice in a week, that appears once in a year.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: Bank Exams
Job Role: Bank Clerk , Bank PO

11 2381
Q:

For how many months is a cheque valid from the date of issue?

A) 1 month B) 2 months
C) 3 months D) 6 months
 
Answer & Explanation Answer: C) 3 months

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

31 2380
Q:

What gas makes up most of the atmosphere?

A) Oxygen B) Helium
C) Nitrogen D) Carbondioxide
 
Answer & Explanation Answer: C) Nitrogen

Explanation:

Our atmosphere is made up of

78% Nitrogen,

21% Oxygen and

1% all other gases like argon, carbon dioxide, neon, and helium.

 

So, Nitrogen makes up the majority of our atmosphere.

Report Error

View Answer Report Error Discuss

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

6 2380
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 2379
Q:

The bankruptcy of which company initiated the Panic of 1873?

A) Republic Steel Company B) Jay Cooke & Company
C) Standard Oil Company D) Century Building Society
 
Answer & Explanation Answer: B) Jay Cooke & Company

Explanation:

Jay Cooke & Company, a major component of the United States banking establishment, found itself unable to market several million dollars in Northern Pacific Railway bonds in september 1873. Cooke's firm, like many others, had invested heavily in the railroads.

 

Hence, the bankruptcy of Jay Cooke & company initiated the Panic of 1873.

Report Error

View Answer Report Error Discuss

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

0 2379
Q:

'Babeuf's Conspiracy' , an important event in the history socialism, was associated with which of the following countries?

A) Gemany B) France
C) Italy D) England
 
Answer & Explanation Answer: B) France

Explanation:

The wide gap between the aims of the French Revolution(equality in economic, social and political life) and the actual conditions in France after revolution created serious discontent among the people. It led to an attempt to overthrow the existing government in France with a view to building a society based on socialist ideas. This attempt, known as Babeuf's conspiracy, is an important event in the history of socialism.

      The conspiracy,as the name indicates, was the work of Noel Babeuf. He was born in 1760 and has participated in the French Revolution . He organised a secret society called the 'Society of the Equals'. 

Report Error

View Answer Report Error Discuss

Filed Under: World History

0 2378
Q:

What is XPath?

Answer

XPath is an expressions to select a xml node in an XML document.


It allows the navigation on the XML document to the straight to the element where we need to reach and access the attributes.


 

Report Error

View answer Workspace Report Error Discuss

1 2378