Questions

Q:

C program to find the factorial of a given number

Answer

 #include<stdio.h>
int main(){
  int i=1,f=1,num;

  printf("Enter a number: ");
  scanf("%d",&num);

  while(i<=num){
      f=f*i;
      i++;
  }

  printf("Factorial of %d is: %d",num,f);
  return 0;
}

Sample output:
Enter a number: 5
Factorial of 5 is: 120

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2070
Q:

In October 2017, which two ministries jointly launched ‘SAATHI’ (Sustainable and Accelerated Adoption of efficient Textile technologies to help small Industries) initiative?

 

A) Commerce and Textile Ministries B) Power and Textile ministries
C) Finance and Textile ministries D) No option is correct.
 
Answer & Explanation Answer: B) Power and Textile ministries

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

1 2070
Q:

Which to withdraw from OPEC as of Jan 2019?

A) Gabon B) Angola
C) Saudi Arabia D) Qatar
 
Answer & Explanation Answer: D) Qatar

Explanation:

Qatar to withdraw from OPEC as of Jan 2019. OPEC, The Organization of the Petroleum Exporting Countries is an intergovernmental organisation of 14 nations, founded in 1960 in Baghdad, Iraq.


Its members are Qatar, Saudi Arabia, Iran, Iraq, Indonesia, Venezuela, Nigeria, Libya, United Arab Emirates, Algeria, Kuwait, Ecuador, Angola, Gabon.

Report Error

View Answer Report Error Discuss

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

0 2069
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.


Learning is the knowledge of that which is not generally known to others, and which we can only derive at second­hand from books or other artificial sources. The knowledge of that which is before us, or about us, which appeals to our experience, passions, and pursuits, to the bosoms and businesses of men, is not learning. Learning is the knowledge of that which none but the learned know. He is the most learned man who knows the most of what is farthest removed from common life and actual observation. The learned man prides himself in the knowledge of names, and dates, not of men or things. He thinks and cares nothing about his next­door neighbours, but he is deeply read in the tribes and castes of the Hindoos and Calmuc Tartars. He can hardly find his way into the next street, though he is acquainted with the exact dimensions of Constantinople and Peking. He does not know whether his oldest acquaintance is a knave or a fool, but he can pronounce a pompous lecture on all the principal characters in history. He cannot tell whether an object is black or white, round or square, and yet he is a professed master of the optics and the rules of perspective.


Learning is defined as

A) the knowledge of that which is before us B) the knowledge about us
C) the knowledge of that which is not generally known to others D) the knowledge related to the businesses of men
 
Answer & Explanation Answer: C) the knowledge of that which is not generally known to others

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2069
Q:

Dear Lodger, I agree, the roof is leaking; but (there would be no need) P (while it is raining) Q (and when the Sun shines,) R (I can’t get it repaired) S

The correct sequence should be

A) Q R S P B) S Q R P
C) R S P Q D) P R Q S
 
Answer & Explanation Answer: B) S Q R P

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2069
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

A drop in the bucket

A) So much silence that even a drop can be heard B) A very small amount compared with what is needed
C) The final act before the task is done D) A small favour is worth a lot to a person in trouble
 
Answer & Explanation Answer: B) A very small amount compared with what is needed

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2069
Q:

Out of the four alternatives, choose the one which can be substituted for the given words/sentences and click the button corresponding to it.

A disease that affects a large number of people in an area at the same time

A) Endemic B) Epidemic
C) Epidermic D) Endothermic
 
Answer & Explanation Answer: B) Epidemic

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2069
Q:

In this section, each of the following sentences has a blank space and four words are given below it. select the word or group of words you consider most appropriate for the blank space and indicate your response on the Answer Sheet accordingly.

 

The consequences of economic growth have now __________ to the lowest level.

A) drawn B) slipped
C) percolated D) crept
 
Answer & Explanation Answer: B) slipped

Explanation:

Slipped means to move with a smooth sliding option. Option-a drawn means showing effects of tension, pain or illness, the consequence of growth cannot always be low, so we cannot choose crept. Crept means to go very slowly, percolated means passed through a medium, therefore only option-2 follows.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 2069