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 2005
Q:

What is SMP?

Answer

To achieve maximum efficiency and reliability a mode of operation known as symmetric multiprocessing is used. In essence, with SMP any process or threads can be assigned to any processor.

Report Error

View answer Workspace Report Error Discuss

1 2004
Q:

Who invented FM radio?

A) Edwin Howard Armstrong B) Thomas Alva Edison
C) Graham Bell D) Galileo
 
Answer & Explanation Answer: A) Edwin Howard Armstrong

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2004
Q:

The federalist papers were written by which future President?

A) John Adams B) Alexander Hamilton
C) James Madison D) John Jay
 
Answer & Explanation Answer: C) James Madison

Explanation:

James Madison was the one who became President in the future after writing The federalist papers. Alexander Hamilton, James Madison and John Jay were the three who wrote The federalist papers. 

Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

3 2004
Q:

Michael Schumacher is associated with which sport?

A) Football B) Golf
C) Formula One racing D) Swimming
 
Answer & Explanation Answer: C) Formula One racing

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

1 2004
Q:

The first two steps in the lithification process are

A) Cementation and Proposal B) Compaction and Ratification
C) Compaction and Cementation D) Ratification and Cementation
 
Answer & Explanation Answer: C) Compaction and Cementation

Explanation:

The first two steps in the lithification process are Compaction and Cementation.

Report Error

View Answer Report Error Discuss

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

2 2004
Q:

Which gas in the atmosphere is essential for respiration?

A) Argon B) Carbon dioxide
C) Oxygen D) Nitrogen
 
Answer & Explanation Answer: C) Oxygen

Explanation:

Inhaling of oxygen and releasing of carbon dioxide to make our living is the process called as respiration. We know that, air is a mixture several gases like 78% of nitrogen, 21% of oxygen and several other gases with watervapour.

 

Hence, Oxygen is essential for respiration process.

Report Error

View Answer Report Error Discuss

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

4 2004
Q:

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

A) Ardent B) Indifferent
C) Prohibit D) Merciless
 
Answer & Explanation Answer: A) Ardent

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2004