Questions

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

Why is it a bad idea to duplicate keywords in multiple Ad Groups?

Answer

Keywords in multiple ad groups compete against each other, and the keyword with the higher performance will trigger the ad in that Ad Group to run.

Report Error

View answer Workspace Report Error Discuss

0 2397
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 2396
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 2396
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 2395
Q:

Improve the bracketed part of the sentence.
The exhausted travellers seemed relieved when the train finally (came into) the station.

A) pulled in B) pulled into
C) pulled onto D) no improvement
 
Answer & Explanation Answer: A) pulled in

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2394
Q:

Four words are given, out of which only one word is spelt correctly. Choose the correctly spelt word and click the button corresponding to it.

A) Conniosseur B) Connoisseur
C)  Connossieur D) Connosseiur
 
Answer & Explanation Answer: B) Connoisseur

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2394
Q:

Which is not a major function of the kidney?

A) filtering minerals from blood B) fluids balance
C) filtering wastes from blood D) None of the above
 
Answer & Explanation Answer: D) None of the above

Explanation:

Which_is_not_a_major_function_of_the_kidney1551356551.jpg image

The three main functions of Kidneys are ::

 

* Regulating and filtering minerals from blood.

* Maintaining overall fluid balance.

* Filtering waste materials from food, medications, and toxic substances.

Report Error

View Answer Report Error Discuss

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

1 2394