Questions

Q:

'Agronomy' is the practice of raising ______________

A) Plants and Animals B) Crop plants
C) Agriculture D) Fruit plants only
 
Answer & Explanation Answer: A) Plants and Animals

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

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

Which country is now the 2nd largest consumer and importer of the LPG in the world?

A) USA B) Japan
C) China D) India
 
Answer & Explanation Answer: D) India

Explanation:

The 2nd largest consumer and importer of the LPG in the worldis India.

Report Error

View Answer Report Error Discuss

0 2404
Q:

Which determines the frequency of a sound wave?

A) Amplitude B) Speed
C) Source D) Medium
 
Answer & Explanation Answer: A) Amplitude

Explanation:

The frequency of a sound wave is determined by the amplitude of the wave. As amplitude of the wave is high the frequency of the wave will also be high.

Report Error

View Answer Report Error Discuss

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

2 2403
Q:

The book Taste of India is written by

A) Ramachandra Guha B) Khushwanth Singh
C) Chetan Bhagat D) Madhur Jaffrey
 
Answer & Explanation Answer: D) Madhur Jaffrey

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2403
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 2403
Q:

Which best describes the structure of a DNA molecule?

A) A double helix B) A strand of nucleic acids
C) A single strand of amino acids D) A sugar ring
 
Answer & Explanation Answer: A) A double helix

Explanation:

DNA is not a single stranded and does not have amino acids. Hence options, b & C are eiminated. Dna is a double helix structure containing nucleobase—either cytosine (C), guanine (G), adenine (A), or thymine (T)—as well as a monosaccharide sugar called deoxyribose and a phosphate group. 

Report Error

View Answer Report Error Discuss

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

1 2403
Q:

Look at the underlined part of each sentence. Below each sentence are given three possible substitutions for the underlined part. If one of them (a), (b) or (c) is better than the underlined part, indicate your response on the Answer Sheet against the corresponding letter. If none of the substitutions imporves the sentence, indicate (d) as your response on the Answer Sheet.

 

But for one witness the accused ought to have been sent to jail.

A) would have B) had
C) should have D) No improvement
 
Answer & Explanation Answer: A) would have

Explanation:

‘ought’ represents advice, ‘would’ represents strong possibility of an event here. ‘would have’ will be the correct grammatical expression here. The sentence expresses that the accused was not sent to jail because of one witness.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2403