Questions

Q:

Write a c program to check whether a number is strong or not.

Answer

#include<stdio.h>
int main(){
  int num,i,f,r,sum=0,temp;

  printf("Enter a number: ");
  scanf("%d",&num);
 
  temp=num;
  while(num){
      i=1,f=1;
      r=num%10;

      while(i<=r){
         f=f*i;
        i++;
      }
      sum=sum+f;
      num=num/10;
  }
  if(sum==temp)
      printf("%d is a strong number",temp);
  else
      printf("%d is not a strong number",temp);

  return 0;
}

Sample output:
Enter a number: 145
145 is a strong number

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2027
Q:

A passage is given with five questions following it. Read the passage carefully and select the best answer to each question out of the given four alternatives.

 

He wasn't the first, nor would he be the last, but the wiry, bespectacled man from Gujarat is certainly the most famous of the world's peaceful political dissidents. Mohandas Gandhi – also affectionately known as Mahatma – led India's independence movement in the 1930s and 40s by speaking softly without carrying much of a big stick, facing down the British colonialists with stirring speeches and non-violent protest. More than anything else, historians say, Gandhi proved that one man has the power to take on an empire, using both ethics and intelligence.

 

Urges Britain to quit India

It is hard to imagine the thin, robed Gandhi working in the rough and tumble world of law, but Gandhi did get his start in politics as a lawyer in South Africa, where he supported the local Indian community's struggle for civil rights. Returning to India in 1915, he carried over his desire to improve the situation of the lower classes.

 

Gandhi quickly became a leader within the Indian National Congress, a growing political party supporting independence, and traveled widely with the party to learn about the local struggles of various Indian communities.

 

It was during those travels that his legend grew among the Indian people, historians say.

 

Gandhi was known as much for his wit and intelligence as for his piety. When he was arrested several more times over the years for his actions during the movement,  Gandhi calmly fasted in prison, believing that his death would embarrass the British enough to spur independence, which had become the focus of his politics by 1920.

 

Gandhi's non-cooperation movement, kicked off in the early 1920s, called for Indians to boycott British goods and traditions and become self-reliant. His most famous protest came in 1930, when Gandhi led thousands of Indians on a 250-mile march to a coastal town to produce salt, on which the British had a monopoly.

 

Which of the following can help one to "take on" an empire?

A) By acting ethically and intelligently. B) By getting violent as and when required.
C) By being a good orator. D) By speaking softly.
 
Answer & Explanation Answer: A) By acting ethically and intelligently.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 2027
Q:

Read the passage carefully and choose the best answer to each question out of the four alternatives and click the button corresponding to it.

Awareness means the capacity to see a coffee pot and hear the birds sing in one's own way, and not the way one was taught. It may be assumed on good grounds that seeing and hearing have a different quality for infants than for grownups and that they are more aesthetic and less intellectual in the first years of life. A little boy sees and hears birds with delight. Then the 'good father' comes along and feels he should 'share' the experience and help his son 'develop'. He says, "That's a jay and this is a sparrow." The moment the little boy is concerned with which is a jay and which is a sparrow, he can no longer see the birds or hear them sing. He has to see and hear them the way his father wants him to. Father has good reasons on his side: since few people can afford to go through life listening to the birds sing, sooner the little boy starts his 'education' the better. Maybe he will be an ornithologist when he grows up.


What would the 'good father' do?

A) He would teach his son the way of the world. B) He would share and feel his son's experience.
C) He would share his experiences and help his son 'develop'. D) He would tell his son to live his way.
 
Answer & Explanation Answer: C) He would share his experiences and help his son 'develop'.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2027
Q:

During the tenure of which of the following prime ministers The Lok Sabha never meet?

A) Chaudhary Charan Singh B) H D Deve Gowda
C) Morar Ji Desai D) I K Gujral
 
Answer & Explanation Answer: A) Chaudhary Charan Singh

Explanation:

During the tenure of the Prime Minister Chaudhary Charan Singh The Lok Sabha never meet.

Report Error

View Answer Report Error Discuss

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

2 2026
Q:

Ammonia can be dried by

A) Sulphuric acid B) Calcium oxide
C) Phosphorus pentoxide D) Calcium Chloride
 
Answer & Explanation Answer: D) Calcium Chloride

Explanation:

Ammonia can be dried by Calcium Chloride or calcium hydroxide.

Report Error

View Answer Report Error Discuss

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

1 2026
Q:

Four statements are given below at A, B, C and D. There may be some errors in the given statement(s). The incorrect statement is your answer.

A) Racing for the bus, her bag flew open and all the documents were lost. B) As she raced for the bus, her bag flew open making the documents lost.
C) Racing for the bus, her bag flung open and all the documents were lost. D) The documents were lost, when racing for the bus, her bag flung open.
 
Answer & Explanation Answer:

Explanation:

Options A, C and E in the absence of a proper subject add the ‘bag’ automatically to the verb ‘racing for the bus’. So, it does not make any sense as it would mean that the bag is racing for the bus. Option B is incorrect because of the fragment ‘making the documents lose’. Option D doesn't convey the proper meaning.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: CAT , GRE , TOEFL

0 2026
Q:

In the following question, out of the four alternatives, select the word opposite in meaning to the word given.
Desecrate

A) Sanctify B) Profane
C) Befoul D) Defile
 
Answer & Explanation Answer: A) Sanctify

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2026
Q:

What country has the largest Muslim population?

Answer

Indonesia

Report Error

View answer Workspace Report Error Discuss

Subject: World Geography

1 2026