Questions

Q:

Consider the following statement :“A sound body means one whichbends itself to the spirit and is always a ready instrument at its service.”The above statement is attributed to

A) Sardar Patel B) Winston Churchill
C) Mahatma Gandhi D) Baden-Powell
 
Answer & Explanation Answer: C) Mahatma Gandhi

Explanation:

According to Gandhiji, A sound body means one which bends itself to the spirit and is always a ready instrument at its service. Such bodies are not made, in my opinion, on the football field. They are made on cornfields and farms.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: GATE

8 2429
Q:

Write a c program for selection sort.

Answer

include<stdio.h>
int main(){

  int s,i,j,temp,a[20];

  printf("Enter total elements: ");
  scanf("%d",&s);

  printf("Enter %d elements: ",s);
  for(i=0;i<s;i++)
      scanf("%d",&a[i]);

  for(i=0;i<s;i++){
      for(j=i+1;j<s;j++){
           if(a[i]>a[j]){
               temp=a[i];
              a[i]=a[j];
              a[j]=temp;
           }
      }
  }

  printf("After sorting is: ");
  for(i=0;i<s;i++)
      printf(" %d",a[i]);

  return 0;
}

Output:
Enter total elements: 5
Enter 5 elements: 4 5 0 21 7
The array after sorting is:  0 4 5 7 21

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2427
Q:

Missing letters puzzle

Answer

Answer:  U


Explanation:  Start with the D on the outer left of the diagram, and move clockwise around the outer segments, then start on the N anti-clockwise around the inner segments. Letters advance through the alphabet in steps of 3, then 4, 5, and 6, repeating this sequence.

Report Error

View answer Workspace Report Error Discuss

5 2427
Q:

Who is the Richest investor as per March 2013?

Answer

Warren Edward Buffett(USA), chairman of Berkshire Hathaway, is the world's richest investor, estimated to be worth $53.5 billion as of march 2013.

Report Error

View answer Workspace Report Error Discuss

1 2427
Q:

How would you obtain segment and offset addresses from a far address of a memory location?

Answer

#include "dos.h"


main()


{


    Char far *scr = ( char far *) 0xB8000000;


    Char *seg, *off;


    Seg = (char *) FP_SEG ( scr );


    Off = ( char *) FP_OFF ( scr );


}


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2426
Q:

When is international day for the Elimination of violence against women , recognized by the UN is observed?

A) December 11 B) July 11
C) November 25 D) August 9
 
Answer & Explanation Answer: C) November 25

Explanation:
Report Error

View Answer Report Error Discuss

2 2426
Q:

The book Mother India was authored by

A) Annie Besant B) Katherine Mayo
C) Mrinalini Sinha D) Lala Lajpath Rai
 
Answer & Explanation Answer: B) Katherine Mayo

Explanation:

The book Mother India (1927) is a polemical book by American historian Katherine Mayo which attacks Indian society, religion and culture.

Report Error

View Answer Report Error Discuss

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

3 2425
Q:

Convert the expression ((A + B) * C – (D – E) ^ (F + G)) to equivalent Prefix Notation

Answer

Prefix Notation:


^ - * +ABC - DE + FG

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2425