Questions

Q:

Number of alary muscles in cockroach

A) 12 B) 12 pairs
C) 6 D) 24 pairs
 
Answer & Explanation Answer: B) 12 pairs

Explanation:
Report Error

View Answer Report Error Discuss

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

4 2429
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”.

Both of us had a different opinion about it.

A) Both of us has  B) Each of us had 
C) Each of us have  D)  No improvement 
 
Answer & Explanation Answer: B) Each of us had 

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2428
Q:

The world's most liveable city 2018?

A) Melbourne B) Damascus
C) Dhaka D) Vienna
 
Answer & Explanation Answer: D) Vienna

Explanation:

Vienna has become the world's most pleasant city to live in by topping the Global Liveability Index of the Economist Intelligence Unit by dislodging Melbourne, the Austrian capital.

 

While Damascus retained the last place and Dhaka, Bangladesh's capital was in second last place in the annual survey examined 140 metropolitan cities.

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

2 2428
Q:

What is fingerprint powder made of?

A) Rosin B) Black ferric oxide
C) Lamp black D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2428
Q:

when an atom loses an electron it becomes

A) neutron B) negative ion
C) positive ion D) none of the above
 
Answer & Explanation Answer: C) positive ion

Explanation:

If it loses an electron it becomes a positive ion

Report Error

View Answer Report Error Discuss

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

1 2427
Q:

Which of the following information is definitely true with respect to given information?

A) L is an immediate neighbour of N B) K sits second to the right of O
C) L likes Pink Colour D) J likes Brown Colour
 
Answer & Explanation Answer: D) J likes Brown Colour

Explanation:

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2427
Q:

Give the truth table for a Half Adder. Give a gate level Implementation of the same.

Answer

TRUTH TABLE FOR HALF ADDER


A    B  SUM  CARRY


0    0    0         0


0    1    1         0


1    0    1         0


1    1    0         1


INPLEMENTATION:


For SUM, The two inputs A and B are given to XOR gate.


For Carry, The two inputs A and B are given to AND gate.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2427
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 2425