todo Flashcards
Names of logic gates
- AND gate
- NOT gate
- OR gate
- NOR gate
- NAND gate
- XOR gate
Binary to denary
Add numbers (1,2,4) that have a 1 below them
Denary to binary
Does 256 fit into _?, Does 128 fit into _? If yes put a 1
Binary to hex
Split number into groups of 4 and add the ones
Hex to binary
Convert letters to numbers. Convert each number into binary using base 2
Hex to denary
Multiply each digit by its value on base 16 and add the results together.
Denary to hex
Divide each number by 16 and then read the remainder from bottom to top. (convert into letters if needed)
Uses of the hexadecimal number system
- HTML and CSS colour codes
- MAC addresses
- Assembly code
- Memory dumps
- Web addresses
Uses of binary system
- Computer registers
- Robotics
- Counting systems
- Digital instruments
Why might programmers prefer to read in hexadecimal rather than in binary?
It is easier to fiend errors, binary consists of zeros and ones, hexadecimal takes up less visual space
What does the symbol “terminator” do and how does it look?
It indicates the START/END of a system. It looks like a rectangle with soft edges.
What does the symbol “input/output” do and how does it look?
It indicates when INPUT is required from the user if OUTPUT is being sent to the user. It is a parallelogram
What does the symbol “process” do and how does it look?
It names a process within the system. It. is a rectangle.
What does the symbol “data flow line” do and how does it look?
It joins to operations, the arrowhead indicating the direction of the flow. It is an arrow.
What does the symbol “decision” do and how does it look?
It is a point in the sequence where alternative paths can be taken, yes or no. It is a rhombus.