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

A UPS connects your computer and a power source.

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

Explanation:

A UPS (Uninterruptible Power Supply) is a device that provides battery backup when the electrical power fails or drops to an unacceptable voltage level.


Related image


Small UPS systems provide power for a few minutes; enough to power down the computer in an orderly manner, while larger systems have enough battery for several hours.

Report Error

View Answer Workspace Report Error Discuss

1 3076
Q:

Which clade does not include humans?

A) diapsids B) craniates
C) synapsids D) lobe fins
 
Answer & Explanation Answer: A) diapsids

Explanation:
Report Error

View Answer Report Error Discuss

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

0 3076
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 3076
Q:

Shock resisting steels should have

A) toughness B) low wear resistance
C) low tensile strength D) low hardness
 
Answer & Explanation Answer: A) toughness

Explanation:

Shock resisting steels should have toughness.

S-5 is a silico-manganese shock resisting steel that offers good ductility.

Report Error

View Answer Report Error Discuss

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

0 3076
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 3075
Q:

According to Assocham Report, ____________ is second best state in attracting investments.

A) Gujarat B) Maharashtra
C) Odisha D) Madhya Pradesh
 
Answer & Explanation Answer: A) Gujarat

Explanation:

Maharashtra bagged top position in total live investments attracted by different public and private sources across India as of FY17 stated the ASSOCHAM report. While Gujarat is in the second position followed by Odisha on the third slot, Gujarat at 8.5% and Odisha at 7%. Maharashtra led the pack to top as the best state to attract the investments.

Report Error

View Answer Report Error Discuss

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

13 3074
Q:

What was the first book ever written?

Answer

The first written story that has come down to us is The Epic of Gilgamesh.


It is a mythologized account of a historical figure, Gilgamesh, a ruler of the Sumerian city-state of Uruk, believed to have ruled sometime between 2700-2500 BC.

Report Error

View answer Workspace Report Error Discuss

Subject: Indian History Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

19 3074