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

What are the UNESCO's focus areas in the cultural field

A) The link between culture and development B) Action to conserve and protect the world cultural inheritance
C) By assisting member States in studying and preserving both physical and the non Physical heritage of their societies D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

1 2320
Q:

Look at the underlined part of each sentence. Below each sentence are given three possible substitutions for the underlined part. If one of them (a), (b) or (c) is better than the underlined part, indicate your response on the Answer Sheet against the corresponding letter. If none of the substitutions imporves the sentence, indicate (d) as your response on the Answer Sheet.

He took a loan of hundred rupees from me.

A) debt B) demand
C) advance D) no improvement
 
Answer & Explanation Answer: D) no improvement

Explanation:

No improvement is required. Loan is a temporary provision of money, usage is correct. Debt is an obligation. Demand is a claim to something owed. Advance is a supply in expectation of repayment.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2320
Q:

Which among the following is/are female hormones?
(i) Estrogen
(ii) Progesterone
(iii) Testosterone

A) (i) and (iii) B) (i) and (ii)
C) (ii) and (iii) D) Only (iii)
 
Answer & Explanation Answer: B) (i) and (ii)

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

5 2319
Q:

Which formula represents a polar molecule?

A) C - O B) C - N
C) H - N D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

A chemical bond in which the electrons are not shared equally due to differences in the electronegativity of the atoms.

 

The polarity of a covalent bond is measured using its dipole moment.

 Large dipole moment = more polar

 Small dipole moment = more nonpolar.

Report Error

View Answer Report Error Discuss

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

2 2319
Q:

The NAM sumit which demanded expansion of the United Nation Security Council had met at

A) Cairo B) Jakarta
C) Teheran D) Harare
 
Answer & Explanation Answer: B) Jakarta

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Organisations

1 2319
Q:

Who is called 'the father of modern African writing " novelist?

Answer

Chinua Achebe.

Report Error

View answer Workspace Report Error Discuss

1 2319
Q:

In oceania, most towns began as

A) Colonial ports B) plantations
C) tribal ritual centers D) capital cities
 
Answer & Explanation Answer: A) Colonial ports

Explanation:

Oceania is a geographic region comprising Melanesia, Micronesia, Polynesia and Australasia. In Oceani, most towns began as Colonial Ports.

oceania1532071449.jpg image

Report Error

View Answer Report Error Discuss

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

1 2318