Questions

Q:

Which of the following countries is associated with 'Glorious Revolution'?

A) France B) Russia
C) USA D) England
 
Answer & Explanation Answer: D) England

Explanation:

After the deaths of  Cromwell monarchy was restored and Charles II was made king of England. He and his successor, James II tried to assert the superiority of the monarchy. But feelings against this kind of rule had grown too strong. In 1688, a group of politicians invited William of Orange, the husband of James II's daughter, Mary, and rulers of Holland, to become king. Without firing a shot, William reached London and James II fled to France. The throne was granted to William and Mary Jointly. This event is known as the 'Glorious Revolution' . This revolution marked the triumph of parliament over the monarchy.

Report Error

View Answer Report Error Discuss

Filed Under: World History

1 2500
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 2499
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 2499
Q:

In the following question, out of the given four alternatives, select the one which is opposite in meaning of the given word.

Vagrant

A) Idle B) Roving
C) Settled D) Wanderer
 
Answer & Explanation Answer: C) Settled

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2499
Q:

A sentence/a part of the sentence is underlined. Four alternatives are given to the underlined part which will improve the sentence. Choose the correct alternative and click the button corresponding to it. In case no improvement is needed, click the button corresponding to "No improvement".

The Vice Chancellor congratulated the blind student for his success in the examination

A) in his B) on his
C) over his D) No improvement
 
Answer & Explanation Answer: B) on his

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2499
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 2499
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 2498
Q:

Glycolysis is the conversion of

A) Glucose to pyruvate B) Glucose to proteins
C) Pyruvate to glucose D) All of the above
 
Answer & Explanation Answer: A) Glucose to pyruvate

Explanation:

Glycolysis is the metabolic process of converting 1 molecule of glucose to 2 molecules of pyruvate through a series of 10 enzyme catalyzed reactions.

Report Error

View Answer Report Error Discuss

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

1 2498