- computers consist of 0 and 1 {binary code} -- off and on
- one unit (0 or 1) is called a bit
- 8 bits equal one byte - a unit of memory
- each character is assigned a byte -- a series of 8 bits -- that represents it
- tells what is off and on
- computers understand what we tell it to do by their compilers/interpreters
- a compiler translates the whole program
- an interpreter translates the program line by line
- compiler/interpreter will alert you if part of the program doesn't compile
- some types of source code are
- c++, python, java
- there is a set of grammatical rules/compilers in each of these
Thursday, October 29, 2015
bit/byte/compiler/interpreter/source byte code
Computers start working when you click the power button
Subscribe to:
Post Comments (Atom)
I want to clarify this to you about 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