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

The meristem which occurs between mature tissues is known as _________meristem.

A) Intercalary B) Primary
C) Lateral D) Apical
 
Answer & Explanation Answer: A) Intercalary

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

1 2882
Q:

Select the synonym of

meadow

 

A) metro B) pasture
C) borough D) civic
 
Answer & Explanation Answer: B) pasture

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 2881
Q:

What are the key challenges of software testing?

Answer

Key Challenges of s/w testing:


1. Testing considered late in project


2. Requirements not testable


3. Integration is done after all components have been developed: This might result into full testing not being covered.


4. Complete testing is not possible

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

0 2880
Q:

Operating system functions may include

A) multiprogramming B) input/output control
C) virtual storage D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

An operating system has three main functions:

(1) manage the computer's resources, such as the central processing unit, memory, disk drives, and printers,

(2) establish a user interface, and

(3) execute and provide services for applications software.

Report Error

View Answer Report Error Discuss

5 2880
Q:

Who advocated the theory of laissez Faire

A) Marshall B) Malthus
C) Adam smith D) None of these
 
Answer & Explanation Answer: C) Adam smith

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities

1 2879
Q:

Which of the following is not an enzyme?

A) Oxytocin B) Trypsin
C) Pepsin D) Ptyalin
 
Answer & Explanation Answer: A) Oxytocin

Explanation:

Oxytocin is a mamallian hormone and also acts as neuro transmitter in the brain.

Report Error

View Answer Report Error Discuss

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

7 2879
Q:

Dust particles in the air of large industrial cities are removed by 

A) Sedimentation B) Electrophoresis
C) Tyndall effect D) Brownian movement
 
Answer & Explanation Answer: B) Electrophoresis

Explanation:

Dust particles such as coal dust(smoke) are fine particle of a solid (carbon in the case of smoke) dispersed in air. They are colloidal systems and the particles are charged either positive or negative. In an applied electrical field, they are attracted towards the opposite electrodes. Movement of the particles towards the electrodes is known as 'electrophoresis'. Hence electrophoresis is applied to remove smoke within the chimeny itself without allowing it to escape into the air and cause nuisance.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

3 2879