Step-by-step explanation:
p=1s^2,2s^2,2p^6,3s^2,3p^1
q=1s^2,2s^2,2p^6,3s^2,3p^4
the quantum numbers are used in my answer.
there are 4 quantum numbers.
1.principal quantum numbers
2.angular momentum quantum numbers
3.magnetic quantum numbers
4.spin quantum numbers
In this case,the angular momentum quantum numbers is being used.it describes the unique quantum state of an electron and is designated by the letter L.this behaviour manifests itself as the shape of the orbital.electron shells have distinct shapes denoted by letters,s,p,d,f.
l can be numbers like,0,1,2,3
the maximum electrons in each letter is,
s=2
p=6
d=10
f=14
the shapes of the sub_shells
s sub_shell is spherical
p sub_shell is two dumb_bells
d sub_shell is four dumb_bells
f sub_shell is eight dumb_bells