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

Which day is observed as Rashtriya Ekta Diwas every year in India?

A) 31st July B) 31st March
C) 31st January D) 31st October
 
Answer & Explanation Answer: D) 31st October

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

8 2890
Q:

Tap water is placed in an open pad and allowed to evaporate. After some time the temperature of water 

A) increases to a great extent B) increases slightly
C) decreases slightly D) decreases rapidly
 
Answer & Explanation Answer: C) decreases slightly

Explanation:

Evaporation causing cooling.Here the evaporation is less. Therefore cooling is less.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

3 2890
Q:

Who is the new Chairman of ISRO in 2018?

A) K. Sivan B) S. Manish Arya
C) A.S. Kiran Kumar D) Bibeth Roy
 
Answer & Explanation Answer: A) K. Sivan

Explanation:

Rocket specialist K. Sivan has been appointed as new Chairman of India's space agency ISRO for a three-year term. He replaces current ISRO Chairman A.S. Kiran Kumar, whose term ends January 14, 2018.

 

  • He is currently Director of Vikram Sarabhai Space Centre in Trivandrum.

 

  • His expertise gave ISRO ability to send 104 satellites in a single mission.
Report Error

View Answer Report Error Discuss

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

10 2890
Q:

The Indian Space Research Organisation is planning its maiden mission to explore which planet ?

A) Mars B) Saturn
C) Jupiter D) Venus
 
Answer & Explanation Answer: D) Venus

Explanation:

The Indian Space Research Organisation(ISRO) is planning its maiden mission to Venus and its second one to Red planet. The same was confirmed by the newly allotted budget to the department of space, which mentions provisions for 'Mars Orbiter Mission II and Mission Venus'.

Report Error

View Answer Report Error Discuss

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

7 2890
Q:

Article I of the Constitution of India declares India as

A) Fedaral State B) Quasi Federal State
C) Unitary State D) Union of States
 
Answer & Explanation Answer: D) Union of States

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

2 2890
Q:

Which of the following stores data permanently in a computer?

A) ALU B) Cache Memory
C) RAM D) ROM
 
Answer & Explanation Answer: D) ROM

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

6 2890
Q:

Each hemoglobin molecule can transport two molecules of oxygen.

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

Explanation:

FALSE. Each hemoglobin molecule can transport four molecules of oxygen.


 


Hemoglobin, or Hb, is a protein molecule found in red blood cells (erythrocytes) made of four subunits: two alpha subunits and two beta subunits. Heme the component of hemoglobin responsible for binding oxygen consists of an iron ion that binds oxygen and a porphyrin ring that binds the globin molecules, one molecule binds one molecule of oxygen and can bind up to four oxygen molecules.

Report Error

View Answer Workspace Report Error Discuss

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

1 2890