Definition: diagnostics
(1) Software routines that test hardware components (memory, keyboard, disks, etc.). Diagnostics are often stored in ROM chips and activated on startup.
(2) Error messages in a programmer's source code that refer to statements or syntax that the compiler or assembler cannot understand.