Flashcards
Untitled
Cards in this deck (7)
- 1What would you use in python to square a number?x ** 2
- 2What are the two modes Python can operate in?- interactive mode
-script mode - 3What is an algorithm?An algorithm is a collection of unambiguous and executable operations to perform some task in a finite amount of time
- 4OperandThe operand specifies the data that needs to be acted on. The operand can also refer to a place in memory, such as a register.
- 5Arithmetic logic unit (ALU)The ALU carries out calculations and makes decisions on the data sent to the processor.
- 6CompilerA compiler translates a human-readable program directly into an executable, machine-readable form before the program can run.
- 7InterpreterAn interpreter translates a human-readable program into an executable, machine-readable form, instruction by instruction. It then executes each translated instruction before moving on to the next one. A program is translated every time it is run. Python is an example of an interpreted language.
Information
- Description
- Flashcards on Untitled, created by Ben Nix on 01/10/2014.
- Created by
- Ben Nix · Oct 2014
- Updated
- Feb 19, 2016
- Views
- 2
- Rating