Answer: Transaction is the process of processing information in a standalone system or distributed system. There are two basic types of systems which are preemptive and non preemptive transactions.
Step-by-step explanation:
Transaction can be complete successfully or it can fail but it can never be partially completed. Computer processes which completes in its entirety or does not complete at all are termed as processes.
Preemptive processes are those where the cpu is allotted to a process for a definite time . The cpu can be given to another process if it has higher priority.
Whereas in non preemptive processes the cpu once allotted to a process cannot be assigned to another process until job is finished for the first process.