MindRivet

Rivetting your Day!

Archive for February, 2008

Thread, Mutex and Semaphore

February 25th, 2008 by admin

What is a thread?A UNIX process contains both the executing program and a bundle of resources such as file descriptor table and address space. In MACH a task contains a bundle of resources; threads handle all execution activities. All threads associated with a given task share the task’s resources.Thus  thread  is essentially a program counter, […]

Category: Technical

Pregnancy Month by Month

February 25th, 2008 by admin

Pregnancy Month by Month
 The first   trimester
By the end of the third month, the baby is about 6 cm in size. Most of the orgnas are in place but still have to grow. Baby is surrounded by the amniotic fluid at this time. The mother’s physical changes are not apparent.Mother’s face […]

Category: Pregnancy

Care during Pregnancy

February 25th, 2008 by admin

Care during Pregnancy -
Don’t stay in one position for long periods. Raise your legs and feet.Wear comfortable, low-heeled footware.Drink 2-2.5 ltrs of fluid daily and add high fibre food to your diet. This also helps to avoid constipation, a common problem during pregnancy. Exercise regularly at least 3-4 times a week.Rather than having a few […]

Category: Pregnancy

Unix

February 19th, 2008 by admin

 The basic signals on Unix -
Signals, to be short, are various notifications sent to a process in order to notify it of various “important” events. Each signal has an integer number that represents it (1, 2 and so on), as well as a symbolic name that is usually defined in the file /usr/include/signal.h. Each signal […]

Category: Technical

Baby and Child Care

February 19th, 2008 by admin

Crying of babies in the early weeks… 
What does it mean?  When it is the   first baby  , parents often feel helpless about handling the situation and the baby. Parents need understand that crying of babies and older children have different meanings.
A baby cries not always in pain or sadness but for other […]

Category: Baby Care and Child Psychology

Java Interview Questions

February 19th, 2008 by admin

Java Interview Questions
Q What is the difference between AWT and Swing?Q What is final and finalize in Java ?
Q What is the purpose of the finally block in Java ? Would you free resources in the finally block or in finalize and why? Q Consider the below -try{ //code for reading file data […]

Category: Interview Questions

C++ Interview Questions and Answers

February 19th, 2008 by admin

Below is a comprehensive list of C++ Questions asked in interviews. Included along with the C++ questions are their answers.
Q. What’s pass by value and pass by reference in C++.
Passing by Values is passing the copy of the variable in question as the parameter to the called function. This way the actual variable remains unchanged.
Other way of […]

Category: Interview Questions