Questions

Q:

GDP tends to overstate economic well-being because it takes into account

Report Error

View answer Workspace Report Error Discuss

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

3 2320
Q:

SEBI is evaluating whether ICO (Initial Coin Offerings) can be brought under its purview. ICO is related to ______.

 

A) Dollars B) Pounds
C) Rupees D) Cyptocurrency
 
Answer & Explanation Answer: D) Cyptocurrency

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: Bank Exams

3 2320
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 2320
Q:

India's 1st 'Methanol Cooking Fuel Program' has been recently launched in which of the following state? 

A) Assam B) Tripura
C) Karnataka D) Odisha
 
Answer & Explanation Answer: A) Assam

Explanation:
Report Error

View Answer Report Error Discuss

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

4 2320
Q:

The shape of the nucleus is maintained by

A) the nuclear lamina B) the nuclear envelope
C) the nucleolus D) the endoplasmic reticulum
 
Answer & Explanation Answer: A) the nuclear lamina

Explanation:

The shape of the nucleus is maintained by the nuclear lamina.

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

What is it called when you can't hear?

A) Deaf B) Dumb
C) Mute D) Blind
 
Answer & Explanation Answer: A) Deaf

Explanation:

When you can't hear it is called as Deaf.

Report Error

View Answer Report Error Discuss

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

3 2319
Q:

Which state has recorded highest number of tigers in 2018?

A) Karnataka B) Madhya Pradesh
C) Chhattisgarh D) Uttarakhand
 
Answer & Explanation Answer: B) Madhya Pradesh

Explanation:

India being number one in the Tiger population all over the world, Madhya Pradesh state has the highest number of tigers with 526 tigers and Karnataka is second with 524.

Report Error

View Answer Report Error Discuss

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

4 2319
Q:

What is FtDisk?

Answer

It is a fault tolerance disk driver for Windows NT.

Report Error

View answer Workspace Report Error Discuss

1 2319