Questions

Q:

 Which of the following is required for the DB2 optimizer to consider a hash join strategy?

A) Optimization level 1 or above B) Equijion predicates
C) Registry variable DB_ANTIJOIN=YES D) SORTHEAP large enough to contain the tables being joined
 
Answer & Explanation Answer: B) Equijion predicates

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

1 2322
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

Run out of steam

A) Lose impetus or enthusiasm.   B) To keep going even after losing all energy.
C) Have no more funds to proceed any further D) Build interest as you go along
 
Answer & Explanation Answer: A) Lose impetus or enthusiasm.  

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: CAT , GRE , TOEFL
Job Role: Bank Clerk , Bank PO

0 2321
Q:

Strength of concrete increases with

A) increase in fineness of cement B) decrease in size of aggregate
C) increase in water cement ratio D) decrease in curing time
 
Answer & Explanation Answer: C) increase in water cement ratio

Explanation:

Strength of concrete increases with increase in water cement ratio as the strength of the cement is directly proportional to water cement ratio.

Report Error

View Answer Report Error Discuss

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

2 2321
Q:

Limbs of frog, lizard, bird and human are example of ______ organs.

A) Homogenous B) Heterogeneous
C) Analogous D) Homologous
 
Answer & Explanation Answer: D) Homologous

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology

4 2321
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 2321
Q:

Which part of the brain is responsible for memory?

A) Cerebellum B) Medulla Oblongata
C) Cerebrum D) All of the above
 
Answer & Explanation Answer: A) Cerebellum

Explanation:
Report Error

View Answer Report Error Discuss

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

8 2321
Q:

What occurs during the appropriations process?

A) Congress acquires requested oversight material from the executive. B) Congress instructs the president to eliminate federal agencies.
C) Congress grants funds to federal agencies. D) Congress makes laws.
 
Answer & Explanation Answer: C) Congress grants funds to federal agencies.

Explanation:

Appropriations are annual decisions made by Congress about how the federal government spends some of its money. In general, the appropriations process addresses the discretionary portion of the budget – spending ranging from national defense to food safety to education to federal employee salaries, but excludes mandatory spending, such as Medicare and Social Security, which is spent automatically according to formulas.

 

Hence, congress grants funds to federal agencies and programs during the appropriations process.

Report Error

View Answer Report Error Discuss

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

2 2320
Q:

The purpose of safety stock is to

A) eliminate the possibility of a stockout B) control the likelihood of a stockout due to the variability of demand during lead time
C) replace failed units with good ones D) eliminate the likelihood of a stockout due to erroneous inventory tally
 
Answer & Explanation Answer: B) control the likelihood of a stockout due to the variability of demand during lead time

Explanation:

The purpose of safety stock is to control the likelihood of a stockout due to the variability of demand during lead time. Stockouts contribute to the direct loss of any type of business.

Report Error

View Answer Report Error Discuss

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

4 2320