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

Project Scope Management - Processes

Describe the Inputs, Tools and Techniques , Outputs included in the Scope Planning ?

Answer

I. Inputs



  • Enterprise environmental factors

  • Organizational process assets

  • Project charter

  • Priliminary project scope statement


II. Tools and Techniques



  • Expert Judgment

  • Templates, forms, standards


III. Outputs



  • Project scope management plan

Report Error

View answer Workspace Report Error Discuss

0 2145
Q:

Who among the following introduced the Permanent Settlement of Bengal in 1793?

A) Lord Cornwallis B) Robert Clive
C) John Adam D) Lord Ripon
 
Answer & Explanation Answer: A) Lord Cornwallis

Explanation:

Lord Cornwallis introduced the Permanent Settlement of Bengal in 1793.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

1 2145
Q:

Which of the following describes an electric motor?

A) Is found in many appliances with moving parts, like a vacuum cleaner or a blender. B) Changes electric energy to mechanical energy.
C) Uses the interaction between a spinning coil of wire and magnet. D) Can be powered by a hand crank.
 
Answer & Explanation Answer: B) Changes electric energy to mechanical energy.

Explanation:

An electric motor is an electrical machine that converts electrical energy into mechanical energy.

                                   Which_of_the_following_describes_an_electric_motor1596165769.jpg image

Most electric motors operate through the interaction between the motor's magnetic field and electric current in a wire winding to generate force in the form of torque applied on the motor's shaft. 

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams , AIEEE

0 2145
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".

She has an ability for Mathematics.

A) attitude B) aptitude
C) altitude D) No improvement
 
Answer & Explanation Answer: B) aptitude

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

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

I do not think that(A)/I can cope up(B)/with this problem(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 2145
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.

Mr. Sen is absent today. He _____ sick

A) has to be B) could have been
C) might be D) must have been
 
Answer & Explanation Answer: C) might be

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2145
Q:

In the following question, out of the four alternatives, select the alternative which will improve the bracketed part of the sentence. In case no improvement is needed, select "no improvement".

He must not (to be left) like this.

A) being left B) been left
C) be left D) no improvement
 
Answer & Explanation Answer: C) be left

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2145