Questions

Q:

How long is a term in the house of representatives?

A) 5 B) 2
C) 4 D) 6
 
Answer & Explanation Answer: B) 2

Explanation:

Members of the House of Representatives serve two-year terms and are considered for reelection every even year.

Report Error

View Answer Report Error Discuss

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

2 2422
Q:

What does FIFA stand for

Answer

FIFA stand for Federation Internationale de Football Association.


what_does_fifa_stand_for1549624513.jpg image

Report Error

View answer Workspace Report Error Discuss

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

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

The relationship between quantity supplied and price is

A) Directly proportional B) Inverselyproportional
C) Can't be determined D) None of the above
 
Answer & Explanation Answer: A) Directly proportional

Explanation:

Price and quantity supplied move in the same direction. As the price decreases, quantity supplied also decreases and viceversa.

Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2420
Q:

Glass is made of the mixture of

A) sand and silicates B) quartz and sand
C) mica and quartz D) mica and silicates
 
Answer & Explanation Answer: A) sand and silicates

Explanation:

A glass is made of liquid sand. You can make glass by heating ordinary sand and made into a liquid and mix with silicates to form a glass.

Report Error

View Answer Report Error Discuss

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

6 2420
Q:

Find the current (in A) when a charge of 1200C flows in 6 seconds.

A) 7200 B) 200
C) 100 D) 3600
 
Answer & Explanation Answer: B) 200

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams , GATE
Job Role: Bank Clerk , Bank PO

0 2420
Q:

The 8th World CSR Congress 2019 in?

A) Mumbai B) Hyderabad
C) Kolkata D) Pune
 
Answer & Explanation Answer: A) Mumbai

Explanation:

The 8th World CSR Congress 2019 in Mumbai.

Report Error

View Answer Report Error Discuss

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

1 2419
Q:

In the following question, a word has been written in four different ways out of which only one is correctly spelt. Select the correctly spelt word.

 

A) Ambarass B) Embarass
C) Embarrs D) Embarrass
 
Answer & Explanation Answer: D) Embarrass

Explanation:
Report Error

View Answer Report Error Discuss

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

3 2419