Chap. 1 (Intro) Flashcards
Develop programming language
Define Central Processing Unit
The part of the computer that is built to be obsessed with “what is next?”
Define Main Memory
Stores programs and data. Main memory loses its information when the power is turned off.
Define Secondary Memory
Stores programs and data and retains this information even when the power is turned off. Generally slower than memory. Examples of secondary memory include disc drives and flash memory, and USB sticks.
Define Input Device
A keyboard, mouse, microphone, touchpad
Define Output Device
A screen, speaker, printer, etc.
Define Network Connection
Retrieve information over a network.
Define Program
A set of instructions that specifies a computation.
Define Programming
The act of writing the instructions of a program down and getting the instructions to be correct.
Define Programmer
Someone who is skilled in the art of programming.
Define Variables
Words that are created in programming software that have meaning.
Define Strings
Strings in Python are sequences of characters used to represent text. They are immutable, meaning their value cannot be changed after creation.
Define High-level Language
A programming language like Python that is designed to be easy for humans to read and write.
Define Machine Language
The lowest-level programming language, consisting of binary code (0s and 1s) that a computer’s CPU directly understands and executes, representing instructions and data
Define Portability
A property of a program that can run on more than one kind of computer.
Define Interpret(er)
To execute a program in a high-level language by translating it one line at a time.
Define Compile(r)
To translate a program written in a high-level language into a low-level language, all at once, in preparation for later execution.
Define Script
A written text containing a sequence of statements containing a sequence of actions for a program that’ll perform a specific task when ran.
Define Bug
An error in a program.
Define Interactive Mode
A way of using the python interpreter by typing commands and expressions at the prompt.
Define Low-level Language
A programming language that is designed to be easy for a computer to execute; also called “machine code” or “assembly language”
Define Machine Code
Stores programs and data. Main memory loses its information when the power is turned off.
Define Parse
To examine a program and analyze the syntactic structure.
Define Portability
A property of a program that can run on more than one kind of computer.
Define Print Function
An instruction that causes the python interpreter to display a value on the screen.