Does it come with a screwdriver
Yes it does.
Will the 40in desk hold a mid tower pc and a 27in monitor on top?
Is the mouse pad included?
Yes. It does include a large mousepad.
Can the cup holder, headphone hook be taken off? Or switch sides?
Yes they can be swapped or you can choose to not install them.