Please help: Straight-line vs Effective interest Amortization, Investment bonds

Can someone please explain to be about effective amortization vs straight-line amortization for bond invesment premium and discount? I saw multiple choice questions that used both methods and the answers are calculated differently (usually asking what the amortized cost of the bond on the balance sheet is)