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

Systems biology is mainly an attempt to

A) Understand the behavior of entire biological systems B) Speed up the technological application of scientific knowledge
C) Analyze genomes from different species. D) None of the above
 
Answer & Explanation Answer: A) Understand the behavior of entire biological systems

Explanation:

An approach to studying biology that aims to model the dynamic behavior of whole biological systems based on a study of the interactions among the system's parts.

Report Error

View Answer Report Error Discuss

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

1 2303
Q:

Which equation is an example of a synthesis reaction?

A) 2H2 + O2 → 2H2O B) Na + Cl → NaCl
C) HA + BOH → H2O + BA D) NaCl + AgNO3 → NaNO3 + AgCl
 
Answer & Explanation Answer: B) Na + Cl → NaCl

Explanation:

When two or more chemical species combine to form a single product, the reaction is said to be synthesis reaction. It is also called as Direct Combination reaction.

 

Here in the given options, Sodium (Na) combines with Chlorine (Cl) to form a more complex single product Sodium Chloride (NaCl).

Report Error

View Answer Report Error Discuss

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

2 2303
Q:

How long is your TABC certification valid?

A) 1 year B) 2 years
C) 4 years D) 6 months
 
Answer & Explanation Answer: B) 2 years

Explanation:

TABC stands for Texas Alcoholic Beverage Commission. The Texas Alcoholic Beverage Commission regulates the sales, taxation, production, trade, and advertising of alcoholic beverages in Texas. Alcohol Seller/server Training regulated by this regulatory body is also called TABC Certification. It makes the rules the rest of us have to follow, and if you want to get a job serving alcohol in Texas, getting TABC certified is your first step.

Report Error

View Answer Report Error Discuss

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

1 2303
Q:

Choose the correctly spelt word:-

A) Sepulchral B) Sepalchrle
C) Sepalchral D) Sepulchrle
 
Answer & Explanation Answer: A) Sepulchral

Explanation:

Sepulchral is spelt correctly which means joyless

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 2302
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 2302
Q:

The unit of energy in MKS system is

A) Joule B) Ohm
C) Erg D) Volt
 
Answer & Explanation Answer: A) Joule

Explanation:

The unit of energy in MKS system is Joule.

Report Error

View Answer Report Error Discuss

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

4 2302
Q:

An electric fuse is based on

A) the chemical effect of the current B) the magnetic effect of the current
C) the heating effect of the current D) All of the above
 
Answer & Explanation Answer: C) the heating effect of the current

Explanation:

An electric fuse is based on the heating effect of the current.

Report Error

View Answer Report Error Discuss

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

1 2302