Questions

Q:

Rise in sugar levels in blood is detected by the cells of:

A) Liver B) Gall bladder
C) Kidney D) Pancreas
 
Answer & Explanation Answer: D) Pancreas

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT

4 2507
Q:

Improve the bracketed part of the sentence.
(Hardly nothing) was offered to the victims of the earthquake.

A) Hardly something B) Hardly anything
C) Hardly little D) No improvement
 
Answer & Explanation Answer: B) Hardly anything

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2506
Q:

Tides in the sea are caused by 

A) Effect of Sun B) Effect of Moon
C) Combined effect of Moon and Sun D) Gravitational Force of Earth and Sun
 
Answer & Explanation Answer: C) Combined effect of Moon and Sun

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

0 2505
Q:

What is meant by Maskable interrupts?

Answer

An interrupt that can be turned off by the programmer is known as Maskable interrupt.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2505
Q:

In what city would you find the Kowloon peninsula?

Answer

Hong Kong

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

0 2504
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 2504
Q:

Gases in the atmosphere and their percentages?

Answer

The air around us is a mixture of gases, mainly nitrogen and oxygen, but containing much smaller amounts of water and other gases.


Earth's atmosphere is composed of many gases. Their percentages by volume is given by::


 
78% Nitrogen,


21% Oxygen,


0.9% Argon, and


0.03% Carbon dioxide 


And very small percentages of other elements.


 

Report Error

View answer Workspace Report Error Discuss

Subject: General Science Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO

1 2504
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 2504