Python 1.1

Ace your homework & exams now with Quizwiz!

interpreter

translates higher level source code into target code. Often referred as scripting language. + better suited for dynamic, explorative development.

Advantages developing software in a higher-level language has over machine language.

- easy for human to understand and apply reasoning instead of reading binary number.

Compiler

A program that translates source code(from higher-level language) to machine instructions (target code).

How is compiled or interpreted code different from source code?

Compiled or interpreted codes are target code that machine can understand and execute.

What tool does a programmer use to produce Python source code?

IDEs including Wingware, Enthought and IDLE

What is necessary to execute a Python program?

Program must consists of one or more statements.

How is a compiler similar to an interpreter? How are they different?

Similar: both translate source code into target/machine code. Different: - Compiler: + produces executable program that may run many times with no additional translation needed. Does not need to be recompile to run. + Thus, it execute more quickly - Interpreter: + can run on any platform with appropriate interpreter. + must be reinterpreted each time it executes

complexity

how much time or space is required to solve the problem? * you might be to save space by compiling(more time) or less time more memory space.

Statement

is an instruction that the interpreter executes

decidability

is the problem solvable algorithmically

Debugger

tool that allows programmers to trace program's executive in order to locate and correct errors.


Related study sets

Career Planning and Skill Development Unit 1 Lesson 2: Career Planning

View Set

POST First Responder First Aid/CPR/AED

View Set

BARBARISMES SOBRE L'ALIMENTACIÓ

View Set