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

In which year American Revolution started ?

A) 1774 B) 1775
C) 1776 D) 1777
 
Answer & Explanation Answer: B) 1775

Explanation:

American Revolution started in 1775 and lasted till 1781.

Report Error

View Answer Report Error Discuss

Filed Under: World History

1 2259
Q:

How many Earth- sized Exoplanets have been discovered by NASA around a single star in February 2017 ?

A) 14 B) 7
C) 6 D) 11
 
Answer & Explanation Answer: B) 7

Explanation:

NASA announced a Seven new system of Exoplanets, which are Earth-size, and could potentially hold life.These exoplanets are located outside of our solar system and orbit a star. NASA has named the system of planets after the ‘Transiting Planets and Planetesimals Small Telescope,’ which is located in Chile. This telescope first discovered three of the planets in this system in May 2016. Unlike Earth, which rotates on its axis, the planets are “tidally locked to the star.” This means that one side of the planet has only day, and one side has only night. It also means the weather conditions are unlike what we experience on Earth.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams , CAT , GATE
Job Role: Bank Clerk , Bank PO

5 2258
Q:

What is a Multi-homed Host?

Answer

It is a host that has a multiple network interfaces and that requires multiple IP addresses is called as a Multi-homed Host

Report Error

View answer Workspace Report Error Discuss

Subject: Networking
Job Role: Network Engineer

1 2258
Q:

Which of the following is not an allotrope of carbon?

A) Diamond B) Graphene
C) Ethylene D) Buckminsterfullerene
 
Answer & Explanation Answer: C) Ethylene

Explanation:

Allotropes are different structural modifications of an element, that is, each of two or more different physical forms in which an element can exist.

 

Carbon is capable of forming many allotropes due to its valency. Well-known forms of carbon include charcoal, diamond, graphite, buckminsterfullerene and graphene.

 

Hence, Ethylene is not an allotrope of Carbon.

Report Error

View Answer Report Error Discuss

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

2 2257
Q:

Who among the following was known during the days of the Revolt of 1857 as 'Danka Shah'?

A) Shah Mal B) Maulavi Ahmadullah Shah
C) Nana Sahib D) Tantia Tope
 
Answer & Explanation Answer: B) Maulavi Ahmadullah Shah

Explanation:

Ahmadullah Shah Madrasi alias Danka Shah (1789-1858), a descendant of the Qutub Shahi family of the Deccan, was in Faizabad when the sepoys mutinied in Meerut. He threw himself into the movement then and there. This was why he also came to be known as Ahmadullah Shah Faizabadi.

 

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

1 2257
Q:

Is cholesterol Hydrophobic or Hydrophilic?

A) Hydrophobic B) Hydrophilic
C) Both A & B D) None of the above
 
Answer & Explanation Answer: C) Both A & B

Explanation:

Cholesterol is referred as an amphipathic molecule, that it contains its hydrophilic and hydrophobic parts.

Report Error

View Answer Report Error Discuss

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

1 2256
Q:

A grouping of stars that resembles a picture

A) Galaxy B) Asteroid
C) Constellation D) Milkyway
 
Answer & Explanation Answer: C) Constellation

Explanation:

A grouping of stars that resembles a picture i.e, forms an imaginary outline or pattern typically representing an animal, mythological person or creature, a god, or an inanimate object is called a constellation. The night sky is divided into 88 sections called constellations.

 

A_grouping_of_stars_that_resembles_a_picture1560168542.png image

Report Error

View Answer Report Error Discuss

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

5 2256