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

Who has become the first batsman to score three double tons in One Day Internationals?

A) Virat Kohli B) AB de Villiers
C) Chris Gayle D) Rohith Sharma
 
Answer & Explanation Answer: D) Rohith Sharma

Explanation:
Report Error

View Answer Report Error Discuss

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

23 3577
Q:

What does preceded in death mean?

Answer

We know that, preceeded means to come before. 


Hence, the given sentence, preceded in death means that person had died before this person.


 


For example :: Rahul preceeded Ravi in death, means Rahul died before Ravi.

Report Error

View answer Workspace Report Error Discuss

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

2 3576
Q:

A bucket of water is hung from a spring balance. A piece of iron is suspended in the water without touching the sides or touching the bottom of the the bucket. The reading of the spring balance

A) will increase B) will decrease
C) does not change D) varies with the increase of depth of the immersion of the iron piece
 
Answer & Explanation Answer: A) will increase

Explanation:

When the piece of iron is lowered into the water, the water level in the bucket increases. And so the pressure at the bottom of bucket also increases. Thus the total thrust at bottom also increases. Therefore the spring balance reading increases. Thus (a) is correct.

Report Error

View Answer Report Error Discuss

Filed Under: Physics

1 3574
Q:

Which of the following is a film directed by Mr. Buddhadeb Das Gupta

A) Krantiveer B) Mohra
C) Character D) 1942 - A Love Story
 
Answer & Explanation Answer: A) Krantiveer

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

2 3574
Q:

How many gold medal have been won by India in the Olympics so far

A) 4 B) 6
C) 8 D) 10
 
Answer & Explanation Answer: C) 8

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

6 3573
Q:

The earliesr cirty discovered in India was

A) Harappa B) Rangpur
C) Mohenjodaro D) Sindh
 
Answer & Explanation Answer: A) Harappa

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

2 3572