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

What is a device queue?

Answer

A list of processes waiting for a particular I/O device is called device queue.

Report Error

View answer Workspace Report Error Discuss

0 2060
Q:

The "Pradhan Mantri Shram-Yogi Maandhan" scheme was launched on?

A) 15 Feb, 2019 B) 14 Feb, 2018
C) 1 Feb, 2019 D) 2 Feb, 2018
 
Answer & Explanation Answer: A) 15 Feb, 2019

Explanation:

The "Pradhan Mantri Shram-Yogi Maandhan" scheme was launched on 15-02-2019. Under the PM-SYM scheme, the workers will get amount of Rs. 3,000 pension after attaining the age of 60 years. 

Report Error

View Answer Report Error Discuss

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

3 2060
Q:

The strength of a force is usually expressed by its __________.

A) Motion B) Direction
C) Interaction D) Magnitude
 
Answer & Explanation Answer: D) Magnitude

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

1 2060
Q:

Localized area of pus formation in the lungs?

A) Pleural effusion B) Pulmonary abscess
C) Pleurisy D) Pulmonary edema
 
Answer & Explanation Answer: B) Pulmonary abscess

Explanation:

Localized area of pus formation in the lungs is called Pulmonary abscess.

Report Error

View Answer Report Error Discuss

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

3 2060
Q:

Vinegar is __________ .

A) diluted acetic acid B) glacial acetic acid
C) glacial formic acid D) diluted formic acid
 
Answer & Explanation Answer: A) diluted acetic acid

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

1 2060
Q:

SO2 Polar or Nonpolar?

Answer

SO2 has a net dipole moment and has a bent shape in its structure as water molecule. Hence it is a polar molecule.

Report Error

View answer Workspace Report Error Discuss

Subject: Chemistry Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

2 2059
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.

I have decided _____ my course of action.

A) upon B) with
C) for D) of
 
Answer & Explanation Answer: A) upon

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2059