Computers π» | Data representation | 1.1 Flashcards
What system does a computer use to store data?
Computers use binary - the digits 0 and 1 - to store data.
What is the smallest unit of data in computing?
A binary digit, or a bit, is the smallest unit of data in computing.
What is a bit represented as?
The digit 0 or 1.
What makes up a computer processor?
Billions of transistors, tiny switches activated by the electronic signals it receives.
What is a transistor?
A transistor is a tiny device that regulates current or voltage flow and acts as a switch or a gate for electronic signals.
What do the 0 and 1 digits in binary represent?
They reflect the on and off states of a transistor.
What is a computer program?
Sets of instructions given for the computer to output.
What is the most basic low level type of code on a computer?
Machine code.
What is machine code?
Simple binary codes that activate the CPU.
Do humans write in machine code?
No, most humans write code in higher level languages that are more understandable, which are converted by a translator into binary instructions the processor can excecute.
What is encoding?
Encoding is when data on a computer is translated from one format to another. Everything on a computer looks like binary numbers in machine code to the processor. They are encoded into data formats to give them meaning.
Why are encoding formats standardized?
Encoding formats are standardized to help with compatibility across different platforms.
What is audio encoded as?
Audio is encoded as audio file formats, eg mp3, WAV, AAC.
What is video encoded as?
Video is encoded as video file formats, eg MPEG4, H264.
What is text encoded as?
Text is encoded in character sets, eg ASCII, Unicode.
What are images encoded as?
Images are encoded as file formats, eg BMP, JPEG, PNG.
What groups are bits organized into when representing larger amounts of data?
The bits can be organized into nibbles, byte, word, long words, and very long words.
How many bits are in a nibble?
4 bits.
How many bits are in a byte?
8 bits.
How many bits are in a word?
16 bits.
How many bits are in a long word?
32 bits.
How much data does a single computer memory cell hold?
A byte, or 8 bits.
How does a computer perform different jobs?
It executes the program instructions.
What is the CPU responsible for
~The CPU has many responsibilities! She is a full grown adult and has left school, so she has to pay taxes, manage money, and manage a family all on her own!~
~Life as a CPU is challenging, but worthwhile. Little transistors - I know it seems like a long way away, but YOU will some day work together to be a CPU. YES YOU WILL!!~
No, a CPU is responsible for performing both arithmetic calculation and logical operations.
~Welcome to Eranβs flashcardβs, where he adds completely unnecessary things to flashcards to make them more interesting.~
~i mean this should add some interest~
~im sure itβll help u remember riggghhtt ahahahah~
What is a logical operation?
Less than or greater than, equal to, AND, OR, NOTβ¦
What is an arithmetic calculation?
Plus, minus, multiplied, divide - mathematical ones.
What is a logic gate?
A model of a logical operation in a computer, constructed theoretically using transistors inside a processor chip. A CPU has millions of these to perform logical operations.
What are the 3 number systems?
Binary, denary, and hexadecimal.
What is the base of the denary number system?
10.
What are the digits used in the denary number system?
0, 1, 2, 3, 4, 5, 6, 7, 8, 9