Wednesday, October 28, 2015

Compiler/Interpreter/Bit/Byte/UnitofMemory

Bit- digit of binary (0 or 1), (off/on)
Byte - 8 digits of binary; unit of memory, characters represented by bytes

Compiler/Interpreter - converts source code (Java, Python, C++) into binary or machine code
Compiler does it all at once after you write the code
Interpreter does it line by line when you are writing the code

1 comment:

  1. To elaborate on compiler and interpreter: "A compiler searches all the errors of a program and lists them. If the program is error free then it converts the code of program into machine code and then the program can be executed by separate commands. An interpreter checks the errors of a program statement by statement."

    ReplyDelete