Questions

Q:

If m+n=1, then the value of m3+n3+3mn is equal to

A) 0 B) 1
C) 2 D) 3
 
Answer & Explanation Answer: B) 1

Explanation:
Report Error

View Answer Report Error Discuss

0 2494
Q:

Which of the following event organised to mark Diwali celebrations, has entered Guinness Book of World Records in 2018?

A) Ayodhya Deepostav B) HarHarGange Deepostav
C) Varanasi Deepostav D) Gange Deepostav
 
Answer & Explanation Answer: A) Ayodhya Deepostav

Explanation:

Ayodhya Deepostav event organised to mark Diwali celebrations in Ayodya town has entered Guinness Book of World Records in 2018.

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

0 2493
Q:

The light reactions of photosynthesis supply the calvin cycle with

A) CO2and ATP B) ATP and NADPH
C) light energy D) H2O and NADPH
 
Answer & Explanation Answer: B) ATP and NADPH

Explanation:

The light reactions of photosynthesis supply the calvin cycle with ATP and NADPH.

Report Error

View Answer Report Error Discuss

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

3 2493
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 2492
Q:

What is FtDisk?

Answer

It is a fault tolerance disk driver for Windows NT.

Report Error

View answer Workspace Report Error Discuss

1 2492
Q:

Executing Process Group

What are the Project Management Processes included in the Executing Process Group?

Answer


    • Direct and Manage Project Execution

    • Perform Quality Assurance

    • Acquire Project Team

    • Develop Project Team

    • Information Distribution

    • Request Seller Responses

    • Select Sellers


Report Error

View answer Workspace Report Error Discuss

0 2491
Q:

Which one among the following stars is nearest to the earth?

A) Proxima Centauri B) Sirius
C) Arcturus D) Spica
 
Answer & Explanation Answer: A) Proxima Centauri

Explanation:

Proxima Centauri is the nearest star to the Earth.

Report Error

View Answer Report Error Discuss

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

14 2491
Q:

What is the Budgetary allocation to the Pradhan Mantri Gram Sadak Yojana in 2019?

A) Rs 25,000 Crores B) Rs 19,000 Crores
C) Rs 15, 000 Crores D) Rs 28, 000 Crores
 
Answer & Explanation Answer: B) Rs 19,000 Crores

Explanation:

In 2019, the Budgetary allocation to the Pradhan Mantri Gram Sadak Yojana was Rs 19,000 Crores.

Report Error

View Answer Report Error Discuss

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

4 2491