Questions

Q:

What was India's rank in the latest ICC One Day International Rankings?

A) 1st B) 2nd
C) 3rd D) 4th
 
Answer & Explanation Answer: B) 2nd

Explanation:

India's rank in the latest ICC One Day International Rankings is Second. England tops the list followed by India, South Africa, New Zealand, Pakistan, Australia in the list.

 

Whereas India's rank in the latest ICC Test International Rankings is First followed by South Africa and England in 2nd and 3rd places.

Report Error

View Answer Report Error Discuss

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

1 2410
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 2409
Q:

How long is your TABC certification valid?

A) 1 year B) 2 years
C) 4 years D) 6 months
 
Answer & Explanation Answer: B) 2 years

Explanation:

TABC stands for Texas Alcoholic Beverage Commission. The Texas Alcoholic Beverage Commission regulates the sales, taxation, production, trade, and advertising of alcoholic beverages in Texas. Alcohol Seller/server Training regulated by this regulatory body is also called TABC Certification. It makes the rules the rest of us have to follow, and if you want to get a job serving alcohol in Texas, getting TABC certified is your first step.

Report Error

View Answer Report Error Discuss

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

1 2409
Q:

Barbituric Acid was synthesized in 1864 by

A) Adolf von Baeyer B) Marie Curie
C) Mendeleev D) John Dalton
 
Answer & Explanation Answer: A) Adolf von Baeyer

Explanation:

German Chemist, Adolf von Baeyer first synthesized Barbituric Acid in 1864.

Report Error

View Answer Report Error Discuss

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

2 2409
Q:

Brown stains in vessels and clothes indicate the presence of high quantities of ________ in water

A) Magnesium B) Calcium
C) Manganese D) Chromium
 
Answer & Explanation Answer: C) Manganese

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 2409
Q:

A rotating column of air is called

A) Tornado B) Vortex
C) Airmass D) None of the above
 
Answer & Explanation Answer: A) Tornado

Explanation:

A rotating column of air is called as a Tornado which extends from the thunderstorm to the ground.

Report Error

View Answer Report Error Discuss

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

2 2409
Q:

Which invention allowed computers to be smaller?

A) Integrated Circuits B) RAM
C) Vacuum Tubes D) CPU
 
Answer & Explanation Answer: A) Integrated Circuits

Explanation:

IC's (Integrated Circuits) also called as Chips or Microchips whose invention allowed computers to be smaller and smaller.

Report Error

View Answer Report Error Discuss

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

2 2408
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 2407