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:

What can a location extension do?

Answer

Assist nearby customers in finding or calling your nearest location.

Report Error

View answer Workspace Report Error Discuss

0 2027
Q:

Who is the inventor of WWW?

A) Ray Tomlinson B) Bill Gates
C) Charles Babbage D) Tim Berners-Lee
 
Answer & Explanation Answer: D) Tim Berners-Lee

Explanation:

The English scientist Tim Berners-Lee invented the WWW in 1989. The World Wide Web, also known as the WWW and the Web, is an information space where documents and other web resources are identified by Uniform Resource Locators, interlinked by hypertext links, and accessible via the Internet.

Report Error

View Answer Report Error Discuss

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

5 2027
Q:

Which electromagnetic wave has the highest frequency?

A) Gamma Rays B) Radio waves
C) X rays D) Microwaves
 
Answer & Explanation Answer: A) Gamma Rays

Explanation:

In all Electromagnetic waves, Gamma Rays have the highest frequency and the lowest wavelength. Whereas Radio ways have lowest Frequency and the highest wavelength. 

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: CAT , Bank Exams

0 2027
Q:

Soil having high content of aluminum and iron oxide is also known as _____.

A) meadow soil B) pedalfer soil
C) chernozen soil D) podzol soil
 
Answer & Explanation Answer: B) pedalfer soil

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: Bank Exams

3 2027
Q:

Read the passage carefully and select the best answer to each question out of the given four alternatives.


Public opinion may be passive and false or active and real. It is claimed in theory that all governments are ultimately based on the opinion or sanction of the governed. But we find that in practice the people's rights are often trodden down and tyranny and oppression are allowed to continue. The government does it not because the people want it to do so but because they are too idle, too uneducated and too disunited or timid to oppose the govern ment. Such public opinion is passive and false and not an active verdict. But when we find people alert, intelligent and determined to let the government know their will, when they want to exercise actively their voice in the management of their country, we have an instance of true or active public opinion. True public opinion is formed by and expressed through the press, the platform, political parties and educational institutions. These have sacred duties to perform, duties on which depends the ultimate good of the entire community. The press today wields a tremendous influence, So it should support the causes and move ments and condemn the wrong one's and thus teach people to form correct opinion. A free and fair press ventilates the grievances of the public. Thus a healthy relationship develops between the people and the government through out an unbiased press. Political parties also help to create and regulate opinions. No less important part is played by the educational Institutions which train the minds of the young people who will be the citizens of tomorrow. It has been said that modern Germany and China have been made by their universities. It is necessary that the young and the growing minds should imbibe the spirit of fellow-feeling, the spirit of tolerance, the habit of compromise, and show due regard for the feelings and opinion of others without which a democratic society cannot function, let alone succeed. When there is true awakening of the people, we shall have the real and conscious public opinion. And justice will reign on earth and truly will the voice of the people be the voice of God.


Who among the following has tremendous influence in forming the true public opinion?

A) Press B) Political parties
C) Educational intuitions D) God man
 
Answer & Explanation Answer: A) Press

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 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:

In the following question, some part of the sentence may have errors. Find out which part of the sentence has an error and select the appropriate option. If a sentence is free from error, select 'No Error'.

The boy who (1)/ sat close him (2)/ was his son. (3)/No Error (4)

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: B) 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2027