One of WordPress interview questions for experienced is how to develop a WordPress plugin.
Here are the basic steps:
You need to come up with a unique name, create the plugin folder with a subfolder for PHP files, create the main plugin file, create functions for activation and deactivation, create an uninstall script and readme.txt file.