Can we write the structure of a compound if the name of the compound
is given?
Yes, we can write the structures from the name of the compound as
follows:
From the word root in the name write the carbon atoms in the main
chain
Select counting of carbon atoms in the appropriate manner from left
to right or right to left as for the name given.
Attach the substituents to respective carbon atoms as per their numbers
and numerical designations.
Find the functional group if any from the name of the compound see
that it is correctly arranged in the structure.
Keeping in view that the tetravalency of each carbon atom has to be
satisfied use hydrogen atoms in the required number and complete the structure.