Professional KnowledgeHardIBPS SO IT
A thread shares which of the following with other threads of the same process?
- A. Stack
- B. Heap and open files
- C. Registers
- D. Program counter
Correct answer: B. Heap and open files
Threads have private stacks, registers and PC but share code, data, heap and files.
Practise more IT Officer Professional Knowledge (IBPS SO) questionsIT Officer Professional Knowledge (IBPS SO): notes and key points
More IT Officer Professional Knowledge (IBPS SO) questions
- Two processes P and Q share variable X=0. P does X=X+1 and Q does X=X+1 (each: load, add, store) without synchronisation. Possible final…
- Which is a non-preemptive scheduling algorithm?
- The process state that follows 'running' when its time quantum expires is:
- Locality of reference supports which of these?
- Cache: direct-mapped, 64 KB, block size 16 bytes, 32-bit address. Tag bits:
- The time to build a binary heap from n arbitrary elements using the bottom-up (Floyd) method is: