Are D cell batteries good for done?

and what about power adapter?

Can I use them for on table testing?