This question already has an answer here:
I am about to format and manually partition my hard drive for Ubuntu for the first time. I have 16GB of RAM. I am wondering if I should even allocate a swap partition? Should I just make a root partition and a home partition?