Allied Telesis Interview Question

Different between thread and process