Connected automated vehicle (CAV) technology is the core for the new age vehicles in research phase to communicate with one another and assimilation of vehicular ad-hoc network (VANET) for the transference of data between vehicles at a quantified place and time. This manuscript is an enactment of the algorithms associated to the maintenance of secure distance amongst vehicles, lane shifting, and overtaking, which will diminish the occurrence of collisions and congestions especially phantom jams. Those implementations are centered over CAV and VANET technology for the interconnection of the vehicles and the data transmission. The data is associated to the aspects of a vehicle such as speed, position, acceleration, and acknowledgements, which acts as the fundamentals for the computation of variables. In accordance with the environment of a particular vehicle (i.e., its surrounding vehicles), real-time decisions are taken based on the real-time computation of the variables in a discrete system.