UCLA Interview Question

How would a pull up resistor be used in a system?