CS304 GDB Solution Fall 22


 CS304 GDB Solution Fall 22

In the given scenario, object oriented paradigm is most suitable. As we need to make the data of all those who are going to make ticket reservation more secure, so object oriented paradigm provides us this facility. With data hiding and obstructionist is easier to make the data secure. So if we use object oriented paradigm for this purpose, all personal information of all viewers will be safe from the outsiders. Encapsulation will help to separate implementation from interface, by making the confidential information of all the viewers private. In this way, data security can be made possible.

In constant, procedural programming paradigm offer no such facility.