1 Introduction Flashcards
List all Anaconda packages
conda list
Most important skill for compsci
Problem solving
Can run on many types of computers
Portable
Portable
Can run on many types of computers
Reads lines and executes sequentially
Interpreter
Interpreter
Reads lines and executes sequentially
Compiler
Reads source code and translates to executable
Reads source code and translates to executable
Compiler
2 ways to use Python interpreter
Shell and program mode
Syntax Error
Structural errors or typos
Structural errors or typos
Syntax Error
Runtime Error
Only appears when running program
Exception
Only appears when running program
Error that only appears when running a program
Runtime Error / Exception
Semantic Error
Runs successfully, but not correctly
Runs successfully, but not correctly
Semantic Error
2 types of language
Natural and Formal
Token
Basic element of language
Basic element of language
Token
Language structure
Way tokens are arranged
Way tokens are arranged
Language structure
Determining structure
Parsing
Parsing
Determining structure
Semantics
Understanding meaning
Understanding meaning
Semantics
Differences between natural and formal language
Natural is ambiguous, formal literal and less redundant