Questions

Q:

In 1921,during which one of the following tours, Gandhiji shaved his head and began wearing loincloth in order to identity with the poor?

A) Ahmadabad B) Champaran
C) Chauri Chaura D) South India
 
Answer & Explanation Answer: D) South India

Explanation:

On 22nd September 1921, Gandhi made a momentous decision to change his attire. From the elaborate Gujarati attire, he decided on a simple dhoti and shawl. This epoch-making decision was taken by Gandhiji in Madurai after he decided that he has to work for and with the with the poor people of India and how can he identify with them if he wears different clothes from them.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

6 1921
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 1921
Q:

In 1936 Gandhi shifted his ashram to segaon from Sabarmati . What new name did Gandhi give the villege?

Answer

Sevagram

Report Error

View answer Workspace Report Error Discuss

0 1920
Q:

Autocorrect was originally designed to replace

A) Misspelled words B) Grammatically incorrect
C) Repetitive words D) All of the above
 
Answer & Explanation Answer: A) Misspelled words

Explanation:

autocorrect_was_originally_designed_to_replace1561613833.jpg image

 

Autocorrect was originally designed to replace Misspelled words. Its purpose is as part of the spell checker to correct common spelling or typing errors, saving time for the user. It is commonly found in word processors and text editing interfaces for smartphones, computers, etc.

Report Error

View Answer Report Error Discuss

4 1920
Q:

Can anyone solve this in 20 seconds?

Answer

3 + 5 + 6  = 151872


3x5, 3x6, Rev of (3x5 + 3x6 - 6) 


 


5 + 5 + 6  = 253094


5x5, 5x6, Rev of (5x5 + 5x6 - 6)


 


Similarly,


9x4 = 36


9x7 = 63


So 36 + 63 = 99


From 99 - 7 =  92


Reverse of 92=29


 


Hence, 9 + 4 + 7 =  366329.

Report Error

View answer Workspace Report Error Discuss

Subject: Math Puzzles Exam Prep: Bank Exams
Job Role: Bank Clerk , Bank PO

9 1919
Q:

If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

Answer

The heterogeneous linked list contains different data types in its nodes and we need a link, pointer to connect them. It is not possible to use ordinary pointers for this. So we go for void pointer. Void pointer is capable of storing pointer to any type as it is a generic pointer type.

Report Error

View answer Workspace Report Error Discuss

Subject: Database Exam Prep: GATE
Job Role: Database Administration

0 1917
Q:

Which statement describes decomposers?

A) Decomposers are insignificant organisms in the ecosystem and can be absent in some ecosystems. B) Decomposers can produce their own source of energy and can sometimes act as primary producers.
C) Decomposers are those organisms that recycle matter in the ecosystem.. D) All the above
 
Answer & Explanation Answer: C) Decomposers are those organisms that recycle matter in the ecosystem..

Explanation:

Decomposers are organisms that break down dead or decaying organisms, and in doing so, they carry out the natural process of decomposition.

 

The statement "Decomposers are those organisms that recycle matter in the ecosystem" describes decomposers.

Report Error

View Answer Report Error Discuss

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

2 1917
Q:

How many Covalent Bonds can Nitrogen form

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

Explanation:

Nitrogen (N2) forms Three Covalent Bonds to become stable.

 

Here the Atmomic Number of Nitrogen is 7. Because there are 2 electrons in the first orbital and 5 in the second and you still have space for 3 more. So it shares, 3 to get the stable octet. Therefore, there are 3 covalent bonds in N2.

Report Error

View Answer Report Error Discuss

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

8 1916