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

What goes in dry and comes out wet?

Answer

A Bath towel or a tea bag are suitable answers.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE , TOEFL
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

1 2111
Q:

Which  of  the  following  statements  about the Ilbert Bill (1883) is/are correct?

1.It  proposed  to  grant  limited criminal jurisdiction to native officials.

2.It proposed to grant complete civil and criminal jurisdiction to native officials.

3.The proposed Bill generated opposition from England’s  European  subjects  in India.

4.In spite of opposition to the Bill, it was passed without any modifications.

Select  the  correct  answer  using  the  code given below.

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

Explanation:

Ilbert  Bill  was  introduced  in  1883 by  Viceroy  Ripon.  It  proposed  to grant  limited  criminal  jurisdiction to  native  officials  over  European British    subjects    living    in    the districts under their charge.It also allowed Indian judges and magistrates  the  jurisdiction  to  try British  offenders  in  criminal  cases. After opposition from Europeans in Britain as well as India, the bill was withdrawn  and  reintroduced  after amendment  saying  that  a  jury  of 50%  Europeans  was  required  if  an Indian    judge    was    to    face    a European.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

0 2111
Q:

In the following question, out of the given four alternatives, select the one which best expresses the meaning of the given word.
Actuate

A) True B) Move
C) Select D) Kill
 
Answer & Explanation Answer: B) Move

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2111
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the words/sentence.

The use of irony to mock or convey contempt

A) Sanction B) Flatter
C) Compliment D) Sarcasm
 
Answer & Explanation Answer: D) Sarcasm

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2111
Q:

The sentences given with blanks are to be filled with an appropriate word(s). Four alternatives are suggested for each question. For each question, choose the correct alternative and click the button corresponding to it.

It is __________ university of excellence.

A) a B) an
C) also D) one
 
Answer & Explanation Answer: A) a

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2110
Q:

In the following passage some of the words have been left out. Read the passage carefully and choose the correct answer for the given blank out of the four alternatives.


The nation has been _____as a relatively extensive, territorial relation of nativity. We have further formulated the_____of the nation as a territorially_____, yet bounded, social relation for the generation, transmission, and ____of life. When the nation is a national state, it is also a_____for the protection of life. The nation is often ______by the metaphor of familial relations and, indeed, has sometimes been considered as some kind of_____family. This is understandable because both the nation and the family are relations of_____. Nonetheless, there is an important difference, and to understand this will _____a more detailed examination of the_____ between territory and bonding.


The nation has been ____ as a relatively extensive

A) denied B) designed
C) defined D) derived
 
Answer & Explanation Answer: C) defined

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2110
Q:

The National song of India, Vande Mataram was composed in ____ language.

A) Pali B) Urdu
C) Bengali D) Sanskrit
 
Answer & Explanation Answer: D) Sanskrit

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams
Job Role: Bank PO

0 2110