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:

What is source route?

Answer

It is a sequence of IP addresses identifying the route a datagram must follow. A source route may optionally be included in an IP datagram header

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

1 2332
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:

Which describes a clinical psychologist?

A) specialist who studies behavior and emotions, but cant prescribe medication B) specialist in diagnosing and treating mental disorders who can prescribe medication
C) specialist working primarily with the family members of someone in psychiatric care D) None of the above
 
Answer & Explanation Answer: A) specialist who studies behavior and emotions, but cant prescribe medication

Explanation:
Report Error

View Answer Report Error Discuss

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

0 2332
Q:

Hub works on which layer?

A) Network layer B) Physical layer
C) Data link layer D) All of the above
 
Answer & Explanation Answer: B) Physical layer

Explanation:

Hub works on layer 1 i.e, physical layer.

Report Error

View Answer Report Error Discuss

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

3 2332
Q:

How to get dissertation introduction writing ideas

Answer

Most of the students do not know anything about the dissertation writing and the services.So always students are depending on the dissertation writing services.Students can get the dissertation introduction writing ideas from the dissertation writing services, this will benefit for your future.

Report Error

View answer Workspace Report Error Discuss

0 2331
Q:

Heat from the sun is called

A) radiation B) nuclear fusion
C) nuclear fission D) escavation
 
Answer & Explanation Answer: A) radiation

Explanation:

Heat from the sun travels in the form of rays and are called as heat rays. This heat is called as radiation.

Report Error

View Answer Report Error Discuss

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

2 2331
Q:

What is Mail Gateway

Answer

It is a system that performs a protocol translation between different electronic mail delivery protocols

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

0 2331