Questions

Q:

The best - paid player in the world playing with Barcelona team

Answer

Lionel Messi

Report Error

View answer Workspace Report Error Discuss

Subject: Sports

2 2379
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 2378
Q:

Siachen is a

A) frontier zone between India and Myanmar B) desert frontier zone between India and Pakistan
C) glacier frontier zone between India and Pakistan D) frontier zone between China and India
 
Answer & Explanation Answer: C) glacier frontier zone between India and Pakistan

Explanation:

Siachen is a glacier frontier zone between India and Pakistan.

Siachen_is_a1554289418.jpg image

Report Error

View Answer Report Error Discuss

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

4 2378
Q:

Which among the following is/are female hormones?
(i) Estrogen
(ii) Progesterone
(iii) Testosterone

A) (i) and (iii) B) (i) and (ii)
C) (ii) and (iii) D) Only (iii)
 
Answer & Explanation Answer: B) (i) and (ii)

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

5 2378
Q:

The 106th Indian Science Congress 2019 will held in which place?

A) Hyderabad B) Punjab
C) Kolkata D) Bangalore
 
Answer & Explanation Answer: B) Punjab

Explanation:

The 106th Indian Science Congress 2019 will held in Lovely Professional University in Jalandhar, Punjab from 3rd January 2019 to 7th January 2019. PM Narendra Modi is going to inaugarate this.

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 2378
Q:

Liquids and gases never show

A) diamagnetic property B) paramagnetic property
C) ferromagnetic property D) electromagnetic property
 
Answer & Explanation Answer: C) ferromagnetic property

Explanation:

On the basis of magnetic properties, substances are classified into three groups namely diamagnetic, paramagnetic and ferromagnetic.

As solids diffuse and reorder very slowly under ambient conditions, the net, directionally dependent (anisotropic) magnetic moment can persist. Conversely, liquids and gases freely tumble and reorder: water rearranges every few pico seconds (10^12 times per second).

Hence liquids and gases can never show ferromagnetic properties.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

0 2378
Q:

Which is not a benefit of burning garbage for fuel?

A) It creates more space for farming B) It produces methane that can be used like natural gas
C) It partially addresses the solid waste disposal problem D) It provides biomass energy
 
Answer & Explanation Answer: A) It creates more space for farming

Explanation:

Garbage burning is common in rural areas, but it poses health concerns and hazards to the environment. It especially affects people with sensitive respiratory systems, as well as children and the elderly.

 

Benefits ::

  • It produces methane that can be used like natural gas.
  • It partially addresses the solid waste disposal problem.
  • It provides biomass energy.

 

Hence, it creates more space for farming is not the benefit of the burning garbage.

Report Error

View Answer Report Error Discuss

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

2 2377
Q:

At which stage in its life cycle does the silkworm yield the fiber of commercial use

A) Larva B) Egg
C) Pupa D) Imago
 
Answer & Explanation Answer: C) Pupa

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

3 2377