1/33
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No study sessions yet.
Program
Direction that make computers usable.
What do programs do?
Provide directions for computers to complete executions.
Programs create:
Languages
Machine Language
A simple language that machines run on.
Where is machine language executed?
Directly on computer hardware.
Machine Code
It is a compilation of machine language.
Instruction List
A complete set of known commands.
IL
Instruction list.
Natural Languages
Languages that develop naturally.
Machine languages are:
Developed by humans.
Alphabet
Symbols to build words.
Lexis
A dictionary to show the words offered to users.
Syntax
Rules to determine strings of words.
Semanties
Rules that determine phrases that make sense.
High-Level Languages
Solution for the need of a common language between humans and computers.
Source Code
A program written in a high-level programming language.
Source File
The file that contains the source code.
Alphabetically
Must be written in a recognizable script.
Lexically
Each language has a dictionary to master.
Syntactically
Each language has rules that must be obeyed.
Semantically
It must make sense.
Compilation
Source program is translated once through a file containing machine code.
Interpretation
You translate the source program each time it needs to be run.
Source code cannot be distributed through:
Interpretation.
Computer File
A computer program that is a piece of text.
Pure Text
Text with no fonts, colors, or images. Bare bones text.
Computer file text must be:
Pure text.
Error Message
Occurs if the interpreter detects an error in subsequent lines.
Compilation Advantages
Faster execution, user needs complier but end-user does not, programming tricks are secured.
Compilation Disadvantages
A time consuming process, you must have compliers for every platform you wish the code to be used on.
Interpretation Advantage
The code can run as soon as completed, can be stored as a programming language.
Interpretation Disadvantage
The code will be slower based on computer, you and the user will need the same interpreter.
Python is an:
Interpreted language.
Script Languages
Interpreter languages with encoded scripts.