Questions

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 3583
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 3582
Q:

Dust particles in the air of large industrial cities are removed by 

A) Sedimentation B) Electrophoresis
C) Tyndall effect D) Brownian movement
 
Answer & Explanation Answer: B) Electrophoresis

Explanation:

Dust particles such as coal dust(smoke) are fine particle of a solid (carbon in the case of smoke) dispersed in air. They are colloidal systems and the particles are charged either positive or negative. In an applied electrical field, they are attracted towards the opposite electrodes. Movement of the particles towards the electrodes is known as 'electrophoresis'. Hence electrophoresis is applied to remove smoke within the chimeny itself without allowing it to escape into the air and cause nuisance.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

3 3582
Q:

Which of the following is used to preserve specimens in the biology laboratory?

A) Phenol B) Benzaldehyde
C) Formaldehyde D) Acetic acid
 
Answer & Explanation Answer: C) Formaldehyde

Explanation:

A 40% solution of Formaldehyde known as Formalin is used in the preservation of biological specimens because of its hardening action on proteins. 

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

3 3582
Q:

Fat can be seperated from milk in a cream seperator because of :

A) Cohesive Force B) Gravitational Force
C) Centripetal Force D) Centrifugal Force
 
Answer & Explanation Answer: D) Centrifugal Force

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

6 3580
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 3580
Q:

Who has won the Nobel prize in "Physics" for the year 2017 ?

A) Barry Barish B) Kip Thorne
C) Rainer Weiss D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Rainer Weiss, a professor at the Massachusetts Institute of Technology, and Kip Thorne and Barry Barish, both of the California Institute of Technology, were awarded the Nobel Prize in Physics for the discovery of ripples in space-time known as gravitational waves, which were predicted by Albert Einstein a century ago but had never been directly seen.

Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

19 3580
Q:

Which of the following became widespread during the 1980's?

A) Internet B) Radio
C) Cable television D) All the above
 
Answer & Explanation Answer: C) Cable television

Explanation:

Cable television or cable TV became widespread during the 1980's.

Report Error

View Answer Report Error Discuss

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

6 3579