Which of these sentences is correct?
1. If a parent process does not collect the exit code of a child process with wait, the child process
becomes an orphan adopted by init process, with pid = 1.
2. The ready queue selects which process should be executed next
3. A process may include the text section, data section, program counter, stack and heap
4. If a process is waiting for some event to occur, such as reception of a signal, it is in the ready
queue.