Questions

Q:

If the following structure is written to a file using fwrite(), can fread() read it back successfully?

struct emp

{

    char *n;

    int age;

};

struct emp e = { "Sujay",15};

FILE *fp;

fwrite (&e, sizeof (e), 1, fp);

Answer

No, since the structure contains a char pointer while writing the structure to the disk using fwrite() only the value stored in the pointer n would get written. When this structure is read back the address would be read back but it is quite unlikely that the desired string would be present at this address in memory

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3206
Q:

The function of nitrogen in air is 

A) to make air a moderate supporter of combustion B) to maintain the density of air constant
C) to prevent the hydrogen in air from exploding D) to reduce the poisonous nature of ozone in air
 
Answer & Explanation Answer: A) to make air a moderate supporter of combustion

Explanation:

If air contained all oxygen and no nitrogen, everything would have burnt off

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

2 3206
Q:

Which of the following is not a function of saliva?

A) contains fluoride to harden the tooth enamel B) moistens food and helps stick it together to make it easier to swallow
C) begins the chemical breakdown of starches D) helps clean the mouth
 
Answer & Explanation Answer: A) contains fluoride to harden the tooth enamel

Explanation:

Saliva is produced by the salivary gland which helps in food digestion.

 

Option A) contains fluoride to harden the tooth enamel is not the function of saliva.

Report Error

View Answer Report Error Discuss

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

4 3206
Q:

Tirupati temple of Lord Venkateswara is situated in which state

Answer

Andhra Pradesh

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Culture

39 3205
Q:

Countries with autocracy-based governments have

A) regular elections to select representative officials B) a single ruler who may be a monarch or dictator
C) a small group of leaders with similar political views D) shared decisions between citizens and leaders
 
Answer & Explanation Answer: B) a single ruler who may be a monarch or dictator

Explanation:

Countries with autocracy-based governments i.e, Monarchy have a single ruler or a monarch until his death.

Report Error

View Answer Report Error Discuss

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

2 3205
Q:

The gap between two communicating neurons is termed

A) Schwann cell B) Effector
C) Synaptic cleft D) Cell body
 
Answer & Explanation Answer: C) Synaptic cleft

Explanation:

A neuron or nerve cell is a cell that carries electrical impulses. Neurons are the basic units of the nervous system and its most important part is the brain. Every neuron is made of a cell body (also called a soma), dendrites and an axon. Dendrites and axons are nerve fibres.

 

The gap between two communicating neurons is termed Synaptic cleft.

Report Error

View Answer Report Error Discuss

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

4 3204
Q:

The term senescence is another name for

A) inward aging B) primary aging
C) secondary aging D) outward aging
 
Answer & Explanation Answer: B) primary aging

Explanation:
Report Error

View Answer Report Error Discuss

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

0 3203
Q:

Which of the following is not an intensive property?

A) Weight B) Density
C) Refractive index D) Melting point
 
Answer & Explanation Answer: A) Weight

Explanation:

An intensive property is a physical quantity whose value does not depend on the amount of the substance for which it is measured. For example, the temperature of a system in thermal equilibrium is the same as the temperature of any part of it. If the system is divided the temperature of each subsystem is identical. The same applies to the density of a homogeneous system, if the system is divided in half, the mass and the volume change in the identical ratio and the density remains unchanged. Additionally, the boiling point of a substance is another example of an intensive property. For example, the boiling point for water is 100 °C at a pressure of one atmosphere, a fact which remains true regardless of quantity.

Report Error

View Answer Report Error Discuss

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

9 3203