When the switch is closed, electrons flow from the solid magnesium electrode, Mg(s) to solid silver electrode, Ag(s).
Electronegativity of metals
Electronegativity of metals refers to the ability of the atoms of metallic elements to attract electrons from the other metallic elements.
Electronegativity increases down the activity series.
Silver (Ag) will have more tendency to attract electron more than magnesium (Mg).
Thus, when the switch is closed, electrons flow from the solid magnesium electrode, Mg(s) to solid silver electrode, Ag(s).
Learn more about electronegativity here: https://brainly.com/question/24977425
#SPJ2