Questions

Q:

What is at the end of a rainbow?

Answer

The logical answer for a puzzle is that the letter 'W'.


 


A rainbow is a spectrum of light that appears in the sky when sunlight is refracted through raindrops or other drops of moisture in the Earth's atmosphere. They have inspired much popular folklore, including the belief that a leprechaun can be found with a pot of gold at the end of a rainbow.

Report Error

View answer Workspace Report Error Discuss

3 4146
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 4144
Q:

Which river has no mention in Rigaveda

A) Sindhu B) Saraswati
C) Yamuna D) Periyar
 
Answer & Explanation Answer: D) Periyar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

2 4142
Q:

World Soil Day is celebrated on ?

A) July 26 B) June 30
C) August 9 D) December 5
 
Answer & Explanation Answer: D) December 5

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

15 4141
Q:

Number of moles of CO2 present in 24 grams of carbon is

A) 0.5 B) 1
C) 2 D) 0.25
 
Answer & Explanation Answer: C) 2

Explanation:

1 mole of CO2 contain 12gms of carbon and 44 gms of CO2

therefore  24 gms of carbon is present in 88 gms of CO2 or 2 moles of CO2

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

7 4140
Q:

Which standard govern parallel communications?

A) CAT 5 B) IEEE 1284
C) RS-232 D) None of the above
 
Answer & Explanation Answer: B) IEEE 1284

Explanation:

IEEE 1284 is a standard that govern parallel communications.

 

  • IEEE 1284 is a standard that defines bi-directional parallel communications between computers and other devices.

 

  • It was originally developed in the 1970s by Centronics, and was widely known as the Centronics port, both before and after its IEEE standardization.

 

                      which_standard_govern_parallel_communications1539064136.jpg image

Report Error

View Answer Report Error Discuss

6 4138
Q:

National Commission for Backward Classes was set up in 

A) 1991 B) 1992
C) 1993 D) 1994
 
Answer & Explanation Answer: C) 1993

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

6 4138
Q:

Which of these was a goal of unions?

A) union ownership of business B) government ownership of business
C) a shorter workweek D) government reform
 
Answer & Explanation Answer: C) a shorter workweek

Explanation:

Labor unions are associations of workers who pursue common objectives. Workers use this platform to bargain collectively on behalf of the majority of workers.

Report Error

View Answer Report Error Discuss

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

3 4138