Questions

Q:

Write a program to generate the Fibonacci series in c?

Answer

 #include<stdio.h>
int main(){
    int k,r;
    long int i=0l,j=1,f;

    //Taking maximum numbers form user
    printf("Enter the number range:");
    scanf("%d",&r);

    printf("FIBONACCI SERIES: ");
    printf("%ld %ld",i,j); //printing firts two values.

    for(k=2;k<r;k++){
         f=i+j;
         i=j;
         j=f;
         printf(" %ld",j);
    }
 
    return 0;
}

Sample output:
Enter the number range: 15
FIBONACCI SERIES: 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2333
Q:

The hot holding temperature for potentially hazardous foods must be

A) not less than 60 deg B) less than 60 deg
C) less than 5 deg D) None of the above
 
Answer & Explanation Answer: A) not less than 60 deg

Explanation:

Potentially hazardous foods are foods that might contain food poisoning bacteria and are capable of supporting growth of these bacteria or formation of toxins to levels that are unsafe for consumers, if the foods are not stored at correct temperatures. Toxins are poisonous chemicals produced by some types of bacteria.


The food can be left at room temperature until it reaches 60 deg C because food-poisoning bacteria will not multiply at 60 deg C or above. However, do not leave food cooling at room temperature unless you are sure that the temperature of the food is still at least above 60 C.

Report Error

View Answer Report Error Discuss

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

3 2332
Q:

Who is the head of the cabinet-level committee concerning the merger of public sector banks?

A) Arun Jaitley B) Urjit Patel
C) Rajnath Singh D) Narendra Modi
 
Answer & Explanation Answer: A) Arun Jaitley

Explanation:

With reforms in the public sector banking space, the government has constituted a ministerial panel headed by Finance Minister Arun Jaitley that will oversee merger proposals of state-owned banks. The other members of the panel include Railway and Coal Minister Piyush Goyal and Defence Minister Nirmala Sitharaman.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

0 2332
Q:

Brownish film formed on iron when left in open is called?

A) Dust B) Shovel
C) Spade D) Rust
 
Answer & Explanation Answer: D) Rust

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 2332
Q:

Which among the following is used in making liquors, medicines and as a fuel in aircrafts?

A) Propyl alcohol B) Dimethyl alcohol
C) Ethyl alcohol D) Methyl alcohol
 
Answer & Explanation Answer: C) Ethyl alcohol

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 2331
Q:

One function of sphincter muscles is to

A) secrete digestive juices into the GI tract B) grind large food particles
C) trigger hormone release D) control the passage of food through the GI tract
 
Answer & Explanation Answer: D) control the passage of food through the GI tract

Explanation:
Report Error

View Answer Report Error Discuss

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

1 2331
Q:

A group of turkeys is called an Ambush.

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

Fase. The given statement that a group of turkeys is called an ambush is not true.


turkeys1532424156.jpg image


 


The group of turkeys is called Rafter or a flock.

Report Error

View Answer Workspace Report Error Discuss

Subject: Animals and Birds
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

4 2331
Q:

Which of the following countries is associated with 'Glorious Revolution'?

A) France B) Russia
C) USA D) England
 
Answer & Explanation Answer: D) England

Explanation:

After the deaths of  Cromwell monarchy was restored and Charles II was made king of England. He and his successor, James II tried to assert the superiority of the monarchy. But feelings against this kind of rule had grown too strong. In 1688, a group of politicians invited William of Orange, the husband of James II's daughter, Mary, and rulers of Holland, to become king. Without firing a shot, William reached London and James II fled to France. The throne was granted to William and Mary Jointly. This event is known as the 'Glorious Revolution' . This revolution marked the triumph of parliament over the monarchy.

Report Error

View Answer Report Error Discuss

Filed Under: World History

1 2331