Automata theory predominates in a number of applications derived using the technique of a finite state machine . In the paper, we study the representation of a vending machine (VM) that enhances the academic institution’s book delivery service using the concepts of the computation theories. The effectiveness regarding the virtual machine(VM) is viewed as a problem. Automata theory relies on the finite state machine (FSM) design to increase efficiency. The different components of a vending machine are examined at, and it is determined how they can be modelled as finite state machines. We go over the architectural considerations for vending machines, such as the selection of components, the layout of the machine, and the selection of input and output approaches. We use the theory of computation to examine the constraints and difficulties in vending machine design. The paper will design an FSM with fewer states in the end. As a result, we will learn how to increase the VM’s design effectiveness and cost.