I remember visiting the cockpit pre-9/11 and it did not include being invited to sit at the controls. Or, in other words, children visiting the cockpit was probably more the proximate cause than the root cause.
The Air France flight that crashed into the Ocean by Brazil was also partly the fault of different designs by the two major aircraft manufacturers. In Boeing planes, the input is synced between the pilot and copilot (if one pulls up, the other physically moves as well). In Airbus planes however, the input is merged together instead. If one pilot pulls up, and one is pushing down, nothing really happens.
This ended up partly leading to the crash, as one pilot heard the stall warning and pulled up (causing more speed loss), while the other pilot correctly pushed down. If the inputs were synced, the other pilot likely would have noticed his copilot was making the wrong input.
Which is just crazy! I wonder who the product manager who thought "what should happen if one pilot is pushing on the stick and the other is pulling? I know, just average them and fly straight" was. There are various things you can do in that situation that would kind of make sense (the Boeing design being the best), and that is not one of them.
Once you settle on a design where the two controls move independently of each other, then yes, there's no sensible answer. But, don't do that.
I can't think of a situation that would warrant one flight control being pushed and the other pulled...
Most aircraft have both sets of flight controls physically connected (either via direct links, or actuators driven by flight computers). So if one pilot pulls back, the other set of controls comes back as if it's being pulled on. One of the advantages of this design is both the pilot and copilot can be aware of what the control input is at any given moment.
More information for those interested. It's a long read.
http://www.popularmechanics.com/flight/a3115/what-really-hap...
That might be the case, but I would rather not be on a plane where children are allowed inside the cockpit. Parents can visit an aviation museum if they want to.
Anyhow, kids aren't the only danger in the cockpit. Around the same time, I rode in a Bell helicopter with family members during a local festival. An older cousin in his 60s at the time sat up front with the pilot. Trying to "get comfortable," he'd slammed his foot against one of the pedals and managed to bump the cyclic in his surprise. Needless to say, the pilot wasn't very happy once we landed.
I was about 9 or 10, and was only just strong enough to push or pull the regulator (controls how much steam is allowed into the piston). The driver explained the important gauges, like the boiler water level and pressure, and showed the tiny view ahead which he had to use to look at signals. And the shelf above the firebox, which could be used to keep tea warm.
[1] One of these: https://en.wikipedia.org/wiki/SR_V_Schools_class
It needs to be done safely of course, but as a child, seeing into the airplane cockpit was my favorite part of the trip. All the buttons and switches, and the uniforms the pilots wore... it all dazzled me as a young child. To this day, I still desire to fly an airplane...
Unfortunately the systems I work with only have switches written in code. Perhaps I should rig the deploy process up to a sturdy industrial switch panel for fun.
Source: Did it as a child twice