In a menu-driven program, the user clicks the "File" option from the drop-down menu bar and selects "Quit."
The user presses the "!" key and then "q" key to quit the program or may use a command like the exit command.
A menu-driven environment, like most programs in Microsoft Windows, is easier for users as it is a graphical environment navigated with a mouse. A non-menu-driven environment like the command line can be quicker but requires more memorization and is more difficult for new computer users.