Questions

Q:

What would be the output of the following program?

# define SQR(x) (x * x)

main()

{

    int a, b = 3;

    a = SQR ( b + 2 );

    Printf ("\n %d ", a );

}

Answer

11


Because, on preprocessing the expression becomes  a = ( 3 + 2 * 2 + 3),  as Ist preference is multiply & then addition, it evalvates as(3+ 2 * 3 +2) = (3+6+2)=11.

Report Error

View answer Workspace Report Error Discuss

Subject: Programming

1 2280
Q:

How many bit combination are there in a byte?

Answer

Byte contains 8 combinations of bits.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2279
Q:

 Which of the following is required for the DB2 optimizer to consider a hash join strategy?

A) Optimization level 1 or above B) Equijion predicates
C) Registry variable DB_ANTIJOIN=YES D) SORTHEAP large enough to contain the tables being joined
 
Answer & Explanation Answer: B) Equijion predicates

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: IBM Certification

1 2279
Q:

The concept of net domestic investment refers to

A) the difference between the market value and book value of outstanding capital stock. B) total investment less the amount of investment goods used up in producing the year's output.
C) the amount of machinery and equipment used up in producing the GDP in a specific year. D) gross domestic investment less net exports.
 
Answer & Explanation Answer: B) total investment less the amount of investment goods used up in producing the year's output.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

0 2279
Q:

The spring constant of a spring depends on its

A) length only B) material only
C) length and its diameter D) thickness, its diameter and its material
 
Answer & Explanation Answer: D) thickness, its diameter and its material

Explanation:

In dealing with a coil spring the spring constant will depend on the stiffness of the spring material, the thicknessof the wire from which the spring is wound and, diameterof the turns of the coil, the number of turns per unit length and the overall length of the spring.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

3 2279
Q:

Economic resources are also called

Answer

Economic resources include land, labour, capital and entrepreneurship. 


Entrepreneurship is also considered an economic resource because individuals are responsible for creating businesses and moving economic resources in the business environment.


 


These economic resources are also called as Factors of production.


 

Report Error

View answer Workspace Report Error Discuss

2 2278
Q:

which statement is true of the classical orchestra?

A) uses violin B) uses flute
C) uses clarinet D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

The classical orchestra uses violin, flute, clarinet, cello, piccolo, Bass,...

Report Error

View Answer Report Error Discuss

Filed Under: Indian Culture
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

17 2278
Q:

Which statement best describes the electronegativity of an element?

A) Electronegativity of an atom is it's ability to produce energy while losing an electron. B) Electronegativity of an atom is it's ability to attract electrons during bond formation.
C) Electronegativity of an atom is it's ability to lose electrons during cation formation. D) Electronegativity of an atom is it's ability to share electrons during a covalent bond formation.
 
Answer & Explanation Answer: B) Electronegativity of an atom is it's ability to attract electrons during bond formation.

Explanation:

Electronegativity, is a chemical property that describes the tendency of an atom to attract a shared pair of electrons (or electron density) towards itself.

Report Error

View Answer Report Error Discuss

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

1 2278