click below
click below
Normal Size Small Size show me how
Programming #1
From all lessons in "Foundations of Programming"
| Term | Definition |
|---|---|
| CPU | Connects to Input + Output devices, Storage(HDD), and Memory(RAM) |
| Software | Receives and displays info |
| Integrated Development Environments (IDE) | Helps create programs. Uses many types of tools. It's a toolbox rather than a tool |
| Design time | Write source files and commands. Find and fix errors |
| Run time | Test while running |
| Syntax error | Problem with spelling. The interpreter doesn't understand the code and it cannot be compiled |
| Runtime error | Problem with executing instructions. Leads to unexpected behavior or crash |
| Logical error | Problem with incorrect outputs |
| Source file | Text file with special extensions. Saved on storage devices(hard drives), otherwise disappearing in memory |
| Source code | Written in a programming language. Stored in a source file |
| Compiler / Assembler | Translator |
| Machine Language | Binary |
| Binary to Text | Binary > Decimal > Hexadecimal > Character |
| Assembly Languages | named binary instructions |
| 3rd Gen Programming Language | High level languages |
| 4th Gen Programming Language | Tell it what you want, and it delivers |
| Programming languages | Consists of statements(commands) and start / end delimiters |
| Python features | OOP + Multi-paradigm, interpreted language, type safe, Portable + Interoperability, Platform independent |
| Frozen Binaries | Executable packages that bundle program files, python interpreter, and required support files |
| Python source code .py | Interpreted by Python interpreter |
| Python bytecode .pyc | Intermediate language python modules are complied into. Not machine language or binary |
| Just-In-Time Compiler (JIT) | Converts bytecode into native machine code, making it execute faster |
| Literals | Constant values (int, float, bool, string) |
| Interpreted Languages | Interpreters run through the program line by line and execute each command |
| Compiled Languages | Converted directly into machine code |