Questions

Q:

Point out the error, ifany, in the followingb code?

typedef struct

{

     int data;

     NODEPTR link;

} *NODEPTR;

 

Answer

A typedef defines a new name for a type, and in simpler cases like the one shown below you can define a new structure type and a typedef for it at the same time.


typedef struct


{


    char name[20];


    int age;


} emp;


However, in the structure defined in this question, there is an error because a typedef declaration cannot be used until it is defined. In the given code fragment the typedef declaration is not yet defined at he point where the link field is declared.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 2332
Q:

Which formula represents a polar molecule?

A) C - O B) C - N
C) H - N D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

A chemical bond in which the electrons are not shared equally due to differences in the electronegativity of the atoms.

 

The polarity of a covalent bond is measured using its dipole moment.

 Large dipole moment = more polar

 Small dipole moment = more nonpolar.

Report Error

View Answer Report Error Discuss

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

2 2332
Q:

What kind of Room has No Doors or Windows

Answer

Mushroom.

Report Error

View answer Workspace Report Error Discuss

2 2331
Q:

Acceleration is the rate of change of

A) Speed B) Velocity
C) Jerk D) Jounce
 
Answer & Explanation Answer: B) Velocity

Explanation:

The rate of change of velocity is called as Acceleration.

Report Error

View Answer Report Error Discuss

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

10 2331
Q:

What is CPU Scheduler?

Answer

Selects from among the processes in memory that are ready to execute, and allocates the CPU to one of them. CPU scheduling decisions may take place when a process: 1.Switches from running to waiting state. 2.Switches from running to ready state. 3.Switches from waiting to ready. 4.Terminates. Scheduling under 1 and 4 is non-preemptive. All other scheduling is preemptive.

Report Error

View answer Workspace Report Error Discuss

2 2330
Q:

Who is called 'the father of modern African writing " novelist?

Answer

Chinua Achebe.

Report Error

View answer Workspace Report Error Discuss

1 2330
Q:

In oceania, most towns began as

A) Colonial ports B) plantations
C) tribal ritual centers D) capital cities
 
Answer & Explanation Answer: A) Colonial ports

Explanation:

Oceania is a geographic region comprising Melanesia, Micronesia, Polynesia and Australasia. In Oceani, most towns began as Colonial Ports.

oceania1532071449.jpg image

Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams , CAT , GATE , GRE
Job Role: Analyst , Bank Clerk , Bank PO

1 2330
Q:

Where do arteries carry blood?

A) Heart B) Lungs
C) Tissues D) Brain
 
Answer & Explanation Answer: A) Heart

Explanation:

Arteries carry oxygenated blood away from the heart to the tissues, except for pulmonary arteries, which carry blood to the lungs for oxygenation (usually veins carry deoxygenated blood to the heart but the pulmonary veins carry oxygenated blood as well).

Report Error

View Answer Report Error Discuss

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

4 2330