Questions

Q:

A person who enjoys pain is called

A) Sadist B) Dipsomania
C) Masochist D) Blogomaniac
 
Answer & Explanation Answer: C) Masochist

Explanation:

A person who enjoys in feeling or being pain is called Masochist. The person who enjoys inflicting pain on others is called as Sadist.

Report Error

View Answer Report Error Discuss

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

0 2330
Q:

Write a program for matrix multiplication in c

Answer

#include <stdio.h>


int main() {


  int a[5][5], b[5][5], c[5][5], i, j, k, sum = 0, m, n, o, p;


  printf( "\nEnter the row and column of first matrix" );


  scanf( "%d %d", &m, &n );


  printf( "\nEnter the row and column of second matrix" );


  scanf( "%d %d", &o, &p );


  if(n!=o) {


      printf( "Matrix mutiplication is not possible" );


      printf( "\nColumn of first matrix must be same as row of second matrix" );


  }


  else {


      printf( "\nEnter the First matrix" );


      for( i=0; i<m; i++ )


      for( j=0; j<n; j++ )


           scanf( "%d", &a[i][j] );


      printf( "\nEnter the Second matrix" );


      for( i=0; i<o; i++ )


      for( j=0; j<p; j++ )


           scanf( "%d", &b[i][j] );


      printf( "\nThe First matrix is\n" );


      for( i=0; i<m; i++ ) {


      printf("\n");


      for( j=0; j<n; j++ ) {


           printf( "%d\t", a[i][j] );


      }


      }


      printf( "\nThe Second matrix is\n" );


      for( i=0; i<o; i++ ) {


      printf("\n");


      for( j=0; j<p; j++ ) {


           printf( "%d\t", b[i][j] );


      }       


      }


      for( i=0; i<m; i++ )


      for( j=0; j<p;j++ )


           c[i][j] = 0;


      for( i=0; i<m; i++ ) { //row of first matrix


      for( j=0; j<p; j++ )  {  //column of second matrix


           sum = 0;


           for( k=0; k<n; k++ )


               sum = sum + a[i][k]*b[k][j];


           c[i][j] = sum;


      }


      }


  }


  printf( "\nThe multiplication of two matrix is\n" );


  for( i=0; i<m; i++ ) {


      printf("\n");


      for( j=0; j<p; j++ ) {


           printf( "%d\t", c[i][j] );


      }


  }


  return 0;


}

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2329
Q:

In which country the hormone gibberellin was discovered?

A) India B) Japan
C) China D) Russia
 
Answer & Explanation Answer: B) Japan

Explanation:

The hormone gibberellin was discovered in the country Japan.

Report Error

View Answer Report Error Discuss

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

0 2328
Q:

In the biosphere living beings are inter-related and interdependent on each other for survival. This life supporting system is known as the __________.

A) Ecosystem B) Mountain range
C) Forest D) Atmosphere
 
Answer & Explanation Answer: A) Ecosystem

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

1 2328
Q:

On election day, voters for President are really voting for

A) Electors B) President
C) The speaker of the House D) Both B & C
 
Answer & Explanation Answer: A) Electors

Explanation:

On election day, voters for The President are really voting for the electors who can elect President.

Report Error

View Answer Report Error Discuss

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

3 2328
Q:

Who is known as the father of Modern Chemistry?

A) Robert Boyle B) Antoine Lavoisier
C) John Dalton 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: Analyst , Bank Clerk , Bank PO

0 2328
Q:

The reverse effect of X-ray emission is

A) Raman effect B) Compton effect
C) Zeeman effect D) Photo-electric effect
 
Answer & Explanation Answer: D) Photo-electric effect

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

2 2328
Q:

'Agronomy' is the practice of raising ______________

A) Plants and Animals B) Crop plants
C) Agriculture D) Fruit plants only
 
Answer & Explanation Answer: A) Plants and Animals

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

1 2327