Give me 1 example of one of the most common algorithm we use.
GPS
Recipe
This is a way to describes algorithms in a more robust, mathematical sense
Pseudocode
The binary number 11111 is the number 31. What is the number 100000?
32
Binary to Decimal:
1010
10
How many bits are in a byte?
8
A program will do……
Anything it wants
What you want it to do
What it is told to do
Everything perfect the first time
What it is told to do
We define these before writing our Pseudocode
Input, Output, Assumptions
This is the number we start counting with in any number system.
0
Hex to Binary:
0xED56
1110 1101 0101 0110
How many bytes are in 8 nibbles?
4
This is the reason we use algorithms
so computer and people can repeat exactly what we do and have the same result
An If Else statement can be used inside Pseudocode
This is another name for an If/Else statement
Conditionals
The binary number system is based on which number
2
42
101010
Central Processing Unit
Which Quality of an algorithm is unambiguous?
Clear
We can use a loop inside Pseudocode to get our pseudocode to do this.
repeat
Which number system is used to represent memory addresses?
Hexadecimal
Hex to Bas 10:
0xFF07
65,287
Difference between 32-bit and 64 bit computer.
64-bit is newer, faster, and more secure.
These are the 5 qualities of algorithm
Finite
Executable
Confitional
Terminating
Clear
This is a variable in Pseudocode
<>
The octal number system is based on which number
8
Base 10 to Hex
42,000
0xA10
RAM (Random Access Memory) isn't used to store information for a long time. So we refer to it as this type of storage. Not to be confused with HDD as a seconardy.
Primary