Questions

Q:

What was the topic of the book 'The Other America'?

A) Poverty was widespread in America. B) Education was lacking in America.
C) Racism was widespread in America. D) Americans needed more highways.
 
Answer & Explanation Answer: A) Poverty was widespread in America.

Explanation:

The book "The Other America" was written by Michael Harrington. The topic of the book 'The Other America' was Poverty was widespread in America.

Report Error

View Answer Report Error Discuss

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

3 3760
Q:

Write a c program to find out sum of diagonal element of a matrix.

Answer

#include<stdio.h>

int main(){

  int a[10][10],i,j,sum=0,m,n;

  printf("\nEnter the row and column of matrix: ");
  scanf("%d %d",&m,&n);

  printf("\nEnter the elements of matrix: ");
  for(i=0;i<m;i++)
      for(j=0;j<n;j++)
           scanf("%d",&a[i][j]);
  printf("\nThe matrix is\n");

  for(i=0;i<m;i++){
      printf("\n");
      for(j=0;j<m;j++){
      printf("%d\t",a[i][j]);
      }
 }
 for(i=0;i<m;i++){
     for(j=0;j<n;j++){
          if(i==j)
              sum=sum+a[i][j];
     }
 }
 printf("\n\nSum of the diagonal elements of a matrix is: %d",sum);

 return 0;
}

Sample output:

Enter the row and column of matrix: 3 3
Enter the elements of matrix:
2
3
5
6
7
9
2
6
7
The matrix is
2       3       5
6       7       9
2       6       7
Sum of the diagonal elements of a matrix is: 16

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 3760
Q:

The office of  the UN general Assembly is in

A) Vienna B) Paris
C) Newyork D) Zurich
 
Answer & Explanation Answer: C) Newyork

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

4 3759
Q:

What is the capital of Bangladesh ?

A) Dhaka B) Chittagong
C) Khulna D) Sylhet
 
Answer & Explanation Answer: A) Dhaka

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

18 3758
Q:

Which of the following group does NOT follow Newlands Law of Octaves?

 

A) Li, Na B) Be, Mg  
C) C, Si   D) Mn, Hg
 
Answer & Explanation Answer: D) Mn, Hg

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 3758
Q:

Gases used in normal welding?

A) Oxygen and Acetylene B) Acetylene and Nitrogen
C) Oxygen, Hydrogen and Acetylene D) Oxygen and Hydrogen
 
Answer & Explanation Answer: A) Oxygen and Acetylene

Explanation:

Normal Gas welding use oxygen-acetylene.

 

Depending on what materials you are welding, there are some more options that might be used.

For example - MIG/TIG use Argon, MAG use an argon-something mix.

Report Error

View Answer Report Error Discuss

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

1 3758
Q:

Which of the following is the world's most poisonous snake called Hydrophis ?

A) Adder B) Boa
C) Cobra D) Sea Snake
 
Answer & Explanation Answer: D) Sea Snake

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank PO

20 3757
Q:

Seagate is manufacturer of

A) harddisk B) earth moving equipment
C) picture tube D) banking software
 
Answer & Explanation Answer: A) harddisk

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Business Awareness

14 3757