Questions

Q:

Describe the Buddy system of memory allocation.

Answer

Free memory is maintained in linked lists, each of equal sized blocks. Any such block is of size 2^k. When some memory is required by a process, the block size of next higher order is chosen, and broken into two. Note that the two such pieces differ in address only in their kth bit. Such pieces are called buddies. When any used block is freed, the OS checks to see if its buddy is also free. If so, it is rejoined, and put into the original free-block linked-list.

Report Error

View answer Workspace Report Error Discuss

1 3307
Q:

How can you get/set an environment variable from a program?

Answer

Getting the value of an environment variable is done by using `getenv()’. Setting the value of an environment variable is done by using `putenv()’

Report Error

View answer Workspace Report Error Discuss

Subject: Operating Systems Exam Prep: GATE

2 3307
Q:

Which process allows water to enter the atmosphere?

A) Transpiration B) Respiration
C) Condensation D) Evaporation
 
Answer & Explanation Answer: D) Evaporation

Explanation:

Evaporation is the process that allows water to enter into the atmosphere.

Sunlight turns liquid water into water vapor which then rises higher into the atmosphere and forms into clouds.

 

Plants, too, help water get into the atmosphere through a process called transpiration.

Report Error

View Answer Report Error Discuss

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

4 3307
Q:

The process of encoding refers to

A) getting information into memory. B) the recall of information previously learned.
C) a clear memory of an emotionally significant event. D) the persistence of learning over time.
 
Answer & Explanation Answer: A) getting information into memory.

Explanation:

Encoding refers to the getting information into memory.

Report Error

View Answer Report Error Discuss

6 3306
Q:

By which Amendment Act of the Constitution of India were the Directive Principles of the State Policy given precedence over the Fundamental Right whereever they come into conflict?

A) 40th B) 42nd
C) 44th D) 46th
 
Answer & Explanation Answer: B) 42nd

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

7 3306
Q:

Using OQL, you may do which of the following?

A) Return an entire collection of elements including duplicates. B) Return a collection of elements without duplicates.
C) Return a specific subset of elements using a given criteria. D) All of the above.
 
Answer & Explanation Answer: D) All of the above.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

0 3306
Q:

Which Governor General of India used to write poetry with the name of "Owen Meredith"?

 

A) Lord Dalhousie B) Lord Ripon
C) Lord Lytton D) Lord Canning
 
Answer & Explanation Answer: C) Lord Lytton

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 3305
Q:

Where does hydroelectric energy come from?

A) Air B) Water
C) Solar D) All of the above
 
Answer & Explanation Answer: B) Water

Explanation:

Hydroelectricity is electricity produced from hydropower i.e, water.

Where_does_hydroelectric_energy_come_from1536043070.jpg image

Report Error

View Answer Report Error Discuss

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

4 3305