Questions

Q:

Who started Shudhi Movement?

A) Dayananda Saraswathy B) Sri Aurobindo
C) Swami Vivekananda D) Yashoda Bhai
 
Answer & Explanation Answer: A) Dayananda Saraswathy

Explanation:

Shudhi Movement was started by Dayananda Saraswathy.

Report Error

View Answer Report Error Discuss

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

3 2427
Q:

The bar graph shows the number of employees working in the different departments of a company. Study the diagram and answer the following questions

Which department has the lowest number of employees?

A) C B) D
C) A D) B
 
Answer & Explanation Answer: B) D

Explanation:
Report Error

View Answer Report Error Discuss

1 2426
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 2426
Q:

Which countries launched a common digital currency "Aber"?

A) UAE & Saudi Arabia B) Saudi Arabia & Iraq
C) Iraq & UAE D) Malaysia & UAE
 
Answer & Explanation Answer: A) UAE & Saudi Arabia

Explanation:

The United Arab Emirates (UAE) central bank (UAECB) and the Saudi Arabian Monetary Authority (SAMA) have announced that the interbank digital currency they are co-developing will be called 'Aber.'

Report Error

View Answer Report Error Discuss

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

2 2426
Q:

The basic structural unit of the body is the

A) Organs B) Cell
C) Nerve D) Brain
 
Answer & Explanation Answer: B) Cell

Explanation:

Cells are the the basic structural unit of the body.

Report Error

View Answer Report Error Discuss

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

5 2426
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 2425
Q:

How many bits are in a MAC address?

A) 64 B) 48
C) 32 D) 16
 
Answer & Explanation Answer: B) 48

Explanation:

MAC - Media Access Control, address is a globally unique identifier assigned to network devices, and therefore it is often referred to as hardware or physical address.

 

MAC addresses are 6-byte (48-bits) in length, and are written in MM:MM:MM:SS:SS:SS format.

Report Error

View Answer Report Error Discuss

0 2425
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

 

The tail is wagging the dog

 

 

A) A situation where a small good thing makes everyone happy B) The less important or subsidiary factor, person, or thing dominates a situation  
C) A person who is always happy to meet you D) Even smaller tasks become important if the whole project is to succeed
 
Answer & Explanation Answer: B) The less important or subsidiary factor, person, or thing dominates a situation  

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT , GRE , TOEFL

11 2425