Given that electronegativity increases across a period and decreases down a group in the periodic…