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

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

A) To make someone fool B) To make space to red
C) To take revenge D) To waste time by doing foolish things
 
Answer & Explanation Answer: D) To waste time by doing foolish things

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2078
Q:

A sentence/a part of the sentence is underlined. Four alternatives are given to the underlined part which will improve the sentence. Choose the correct alternative and click the button corresponding to it. In case no improvement is needed, click the button corresponding to "No improvement".

A city that is set on a hill cannot be hidden.

A) be hid B) hide
C) be hiding D) no improvement
 
Answer & Explanation Answer: D) no improvement

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

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

The starving man _____ able to walk.

A) can barely B) were barely
C) are barely D) was barely
 
Answer & Explanation Answer: D) was barely

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2078
Q:

In the following question, a sentence / a part of sentence is underlined. Below are given alternatives to the underlined part which may improve the sentence. Choose the correct alternative. In case no improvement is required, choose "No Improvement" option.

 

Raja is a bad singer, he is tone-deaf.

A) stone-deaf B) deaf
C) tune-deaf D) No improvement
 
Answer & Explanation Answer: D) No improvement

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2078
Q:

We can think of (often confused in the public minds) P (which suggest the need for) Q (two factors) R (an international language) S

The correct sequence should be

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

Explanation:

Since, the sentence starts talking about the thought process, R will be the next statement as it is talking about the two factors. Q will be the continuing statement as it carries a relative pronoun which connects both the statement. S follows Q as it discusses the need for a language and P discusses why there is a need for the international language.

The correct formation would be, ‘We can think of two factors which suggest the need for an international language often confused in the public mind’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2077
Q:

In the following questions, one part of the sentence may have an error. Find out which part of the sentence has an error and click the button corresponding to it. If the sentence is free from error, click the "No error" option.

It is not possible for me (A) / to give you the accurate date (B) / of my departure yet. (C) / No Error (D)

A) A B) B
C) C D) D
 
Answer & Explanation Answer: B) B

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2077
Q:

What is flag?

Answer

Flag is a flip-flop used to store the information about the status of a processor and the status of the insturction executed most recently.


A software or hardware mark that signals a particular condition or status. A flag is like a switch that can be either on or off. The flag said to be set when it is turned on.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2077