The operational state of a computer or a program. For example, edit mode is the state in which a program accepts changes to a file.