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:

Who has been honoured with Jnanpith Award for 2018?

A) Amitav Ghosh B) Raghuveer Chaudary
C) Krishna Sobti D) None of the above
 
Answer & Explanation Answer: A) Amitav Ghosh

Explanation:

English author Amitav Ghosh has been honoured with 54th Jnanpith Award for 2018 for his outstanding contribution towards literature.

Report Error

View Answer Report Error Discuss

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

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

Group 7A of the periodic table contains the

A) most reactive metals B) least reactive non metals
C) most reactive non metals D) least reactive metals
 
Answer & Explanation Answer: C) most reactive non metals

Explanation:
Report Error

View Answer Report Error Discuss

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

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

In the following question, the sentence given with blank to be filled in with an appropriate word. Select the correct alternative out of the four and indicate it by selecting the appropriate option.

Ramesh ______ into his own trap

A) falling B) was fell
C) fell D) fall down
 
Answer & Explanation Answer: C) fell

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2004
Q:

A sentence has been given in Direct/Indirect Speech. Out of the four given alternatives, select the one which best expresses the same sentence in Indirect/Direct Speech.

He said, “The dog died in the night.”

A) He inform about the dog’s death. B) He says dog died in the night.
C) The dog had died in the night, he said. D) He said that the dog had died in the night.
 
Answer & Explanation Answer: D) He said that the dog had died in the night.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , CAT

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