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

In which layer is the temperature the lowest?

A) Troposphere B) Ionosphere
C) Mesosphere D) Stratosphere
 
Answer & Explanation Answer: C) Mesosphere

Explanation:

The mesosphere lies above the stratosphere and extends to an altitude of about 85 km. This is layer is often referred to as the cold layer, as the lowest readings in the atmosphere are found here.

 

Temperature decreases with height, reaching a minimum average value of -90 ºC at the top of the layer.

Report Error

View Answer Report Error Discuss

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

5 3070
Q:

Which property classification would include tools?

Report Error

View answer Workspace Report Error Discuss

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

2 3070
Q:

Hard Drive capacity is measured in

A) Newton B) GB
C) THz D) Gwallior
 
Answer & Explanation Answer: B) GB

Explanation:

Hard drive or disc is used to store the users information and its capacity is measured in Giga Bytes (GB) and Tera Bytes (TB).

Report Error

View Answer Report Error Discuss

12 3069
Q:

I make things short but I am pretty long myself.

WHAT AM I?

Answer

I am ABBREVIATION.


Yes, i make things short and asks the full form of that thing.


 


Ex : FCI - Food Corporation of India


IAS - Indian Administrative Service.

Report Error

View answer Workspace Report Error Discuss

4 3068
Q:

Sources of geothermal power are

A) water B) earth's heat
C) Both A & B D) None of the above
 
Answer & Explanation Answer: C) Both A & B

Explanation:

Geothermal power plants are used in order to generate electricity by the use of geothermal energy (the Earth's internal thermal energy). They essentially work the same as a coal or nuclear power plant, the main difference being the heat source.

geothermal_power1531899280.png image

Geothermal power plants use hydrothermal resources that have both water (hydro) and heat (thermal). Geothermal power plants require high-temperature (300°F to 700°F) hydrothermal resources that come from either dry steam wells or from hot water wells.

Report Error

View Answer Report Error Discuss

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

3 3067
Q:

Where does cellular respiration take place in the cell?

A) cytoplasm B) mitochodria
C) Ribosomes D) Chromosomes
 
Answer & Explanation Answer: B) mitochodria

Explanation:

Cellular repiration takes place in the mitochodria.

 

There are 3 phases of cellular respiration. They are:

1. Glycolysis (Fermentation),

2. Krebs Cycle, and

3. Electron Transport.

 

Glycolysis takes place in the cytoplasm. The Krebs cycle and electron transport takes place in the mitochondria.

Report Error

View Answer Report Error Discuss

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

4 3066
Q:

Physical data models describe the details of how data is stored in the computers

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

Explanation:

They describe the details of how data is stored in the computers

Report Error

View Answer Workspace Report Error Discuss

Subject: Database
Job Role: Database Administration

0 3065