Questions

Q:

Who is the author of the book ' The Goldfinch'

Answer

Donna Tratt

Report Error

View answer Workspace Report Error Discuss

25 4324
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 4324
Q:

What is the capital of colombia?

A) Beijing B) Dacota
C) Bogota D) Moroni
 
Answer & Explanation Answer: C) Bogota

Explanation:

Capital of Colombia is Bogota

Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

17 4323
Q:

A definition of formal poetry is verse that

A) is written in blank verse. B) sticks to certain traditional patterns.
C) uses figurative language. D) has no rhyme scheme.
 
Answer & Explanation Answer: B) sticks to certain traditional patterns.

Explanation:
Report Error

View Answer Report Error Discuss

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

2 4323
Q:

The country where citizens rejected adopting world's highest minimum wage (25 dollars an hour) in a referendum recently

Answer

Switzerland 

Report Error

View answer Workspace Report Error Discuss

2 4322
Q:

What time of year do squirrels build nests?

A) Winter B) Summer
C) Rainy D) Monsoon
 
Answer & Explanation Answer: B) Summer

Explanation:

Squirrels typically build leaf nests in the summer by weaving together small branches they've gnawed off of trees. These nests are lined with grass, moss, leaves and pine needles. Both male and female gray squirrels of all ages participate in building dens.
 

Report Error

View Answer Report Error Discuss

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

12 4321
Q:

Customer Perceptions and Business Outcomes help to define what ?

A) Key Performance Indicators (KPI's) B) Service Value
C) Total Cost of Ownership (TCO) D) Governance
 
Answer & Explanation Answer: B) Service Value

Explanation:
Report Error

View Answer Report Error Discuss

6 4317
Q:

The NADPH required for the calvin cycle comes from

A) Reactions initiated in photosystem 1 B) Citric acid cycle
C) Reactions initiated in photosystem 2 D) Glycolysis
 
Answer & Explanation Answer: C) Reactions initiated in photosystem 2

Explanation:

ATP and NADPH produced by the light reactions are used in the Calvin cycle to reduce carbon dioxide to sugar. The Calvin cycle is similar to the Krebs cycle in that the starting material is regenerated by the end of the cycle.

Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

5 4317