python section 1.1

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering core concepts of compilation vs interpretation, machine vs high-level languages, and Python basics as presented in the lecture notes.

Programming

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

Instruction List (EEL)

The complete set of known machine-language commands; the computer's alphabet used to give commands.

2
New cards

Machine language

The simplest, lowest-level language; commands are directly executed by the computer and it has no built-in intelligence.

3
New cards

Natural language

Human languages that develop naturally and evolve; not designed for computers.

4
New cards

High-level programming language

A language more complex than machine language, readable by humans, requiring translation to machine language.

5
New cards

Source code

A program written in a high-level programming language; the text of the program.

6
New cards

Source file

The file containing the source code; it must be pure text (no fonts, colors, images, or media).

7
New cards

Compiler

A tool that translates source code into machine language before execution; produces standalone machine code.

8
New cards

Interpreter

A tool that reads and executes source code directly, usually line by line, without a separate compilation step.

9
New cards

Compilation

The translation of a high-level language into machine language performed by a compiler; results in machine code.

10
New cards

Interpretation

The process of translating and running code by an interpreter without producing standalone machine code.

11
New cards

Compilation advantages

Faster execution of translated code; end users can run the code without the compiler; translated code is in machine language.

12
New cards

Compilation disadvantages

Can be time-consuming to compile; may require a separate compiler for each hardware platform.

13
New cards

Interpretation advantages

Code can be run immediately without a separate translation phase; code remains in high-level form and can be portable among machines with the interpreter.

14
New cards

Interpretation disadvantages

Slower execution since the interpreter shares CPU resources; both developer and end user must have the interpreter.

15
New cards

Python

An interpreted language that requires the Python interpreter to run; free to use; commonly described as a scripting language.

16
New cards

Scripting language

Languages designed to be interpreted; source programs are typically called scripts.