Questions

Q:

Indicate what would the SWAP macro be expanded to on preprocessing. Would the code compile?

#define SWAP (a, b, c ) (c t; t = a, a = b, b = t; )

main()

{

    int x = 10, y = 20;

    SWAP (x, y, int );

    printf ( " %d%d ", x, y);

}

Answer

( int t ; t = a, a = b, b = t ;);


This code won't compile since declaration of t cannot occur within parentheses.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

0 3074
Q:

The force that keeps a body in a circular motion called 

A) the centripetal force B) the centrifugual force
C) the frictional force D) all the above
 
Answer & Explanation Answer: A) the centripetal force

Explanation:

without this centripetal force, circular motion is not possible. It acts radially towards the centre and if this force is removed there will be no circular motion but the revolving body will fly off at a tangent.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

4 3074
Q:

Which one of the following is not a characteristic of a compound?

A) Composition is variable.  B) All particles of compound are of only one type.
C) Particles of compound have two or more elements. D) Its constituents cannot be separated by simple physical methods.
 
Answer & Explanation Answer: B) All particles of compound are of only one type.

Explanation:

A mixture is made from different substances that are not chemically joined.Compound:

•Two or more elements combine together chemically to form a new substance called compound.

•The different elements are chemically joined together.•Compounds are homogeneous, i.e. their properties are the same throughout

•The compound has properties different from the elements it contains.

•It can only be separated into its elements using chemical reactions. (not using physical methods)

•During the formation of a compound from its elements, a certain amount of energy in the form of heat, light, electricity is either absorbed or evolved

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

3 3074
Q:

What are the Monomers that make up Proteins?

A) Amino acids B) Nucleotides
C) Disaccharides D) Chaperones
 
Answer & Explanation Answer: A) Amino acids

Explanation:

Proteins are long chains of Amino acids. That is in brief, Amino acids are the monomers of Proteins. Amino acids are compounds which contain both an amino group and a carboxylic group. Proteins are made up of 20 essential amino acids.

Monomer means a small molecule of an organic substance i.e, building block in general.

 

Report Error

View Answer Report Error Discuss

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

4 3071
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 3071
Q:

Frequently used marks of punctuation is

A) Semicolon B) Full stop
C) Comma D) apostrophe
 
Answer & Explanation Answer: C) Comma

Explanation:

The comma ( , ) is a punctuation mark in English which is most frequently used.

 

It is perhaps also the most abused and misused punctuation mark among all.

Report Error

View Answer Report Error Discuss

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

2 3071
Q:

A relationship can be damaged by

A) no trust B) not meeting expectations
C) people not spending time with one another D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Any of the above given options can be a reason for the damage of the relationship of a couple or a two families or two friends etc...

Without trust relationship cannot be maintained, people not spending time with one another or without meeting the expectations of the opponents can also damage the relationship.

Report Error

View Answer Report Error Discuss

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

2 3069
Q:

A Disease which spreads by contact?

A) Infectious B) Fatal
C) Incurable D) Contagious
 
Answer & Explanation Answer: D) Contagious

Explanation:

A Disease which spreads by contact are Contagious.

Infectious diseases : These are caused by microscopic germs such as bacteria or viruses that get into the body and cause problems. Some but not all infectious diseases spread directly from one person to another. Infectious diseases that spread from person to person are said to be contagious. Some infections spread to people from an animal or insect, but are not contagious from another human. 

Contagious diseases such as the flu, colds, or strep throat spread from person to person in several ways. One way is through direct physical contact, like touching or kissing a person who has the infection. Another way is when an infectious microbe travels through the air after someone nearby sneezes or coughs.

Fatal Diseases : Diseases leading to failure or disaster.

Incurable Diseases : Diseases of a sick person not able to be cured.

Report Error

View Answer Report Error Discuss

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

8 3068