If you don't knowIn general the a more detailed bracha for foodis always preferable over a generic bracha. This is why we have so many different berachot, say 'sh'hakol'to be as specific as we possibly can. However, if you don'tdo not know what the correct bracha in another situationto make is, sayyou can make a full line frommore generic bracha.
The most generic bracha for food is "Shehakol" (from which all things are created). For other situations, the best practice is to say a pasuk from tehilim which generically praises Gd in a generic way., such as "Hallelyuah"