Step 1: Understand Thermal Decomposition of Nitrates
When metal nitrates decompose:
\[
M(NO_3)_2 \rightarrow MO + NO_2 + O_2
\]
For Group 2 (Be, Ca) and Li:
They decompose into basic metal oxides (e.g., CaO, BeO) and acidic oxides (NO\(_2\)).
For NaNO\(_3\):
It decomposes into NaNO\(_2\) and O\(_2\), not both acidic and basic oxides.
Step 2: Identify Correct Options
Ca(NO\(_3\))\(_2\) forms CaO (basic) and NO\(_2\) (acidic).
LiNO\(_3\) forms Li\(_2\)O (basic) and NO\(_2\) (acidic).
Thus, the correct answer is \( ii, iv \).