Wednesday, March 11, 2015

Compiler and Interpreter

Interpreter:
An interpreter is used to translate a program line for line. It is more useful to use an interpreter when the programmer is making up the program and/or improvises. An interpreter and compiler contrast each other because of their different efficacy while they run the translation for the program. 

Compiler:
A compiler is used to translate an entire program, which is often more useful for a long one. Instead of having to wait for a large program to translate after each line that is typed, it translates it all at the end and checks for any mistakes in the coding. 

How does the Computer Understand what we type?

A computer is able to understand our language because it has been given a code. To determine what each letter is, there is a series of numbers which are in binary code, that translates what each letter is. This allows the computer to interpret what is being typed.

Example:
A=01100110
B=10011001

My Perspective of Computer Architecture

I am unfamiliar with computer architecture and I hope to learn more about it in this class.