Questions

Q:

Answer the following puzzle

Answer

To the 6


Explanation:


Starting with the top left clockface and working clockwise around the others, the sum of the numbers pointed to by the 2 hands starts at 3 and increases by 2 each time.

Report Error

View answer Workspace Report Error Discuss

Subject: Clock puzzles

13 3746
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 3746
Q:

'Sheqel' is the currency of 

A) Israel B) Kenya
C) Iraq D) Iran
 
Answer & Explanation Answer: A) Israel

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams
Job Role: Bank PO

3 3745
Q:

Rearrange the parts of the sentence in correct order.


Most of


P: had urban backgrounds


Q: Ministers of Japan


R: the erstwhile Prime

 

A) QPR B) RQP
C)  PQR D) RPQ
 
Answer & Explanation Answer: B) RQP

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 3744
Q:

What stays where it is when it goes off?

A) An Alarm B) A T.V
C) A light switch D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

All the above will stay where they are when they goes off. Basically anything that can swithch on or off will come under this.

Report Error

View Answer Report Error Discuss

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

6 3743
Q:

In which core leader competency is the warrior ethos exemplified

Answer

The U.S. Army identifies eight core leadership competencies. One of these--leading by example--exemplifies the warrior ethos. The leader is always required to behave in a way that provides those under his or her command with a positive and effective role model.


 


 In_which_core_leader_competency_is_the_warrior_ethos_exemplified1558508870.jpg image


 


The warrior ethos is a value that is eschewed by the U.S. Army.


The Army defines it as the adherence to a code that includes always putting the mission first, never accepting defeat, never quitting, and never leaving behind a comrade who has fallen.

Report Error

View answer Workspace Report Error Discuss

Subject: World Organisations Exam Prep: Bank Exams
Job Role: Bank Clerk

3 3741
Q:

In November 2017, who launched the 'Deen Dayal SPARSH Yojana' for school children?

 

A) Jayant Sinha B) Prakash Javadekar
C) Manoj Sinha D) Arun Jaitley
 
Answer & Explanation Answer: C) Manoj Sinha

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

2 3741
Q:

The command to eliminate a table from a database is

A) REMOVE TABLE CUSTOMER; B) UPDATE TABLE CUSTOMER;
C) DELETE TABLE CUSTOMER; D) DROP TABLE CUSTOMER;
 
Answer & Explanation Answer: D) DROP TABLE CUSTOMER;

Explanation:

The SQL DROP TABLE statement is used to remove a table definition and all data, indexes,...

Report Error

View Answer Report Error Discuss

4 3741