You don't need to use programming for this task. You need to create an object replacement (in your example, an Account object replacement), in which you can set the default value for the corresponding columns, save the changes, and publish the object.
After that, when you open the pages of creating records, you will see the fields immediately filled with the default values.
These links can also be useful for you to find more options for achieving your goal: