Chapter 1 - Definitions Flashcards
(29 cards)
Define activecode
A unique interpreter environment that allows Python to be executed from within a web browser
Define algorithm
A general step by step process for solving a problem
Define bug
An error in a program
Define byte code
An intermediate language btwn source code and object code. Many modern languages first compile source code into byte code and then interpret byte code with a program called a VIRTUAL MACHINE
Define codelens
An interactive environment that allows the user to control the STEP by STEP EXECUTION of a Python program
Define comment
Info in a program meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program
Define compile
To translate a program written in a high-level language into a low-level language at once, in preparation for later execution
Define debugging
Process of finding and removing any of these kinds of programming errors
Define exception
Another name for a RUNTIME ERROR
Define executable
Another name for object code that’s ready to be executed
Define formal language
Any one of the languages that people have designed for specific purposes, such as representing mathematical ideas or computer programs; all programming languages are formal languages
Define high-level language
A programming language like Python that’s designed to be easy for humans to read and write
Define interpret
To execute a program in a high-level language by translating it one line at a time
Define low-level language
A programming language that’s designed to be easy for computer to execute; also called MACHINE language or ASSEMBLY language
Define object code
Output of the computer after it translates the program
Define parse
To examine a program and analyse the syntactic structure
Define portability
A property of a program that can run on more than one kind of computer
Define print function
A function used in a program or script that causes the Python interpreter to display a value on its output device
Define problem solving
The process of formulating a problem, finding a solution, and expressing the solution
Define program
A sequence of instructions that specifies to a computer actions and computations to be performed
Define programming language
A formal notation for representing solutions
Define Python shell
An interactive user interface to the Python interpreter. The user of a Python shell types commands at the prompt (»>) and presses the return key to send these commands immediately to the interpreter for processing
Define runtime error
An error that doesn’t occur until the program has started to execute but that prevents the program from continuing
Define semantic error
The meaning of a program