Questions

Q:

Point out the error, if any, in the following program.

# include "stdio.h"

main()

{

     FILE *fp;

     char str[80];

     fp = fopen ("trail", "r");

     while (!feof (fp))

    {

           fgets (str, 80, fp);

           puts (str);

     }

     fclose (fp);

}

Answer

The last line from the file "trial" would be read twice. To avoid this, ues:


       While ( fgets (str, 80, fp) ! = NULL)


               puts (str);

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3140
Q:

Who has been appointed by Flipkart as an in-charge of the newly acquired e-Bay India business ?

A) Anil Goteti B) S Aparna
C) Rajeev Kumar D) Kalyan Krishnamurthy
 
Answer & Explanation Answer: A) Anil Goteti

Explanation:
Report Error

View Answer Report Error Discuss

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

9 3140
Q:

A man stands on the pan of a balance holding a fish in his right hand and bucket of water in his left hand. If he transfers the fish into the bucket, the total weight on the pan

A) increases B) decreases
C) remains the same D) first increases and then decreases
 
Answer & Explanation Answer: C) remains the same

Explanation:

Before transferring the fish, the position is the man with the fish and the bucket of water. After transferring the position is : the man without the fish, but the fish inside the water in the bucket. Thus to know whether there is any change in weight, it is enough to consider whether there is any change in weight when the fish in air is transferred into the water. The answer is there is no change as when in water though it loses weight due to upthrust of water on it, the level of water increases and exerts an equal force at the bottom

Report Error

View Answer Report Error Discuss

Filed Under: Physics

5 3140
Q:

Which is an example of Phototropism?

A) roots of a plant following water B) plant bending toward the light
C) roots growing into the soil D) a venus flytrap capturing a fly
 
Answer & Explanation Answer: B) plant bending toward the light

Explanation:

Phototropism is the ability of a photosynthesizing organism, to grow directionally in response to a light source. It is very common in plants, but can also occur in other organisms such as fungi.

Example :: Sunflower

Report Error

View Answer Report Error Discuss

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

5 3140
Q:

The functional unit of the nervous system is the

A) Nephrons B) Axons
C) Neurons D) All of the above
 
Answer & Explanation Answer: C) Neurons

Explanation:

Neurons are the functional units of the nervous system in the body.

the_functional_unit_of_the_nervous_system_is_the1535026518.png image

Report Error

View Answer Report Error Discuss

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

3 3140
Q:

Origins of genetic variation

A) intragenic recombination B) mutation
C) reticulation D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

Random mutations are the ultimate source of genetic variation. Mutations are likely to be rare and most mutations are neutral or deleterious, but in some instances, the new alleles can be favored by natural selection. Polyploidy is an example of chromosomal mutation.

 

Mutations are changes in the DNA. A single mutation can have a large effect.

1) mutation - an alteration in DNA sequence, various types

2) intragenic recombination - results in entirely new associations of genes not present in either parental genome.


Two forms of intragenic recombination:

a) crossing over
b) independent assortment
3) reticulation – acquisition of genetic material from unrelated or relatively unrelated sources (e.g., hybrid species, horizontal gene transfer).

Report Error

View Answer Report Error Discuss

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

3 3138
Q:

How long would it take to travel 4 light years?

Answer

There are approximately 6 trillion miles in a light-year, so the distance we need to go is 6 trillion miles / light-year times. 4 light-years is equal to 24 trillion miles. So, this whole would take 1.2 billion hours. There are 24 hours a day and 365.25 days per year, so this time in years is 137 thousand years.

Report Error

View answer Workspace Report Error Discuss

Subject: Physics Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

6 3138
Q:

Makaibari is the costliest variety of what?

A) Coffee B) Pepper
C) Tea D) Water
 
Answer & Explanation Answer: C) Tea

Explanation:

Makaibari is the world's first tea factory and was established in 1859 in Darjeeling, West Bengal. 

 

It is most expensive tea in India which costs around 1.12 lakhs for 1 kg of tea.

 

Hence, Makaibari is the costliest variety of Tea.

Report Error

View Answer Report Error Discuss

6 3137