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:

What is the theme of 2017 World Environment Day (WED)  ?

A) Connecting People to Nature B) Raise Your Voice Not The Sea Level
C) Think.Eat.Save D) Green Economy: Does it include you?
 
Answer & Explanation Answer: A) Connecting People to Nature

Explanation:

The World Environment Day (WED) is observed every year on June 5 to raise awareness about forests and wider issues of environmental protection. The 2017 theme is ‘Connecting People to Nature’. It implores us to get outdoors and into nature, to appreciate its beauty and to take forward the call to protect the Earth that we share. The host country for the WED 2017 is Canada, where the official celebrations take place.

Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: AIEEE , Bank Exams , CAT

4 3307
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:

What is the name given to the Indegeneously - developed multi - barrel rocket system?

A) Trishul B) Agni
C) Pinaka D) Arjun
 
Answer & Explanation Answer: C) Pinaka

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

1 3305
Q:

Which year is associated with the Boston Tea Party ?

A) 1773 B) 1770
C) 1776 D) 1765
 
Answer & Explanation Answer: A) 1773

Explanation:

In 1773, several colonies of North America refused to unload the tea coming in English ship.In Boston, when the governor ordered a ship to be unloaded, a group of citizens, dressed as American Indians, boarded the ship and dumped the crates of tea into the water. This incident is known as the 'Boston Tea Party '.

Report Error

View Answer Report Error Discuss

Filed Under: World History

1 3305
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 3305
Q:

Who invented Electrocardiograph(EKG)?

Answer

The EKG was invented by Willem Einthoven in 1903 and is used to monitor and analyze past and present heart activity in an individual.

Report Error

View answer Workspace Report Error Discuss

Subject: Inventions

5 3304