Questions

Q:

Aniruddh's birthday is on Sunday 2nd April. On what day of the week will be Priyansh's Birthday in the same year if Priyansh was born on 28th October?

A) Saturday B) Wednesday
C) Friday D) Thursday
 
Answer & Explanation Answer: A) Saturday

Explanation:
Report Error

View Answer Report Error Discuss

6 2264
Q:

Which of the following is a World Bank group of five institutions

A) IMF B) IDA
C) ILO D) ITU
 
Answer & Explanation Answer: B) IDA

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

1 2264
Q:

Where is the headquaters of the Universal postal Union

A) Switzerland B) UK
C) Iran D) India
 
Answer & Explanation Answer: A) Switzerland

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

2 2263
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 2263
Q:

Which lenses should be used to correct the defect of astigmatism?

A) Convex lens B) Bifocal lens
C) Concave lens D) Cylindrical lens
 
Answer & Explanation Answer: D) Cylindrical lens

Explanation:

Astigmatism is a common vision condition that causes blurred vision. It occurs when the cornea is irregularly shaped or sometimes because of the curvature of the lens inside the eye.

Report Error

View Answer Report Error Discuss

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

9 2263
Q:

What are the roles of glass-box and black-box testing tools?

Answer

Glass Box (or white box) testing is the process of giving i/p to the system and checking how the system processes i/p to generate o/p


Black Box testing is the process of giving i/p to the system and checking if the system is giving correct o/p without bothering how the o/p is generated.


As we can see from the definitions, the role of black box testing is to ensure that the o/p generated is correct. And role of white box testing is to ensure that methods used to generate the o/p are correct.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

0 2262
Q:

How to get dissertation introduction writing ideas

Answer

Most of the students do not know anything about the dissertation writing and the services.So always students are depending on the dissertation writing services.Students can get the dissertation introduction writing ideas from the dissertation writing services, this will benefit for your future.

Report Error

View answer Workspace Report Error Discuss

0 2261
Q:

Who is the Chief Election Commissioner of India 2018?

A) Ashok Lavasa B) Om Prakash Rawat
C) Montek Singh Ahluwalia D) Sunil Arora
 
Answer & Explanation Answer: B) Om Prakash Rawat

Explanation:

Om Prakash Rawat is the Chief Election Commissioner of India where Ashok Lavasa & Sunil Arora are the Election Commissioners of India. The Election Commission of India had announced Assembly elections for 5 states recently.

Report Error

View Answer Report Error Discuss

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

3 2261