Questions

Q:

When you need me, you throw me away. But when you're done with me, you bring me back. What am I ?

Answer

An Anchor.

Report Error

View answer Workspace Report Error Discuss

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

10 2282
Q:

What would be the output of the following program?

# define SQR(x) (x * x)

main()

{

    int a, b = 3;

    a = SQR ( b + 2 );

    Printf ("\n %d ", a );

}

Answer

11


Because, on preprocessing the expression becomes  a = ( 3 + 2 * 2 + 3),  as Ist preference is multiply & then addition, it evalvates as(3+ 2 * 3 +2) = (3+6+2)=11.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2282
Q:

What is the hierarchy in the structure of the House?

A) The Speaker is at the top, and the whips are at the bottom. B) The floor leaders are at the top, and the members are at the bottom.
C) The members are at the top, and the floor leaders are at the bottom. D) The Speaker is at the top, and the members are at the bottom.
 
Answer & Explanation Answer: D) The Speaker is at the top, and the members are at the bottom.

Explanation:

Hierarchy is a method to structure an establishment employing various levels of administration and a vertical section, or series of command, between higher and lower levels of the organization. Superior levels dominate lower levels of the bureaucracy.

 

The Speaker is at the top, and the members are at the bottom.

Report Error

View Answer Report Error Discuss

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

2 2282
Q:

The commercial and marketing arm of ISRO is

A) Antrix Corporation Limited B) ISRO Satelliet Corporation
C) Space Applications Center D) None
 
Answer & Explanation Answer: A) Antrix Corporation Limited

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2281
Q:

How long can you commit to work with us?

Answer

I like new challenges and fortunate to develop. As long as I keep doing these, I don’t think I’ll need to alter. I’d like to consider that this relationship lasts for many years. However, I haven’t set a period of time limit as such.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Human Resources

3 2281
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 2280
Q:

Analog computer works on the supply of

A) Magnetic strength B) Continuous electrical pulses
C) Discontinuous electrical pulses D) None of the above
 
Answer & Explanation Answer: B) Continuous electrical pulses

Explanation:

Analog_computer_works_on_the_supply_of1557395703.jpg image

An analog computer or analogue computer is a type of computer that uses the continuously changeable aspects of physical phenomena such as electrical, mechanical, or hydraulic quantities to model the problem being solved.

Report Error

View Answer Report Error Discuss

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

2 2280
Q:

The combined gas law relates which of the following?

A) Volume & Temperature B) Temperature & Pressure
C) Volume & Pressure D) Volume, Temperature & Pressure
 
Answer & Explanation Answer: D) Volume, Temperature & Pressure

Explanation:

The combined gas law states that the ratio between the pressure-volume product and the temperature of a system remains constant.

 

Hence it depends on all the three Volume, Temperature & Pressure.

Report Error

View Answer Report Error Discuss

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

2 2280