object file In computer science, object code, or an object file, is the representation of code that a compiler or assembler generates by processing a source code file.computer sciencecompilerassemblersource code Object files contain compact code, often called binaries .