There are some basic initial conditions to consider before you can even start answering this:
- What climate are you in?
- What kind of terrain are you in? (Mountains, lowland forrest, jungle, coastal...?) 2a) Do you have the option to get to a new type of terrain / climate?
- What kind of tools/materials do you have access to from the start (we're talking, do you even have a hatchet/knife, jacket, backpack, water-tight container, etc., or is this a "the clothes on your back" situation?)
I have some experience in some of the worst survival conditions you can imagine (far sub-freezing coastal and mountain climate). In those conditions, your by-far first priority is heat and shelter. The cold will kill you in hours if you don't know what you're doing. Even in far better conditions, knowing how to survive just being outside (before you even consider food) is what will probably get most people in an unsupported survival situation.
Fact is: You can survive for a week or two without food, but most people would probably be so preoccupied and exhausted by just existing outside unsupported over more than a few days that they wouldn't have the capacity to do anything more than exist. The first prerequisite for survival is to have enough experience and good enough routines when it comes to keeping yourself dry, warm, and rested, that you actually have leftover capacity to start thinking about things like finding food, moving to more advantageous terrain, making tools, improving your shelter, etc.
If this is a hobby to you, I could recommend trying to do some minimalistic camping. Learn how to build a good shelter, and how to make a fire with a fire steel (is that what it's called in english?). You could start out with as much gear as you need, and cut down on gear as you get more comfortable. Figure out what you need to do to stay warm and dry, even if you're outside for several days in the rain/sleet/snow. Maybe most importantly, you'll get some experience on what different conditions are like when you're outside in them constantly, and can't go inside to fix and dry your gear.
Regarding food: My personal experience is that the most reliable source of food you can find is probably fish. Fishing requires very minimal gear and works year-round pretty much everywhere in the world. I've been on a couple self-sustained trips just living off the fish I caught (not more than a few days, but I caught enough that I didn't go hungry). If I were in a long-term survival situation, the first thing I would need to know is probably how to preserve fish more efficiently than I do today. If you have fish and berries, you should be able to keep chugging along for a couple months, which should be enough time to start developing even more long-term solutions.
Bottom line: I think that in a situation like the one you describe (surviving unsupported outside of civilisation), most people would be done-for by exposure within a couple weeks. Some people would be able to survive past the first couple weeks before succumbing to starvation. If you're able to make it more than the first couple months, that's when you can even begin considering things like "what is a good farming strategy". Of course, this is not considering the people that would survive off looting, occupying buildings, etc., only considering people that try to survive in the wilderness.