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:

The headquaters of food and agriculture organisation is in

A) Paris B) Rome
C) Madrid D) Washington
 
Answer & Explanation Answer: B) Rome

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

0 2302
Q:

Climatology is a subspecialty of

A) meteorology B) environmental science
C) oceanography D) marine biology
 
Answer & Explanation Answer: B) environmental science

Explanation:

Climatology is a study of climate which is subspecialty of environmental science studies.

Report Error

View Answer Report Error Discuss

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

4 2302
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 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:

M is a 7 letter word, M is impossible for GOD, The poor have M and The rich look for M from the poor, If you eat M you will die, M is more important than your life. I swear i will give you M if you get the answer. What is M?

Answer

The required 7 letter English word is NOTHING.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: Bank Exams

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

Who presented the Union Budget of India, the maximum number of times (10)?

A) T. T. Krishnamachari B) Morarji Desai
C) Jaswant Singh D) R.K Shanmukham Chetty
 
Answer & Explanation Answer: B) Morarji Desai

Explanation:
Report Error

View Answer Report Error Discuss

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

2 2301