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

Foods that allow micro organisms to grow are called Parasites.

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

No, the given statement is False.


Parasites are organisms that feed on other organisms causing harm to them.


Foods that allow micro organisms to grow are called Growth Mediums.

Report Error

View Answer Workspace Report Error Discuss

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

5 3229
Q:

Technically, tempera is paint in which the vehicle is in

A) an emulsion B) a pigment
C) an impasto D) a ground
 
Answer & Explanation Answer: A) an emulsion

Explanation:
Report Error

View Answer Report Error Discuss

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

0 3228
Q:

Clarence Pine Top Smith played what style of piano?

A) Mozart B) Boogie - Woogie
C) Beethoven D) Liszt
 
Answer & Explanation Answer: B) Boogie - Woogie

Explanation:

Pine Top Smith (1899-1929) Considered to be the originator of the Boogie -Woogie style of piano playing.

Report Error

View Answer Report Error Discuss

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

1 3228
Q:

Cretinism is due to the disorder of the glands

A) Thymus B) Parathyroid
C) Thyroid D) Adrenal
 
Answer & Explanation Answer: C) Thyroid

Explanation:

Cretinism is a disease caused by hypothyroidism(less thyroxine formation).The symptoms of the disease are retardation  of mental, physical and sexual developments. Potbellt, protruding tongue, dry skin etc are also indicative of this disease.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

7 3227
Q:

______ is a particular area from which all the voters living there choose their representatives.

A) Constituency B) Voting Area
C) Election Area D) Legislative Area
 
Answer & Explanation Answer: A) Constituency

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

6 3227
Q:

Antisnake venom is prepared by 

A) Pasteur institute B) Hoffkine's institute
C) Birla's Institute D) Indian science Institute
 
Answer & Explanation Answer: B) Hoffkine's institute

Explanation:

Antisnake venom: In the Hoffkine Institute at Bombay snake venom in mild dose is injected into horses and the horses are induced to produce anti-venom bodies. These are extracted and used in cases of snake bites.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

2 3224
Q:

What three statements make up the cell theory?

A) All living things are made up of cells. B) New cells come frome exisiting cells.
C) Cells are the basic unit of structure/function in living things. D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

The three statements make up the cell theory are::

 

1. All living things are made up of cells.

2. Cells are the basic unit of structure/function in living things.

3. New cells come frome exisiting cells.

 

These cells can vary widely, but all living things are composed of cells.

 

Report Error

View Answer Report Error Discuss

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

1 3224