Questions

Q:

The book Taste of India is written by

A) Ramachandra Guha B) Khushwanth Singh
C) Chetan Bhagat D) Madhur Jaffrey
 
Answer & Explanation Answer: D) Madhur Jaffrey

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2507
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 2506
Q:

Voiceless it cries, wingless flutters, toothless bites, mouth-less mutters.

What is it?

Answer

It is The Wind which cries without a voice, flutters without wings, bites toothless and mutters mouthless.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: AIEEE , GRE
Job Role: Analyst , Bank PO

1 2506
Q:

What is the cause of most boating accidents?

what_is_the_cause_of_most_boating_accidents1538570800.jpg image

A) Machinery failure B) Alcohol use
C) Lack of proper look-out D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

The main causes for the boat accidents are ::

1. Excessive speed

2. Machinery failure

3. Operator inexperience

4. Alcohol use

5. Operator inattention

6. Lack of proper look-out

7. Careless/reckless behavior and hull failure

8. Hazardous waters

and some more...

Report Error

View Answer Report Error Discuss

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

0 2506
Q:

The force exerted on an object is 200 N and its mass is 100 kg. Find the acceleration of the object.

A) 2 m/s B) 2 m
C) 2 m/sq.s D) 2 s
 
Answer & Explanation Answer: C) 2 m/sq.s

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: CAT , Bank Exams , AIEEE

0 2506
Q:

What is the SI unit of heat energy?

A) Joule B) Newton
C) Calorie D) Kelvin
 
Answer & Explanation Answer: A) Joule

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

4 2506
Q:

An enumerated power the president has is

A) Nominate officials B) Appoint judges
C) Nominating high offocials D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Enumerate specific powers granted to the president, which include the authority to appoint judges, ambassadors, and other high-ranking government officials.

Report Error

View Answer Report Error Discuss

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

1 2506
Q:

Georgian loyalists and rebel forces (after a week of fighting) P (agreed to) Q (a cease fire today) R (in which 51 people were killed) S

The correct sequence should be

 

 

A) P Q R S B) Q R S P
C) Q P S R D) Q R P S
 
Answer & Explanation Answer: D) Q R P S

Explanation:

Since, the sentence starts talking about the forces, the continuing statement would be the statement talking about the consensus of the forces on a particular point i.e. Q follows. R will be the next statement as it connects Q by stating that they agreed for a cease fire. The next statement would be talking about the reason of the cease fire, therefore, P follows and S would be the concluding statement which makes a coherent paragraph. The correct formation would be, ‘Georgian loyalists and rebel forces agreed to a ceasefire today after a week of fighting in which 51 people were killed’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2506