Revel for Introduction to Python Programming and Data Structures - Chapter 1: Introduction to Computers, Programs, and Python

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/30

flashcard set

Earn XP

Description and Tags

A set of vocabulary flashcards covering computer architecture components, memory addressing, networking hardware, translation programs, Python fundamentals, and error types based on Chapter 1.

31 Terms

1
New cards

Central Processing Unit (CPU)

The brain of a computer that retrieves instructions from memory and executes them.

2
New cards

Megahertz (MHz)

A unit of measurement for CPU speed, where 1 megahertz1\,\text{megahertz} equals 1 million pulses per second1\,\text{million pulses per second}.

3
New cards

Gigahertz (GHz)

A unit of measurement for processor speed equal to 1000 megahertz1000\,\text{megahertz}.

4
New cards

Memory

An ordered sequence of bytes used to store data and program instructions for the CPU to execute. It is volatile, meaning its contents are lost when power is turned off.

5
New cards

Byte

The minimum storage unit in a computer, composed of an ordered sequence of 8 bits8\,\text{bits}.

6
New cards

Bit

A binary digit representing one of two stable states in digital devices, denoted by convention as 00 or 11.

7
New cards

Storage Devices

Non-volatile hardware components where programs and data are permanently kept, including disk drives, CD drives, and tape drives.

8
New cards

Pixel

Short for "picture elements"; tiny dots that form an image on a display screen.

9
New cards

Resolution

The display specification indicating the number of pixels per square inch on a screen, where higher values yield sharper images.

10
New cards

Dot Pitch

The amount of space between pixels on a display screen, where a smaller value produces a better display.

11
New cards

Modem

A communication device that uses a telephone line to transfer data at speeds up to 56,000 bps56{,}000\,\text{bps}.

12
New cards

Digital Subscriber Line (DSL)

A high-speed communication connection operating over a telephone line that transfers data at speeds up to 20 times20\,\text{times} faster than a regular modem.

13
New cards

Cable Modem

A device that transfers data using the TV cable line maintained by a cable company, offering speeds comparable to DSL.

14
New cards

Network Interface Card (NIC)

A hardware device used to connect a computer to a local area network (LAN), such as a 10BaseT card capable of transferring data at 10 mbps10\,\text{mbps}.

15
New cards

Software

Computer programs consisting of instructions that tell the computer hardware what actions to perform.

16
New cards

Machine Language

A primitive instruction set built directly into every computer, written in binary code consisting of zeros and ones.

17
New cards

Assembly Language

A low-level programming language developed to simplify programming by substituting mnemonic codes and abbreviations for binary machine instructions.

18
New cards

Assembler

A specialized program used to translate assembly language programs into native machine code.

19
New cards

High-Level Language

An English-like programming language that is platform-independent, easy to learn, and easy to write.

20
New cards

Source Program

A computer program written in a high-level programming language before it is translated into machine code.

21
New cards

Compiler

A software tool that translates an entire high-level source program into a machine-language object program before execution.

22
New cards

Object Program

The translated machine-language file generated by a compiler from source code, which is typically linked with library code to create an executable file.

23
New cards

Operating System (OS)

A system program that manages and controls all computer activities, hardware resources, and application programs.

24
New cards

Interpreter

A language translator that reads, translates, and executes source code one statement at a time rather than compiling the whole program at once.

25
New cards

Class

A template or blueprint in object-oriented programming that defines the properties and methods shared by objects of the same kind.

26
New cards

Guido van Rossum

The computer programmer who created the open-source Python programming language in the Netherlands in 19901990.

27
New cards

Statement

An instruction in a program that represents an action or a sequence of actions.

28
New cards

Indentation

The blank spaces placed at the beginning of lines of code; in Python, it dictates code blocks and is conventionally set to 4 spaces4\,\text{spaces}.

29
New cards

Syntax Error

A programming error caused by improper code construction or violations of language syntax rules.

30
New cards

Runtime Error

An error that occurs while a program is running and causes the program to abort abnormally.

31
New cards

Logic Error

An error in program logic that produces incorrect or unintended output without crashing the program.