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

Which among the following minerals is also known as Horn Silver?

A) Silver Chroride B) Zinc Phosphate
C) Silver Iodide D) Silver Sulphide
 
Answer & Explanation Answer: A) Silver Chroride

Explanation:

Silver chloride is a chemical compound with the chemical formula AgCl is also called as Horn Silver. It is also called as cerargyrite. It is a gray, very heavy halide mineral and an ore of silver.

Which_among_the_following_minerals_is_also_known_as_Horn_Silver1560942904.jpg image

 

Report Error

View Answer Report Error Discuss

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

0 3232
Q:

The insects do not have blood pigments because 

A) there is no blood B) tissues have pigments
C) blood does not have a respiratory function D) pigments are elsewhere
 
Answer & Explanation Answer: C) blood does not have a respiratory function

Explanation:

The blood of some invertebrate animals like the earthworm is red due to haemoglobin pigment, but the pigment is dissolved in the plasma. In vertebrates the same pigment is found in the red corpuscles and not in the plasma.

Report Error

View Answer Report Error Discuss

Filed Under: Biology

3 3231
Q:

Compared to land, the open oceans

A) are rich in silica and iron B) are nutrient-poor environments
C) contain unlimited nitrogen D) are nutrient-rich environments
 
Answer & Explanation Answer: B) are nutrient-poor environments

Explanation:
Report Error

View Answer Report Error Discuss

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

1 3231
Q:

All cells divide at the same rate.

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

Explanation:

The given statement that all cells divide at the same rate is FALSE.


 


No, all cells do not divide at the same rate. Cells that require frequent replenishing, such as skin or intestinal cells, may only take roughly twelve hours to complete a cell cycle. Other cells, such as liver cells, remain in a resting state (interphase) for up to a year before undergoing division.

Report Error

View Answer Workspace Report Error Discuss

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

0 3230
Q:

Who is known as the Lady with the Lamp?

Who_is_known_as_the_Lady_with_the_Lamp1552997950.jpg image

A) Indira Gandhi B) Joan of Arc
C) Florence Nightingale D) Sarojini Naidu
 
Answer & Explanation Answer: C) Florence Nightingale

Explanation:

Florence Nightingale is known as the Lady with the Lamp. She got the name 'The Lady with the Lamp' because she would visit soldiers at night with a small lantern in her hand.

Report Error

View Answer Report Error Discuss

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

1 3230
Q:

Suppose you have a computional circuit between two registers driven by a clock. What will you do if the delay of the combinational circuit is greater than your clock signal?

Answer

Use the concept of register-retiming.


divide the totla combinatorial delay in two segments such that individually the delay is less the clock period.


this can be done by inserting a flip-flop in the combinational path.


e.g.,


clock period --- 5 ns


total cominational delay ---- 7


then divide the 7ns path in two path of 4 or 3 (best resutls are obtained if delays are  same for both path i.e 3.5ns) by inserting a flip-flop in between.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 3230
Q:

DNA fingerprinting is used to identify the

A) Rapist B) Parents
C) Thieves D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

DNA fingerprinting is used to identify the parents, thieves and rapists.

Report Error

View Answer Report Error Discuss

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

19 3230