What is the allowed range for TTL signal

a) ideal
b) practical (approximately)

2.7 to 5 volts