Questions

Q:

Explain the meaning of mutex.

Answer

Mutex is the short form for ‘Mutual Exclusion object’. A mutex allows multiple threads for sharing the same resource. The resource can be file. A mutex with a unique name is created at the time of starting a program. A mutex must be locked from other threads, when any thread that needs the resource. When the data is no longer used / needed, the mutex is set to unlock.

Report Error

View answer Workspace Report Error Discuss

0 3634
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 3634
Q:

After the decline of the Chalukya kingdom of Kalyani at the close of the 12th and of the chola kingdom at the begining of the 13th century, the new kingdom which arose in South India were

A) Yadavas of Devagiri and Kakatiyas of Warangal B) Hoysalas of Dwarsamudra and Pandyas of Madurai
C) Vijayanagar and Bahamani kingdoms D) Both (a) and (b)
 
Answer & Explanation Answer: D) Both (a) and (b)

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

3 3632
Q:

I always run but never walk, often murmur, never talk, have a bed but never sleep, have a mouth but never eat. Who am I?

I_always_run_but_never_walk,_often_murmur,_never_talk,_have_a_bed_but_never_sleep,_have_a_mouth_but_never_eat1551358331.jpg image

A) Forest B) Fire
C) River D) Mountain
 
Answer & Explanation Answer: C) River

Explanation:

River.

It always runs  or flows but never walks.

It will sound like murmuring but never talks.

It has bed but never sleeps.

It has mouth but never eats.

Report Error

View Answer Report Error Discuss

6 3631
Q:

A calorie is another term for carbohydrate.

A) TRUE B) FALSE
Answer & Explanation Answer: B) FALSE

Explanation:

The given statement that a calorie is another term for carbohydrate is False.


 


Carbohydrates are one of the main types of nutrients, and are most important source of energy.


 


Where as Calorie is a measurement of how much heat energy is generated by the body processing food.


 


Your digestive system changes carbohydrates into glucose(blood sugar). Your body uses this sugar for energy. 


 

Report Error

View Answer Workspace Report Error Discuss

Subject: General Science
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

2 3631
Q:

Soil erosion can be prevented by

A) Removal of vegetation B) Overgrazing
C) Afforestation D) Increasing bird population
 
Answer & Explanation Answer: C) Afforestation

Explanation:

The four most common soil erosion prevention methods are vegetation, geotextiles, mulch, and retaining walls.

By planting grass in areas of concentrated water flow, farmers can prevent much of the soil erosion that results from runoff, as the grass stabilizes the soil while still providing an outlet for drainage.

Preventing soil erosion is critical in protecting your property and exposed soil, whether from wind, weather, running water, and even the after-effects of the forest fire.

Report Error

View Answer Report Error Discuss

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

8 3629
Q:

Refer the below data table and answer the following question.

Between 10pm to 6am, a fitness band records the following data. How long was the user dreaming or was awake ?

 

A) 4.9 hours B) 5.9 hours
C) 6.4 hours D) 6.9 hours
 
Answer & Explanation Answer: C) 6.4 hours

Explanation:
Report Error

View Answer Report Error Discuss

0 3629
Q:

Who wrote the book ' A Passage to India '

A) Ruskin Bond B) Jawaharlal Nehru
C) Victor Banerjee D) E.M.Forster
 
Answer & Explanation Answer: D) E.M.Forster

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

6 3629