How many bits are in a byte?
8 bits
A variable in pseudocode is represented by...
carrots
< >
We can use this code to print horizontally instead of printing vertically
End
Computers only understand this language.
Computer language/Binary/0 and 1s
Whats the output?
x = "hello"
print(x*3)
hellohellohello
Which number system is used to represent memory addresses?
Hexadecimal
A progrom will do this.
Anything it wants
What you want it to do
Everything perfect the first time
What it is told to do
What it is told to do!
A while loop checks this at the end of each run through
condition
We compare these two types of computer when talking about, security, age, and speed.
64-bit and 32-bit
What is the output of this code?
x = ‘hello’ + ‘there’
x = x + 1
print(x)
Error Message
Binary to Decimal
1010101
85
A good program should always have these 3 parts
Input, Processing, Output
Using this code will occur when the for loop is finished.
else
The Linux command “pwd” will…
print working directory
Fixed values such as number, letters, and strings are called this
Constant
Decimal to Hexadecimal
98
0x62
We define python tools as a(n) ________ unlike Java and C++
Interpreter
We use this function in a for loop to repeat a loop for a number of times
range()
The Linux command “cd” will...
change directory
In order: List the Order of Operations for Logic
Parentheses
NOT
AND
OR
Hexadecimal to Binary
0x3FA
11 1111 1010
These are the 5 qualities of Algorithms
Finite, executable, conditional, terminating, and clear
total = 0
while total <= 10:
print(total)
total = total *2
total should equal 1
How many bytes are in 16 nibbles?
4
This print formatting character starts a new line as well tabs over and starts where you left off
\f