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

Tribes belonging to which one of the following groups earn their livelihood through food - gathering and hunting?

A) Bushman, Pigmy and Eskimo B) Masai, Kirghiz, and Boro
C) Pigmy, Eskimo and Kirghiz D) Boro, Bushman, and Masai
 
Answer & Explanation Answer: A) Bushman, Pigmy and Eskimo

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

3 3311
Q:

I have three eyes but only one leg.

I still close one even if you beg. 

What am I?

Answer

A traffic light.


It has three 'eyes' (the red, orange and green lights) and the leg is the pole holding it up. Many people beg the light to stay green as they’re approaching.

Report Error

View answer Workspace Report Error Discuss

2 3311
Q:

What is the capital of Cuba ?

A) Bayamo B) Amancio
C) Havana D) Sandino
 
Answer & Explanation Answer: C) Havana

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

17 3310
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 3310
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 3309
Q:

Which of these following "Pizza" is originated from?

A) Mexico B) Italy
C) Canada D) Chaina
 
Answer & Explanation Answer: B) Italy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

3 3309
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 3309