Refer "Electronic Principles by Malvino", link:**broken link removed** & "Digital Systems by Tocci", link:**broken link removed**. For other basic components(like resistor, inductor, etc.) refer electric circuits books, usually 1st course in univ.s. for this many options are avail. e.g. Books by W. Hayt, Sadiku.
For more practice of various problems, always u can refer Schaum's Outline Series by McGraw Hill.
U google these, u will get links for ebooks.
Good luck:smile: