Chapter 1 Intro To Computers And Python 1.1-1.5 Flashcards
Every year or 2, the capacities of computers have doubled inexpensively. This trend is called
Moore’s law
What units or sections can computers be divided into despite their physical appearance
6 answers
Input unit
Output unit
Memory unit
Arithmetic and Logic unit (ALU)
Centra processing unit (CPU)
Secondary storage unit
This “receiving” section obtains info from _______ devices and places it at the disposal of the other units for processing.
Input unit
This “shipping” section takes info the computer has processed and places it on various _______ devices to make it available for use outside the computer
Output unit
Information is commonly _____ to secondary storage devices such as SSDs, hard drives, etc
Output
Rapid-access, low capacity “warehouse” section retains info that has been entered through the input unit, making it immediately available for processing when needed.
Memory or random access memory (RAM)
Is the info on the ram retained after computer is shut off?
No, it’s volatile and is lost when computer is shut off. Usually has 12, 16 or 8GB. 1GB is one million bytes. A byte is eight bits. A bit is either a 0 or a 1
This “manufacturing” section performs calculations such as addition, subtraction, multiplication, and division. Plus the decision mechanism to compare 2 items from memory units to see if they’re equal.
ALU
Arithmetic and logic unit
It is part of the CPU
The “administrative” section coordinates and supervises the operation of the other sections.
Central processing unit
CPU
Having more than one processor
Multicore processors, can perform many operations simultaneously
Long-term, high capacity “warehouse” section.
Hard drive or secondary storage unit
Houses programs or data not actively being used by other units until they are needed in the future. Info is persistent and takes longer to access.
1 terabyte is one trillion bytes
Define
Data hierarchy
Data items processed by computers from a data hierarchy that becomes larger and more complex in structure. Processed from simplest to richer ones.
Short for binary digit
A bit
Can have the value of 0 or 1. The smallest data item in a computer.
A bit
Digits, letters and symbols are known as
Characters
Decimal digits are from what to what
0-9
Contains characters used to write programs and represents data items
Character sets
Character set used by Python that are composed of one, two, three or four bytes (8,16,24 or 32 bits, respectively) - known as** UTF-8 encoding**
Unicode
Subset of Unicode that represents letters, digits and some special characters
ASCII (American Standard Code for Information Interchange)
Composed of characters or bytes, not bits
Fields