Unused TTL inputs are high = 1; Fairchild's application note 363: Designing with TLL says:
Unused inputs on TTL devices float at threshold, anywhere
from 1.1V to 1.5V, depending upon the device and its family.
While this usually simulates a “high”, many application problems can be traced to open inputs. Inputs floating at threshold are very susceptible to induced noise (transmitted from
other lines) and can easily switch the state of the device. A
good design rule is to tie unused inputs to a solid logic level.
Inputs are usually tied to VCC through a 1 kΩ to 5 kΩ resistor,
since tying them to ground means supplying the IIL current
instead of the IIH current. IIL is several orders of magnitude
greater than IIH. The resistor is recommended to protect the
input against VCC voltage surges and to protect the system
against the possibility of the input shorting directly to ground.
A single 1k resistor can handle up to 10 inputs.
While not all TTL-like families based on BJTs ((A)LS, (A)S, F, etc.) use the emitter of a BJT as input, they are designed to behave the same way.
CMOS devices use MOSFET gates as inputs. This implies that floating inputs can lead to an half-on state where the input state is indeterminate, or oscillates (see, for example, TI's application note Implications of Slow or Floating CMOS Inputs).
The only practical way of giving a CMOS input a 'default' value is to use a pull-up or -down resistor, but it's usually not done for discrete logic because it would reduce the input impedance by a great amount.
(Some CMOS devices have bus-hold circuits to prevent their inputs from floating, but the power-up state still is undefined.)