The physical components of a computer is known as...
Hardware
What is a brute force attack?
Trying to guess a password by trying every possible combination.
Translate this to MIPS:
x = 10
Example answer: li $s0, 10
What is 1001 in Decimal?
9
What is decimal?
Base-10 numbering system (the one we normally use).
The applications and programs used by a computer is known as...
Software
Name a character commonly seen in SQL injection attacks.
Quotation, equals sign, dollar sign
What is the system call code for printing a string?
4
Convert 38 to binary.
100110
Describe how a Caesar Cipher works.
Specify a shift amount and that creates the key.
The language computers speak is known as...
Binary
Why is a substitution cipher considered a weak form of encryption?
Letter frequency
When performing MIPS division, the remainder is stored in...
hi register
Would the below statements be true for these inputs: Knight, Knave, Spy
Knave, Spy, Knight
Spy, Knight, Knave
A: I am the Knight.
B: A is lying.
C: I am the Spy.
T F T
The section of a MIPS program where variables are stored is...
.data
What is a high-level programming language?
A programming language meant to be human readable and writable.
What is a hash?
A strong form of encryption generated by putting an input into a hash function, a fixed size output is generated.
Write a line of code that would finish loading this integer:
la $s0, x
lw $s0, 0($s0)
Convert -120 to an eight-bit Two's Complement.
1000 1000
What do each of the characters below mean?
1. V
2. →
3. ⊕
4. ∧
5. ¬
1. OR 2. Conditional 3. XOR 4. AND 5. NOT
What is an interpreted language?
A program is executed line by line and translated into machine code as it runs.
What is salting?
Adding random characters to a password before hashing it.
When a program asks the user for input, which register stores the value entered by the user?
$v0
Evaluate the below expression using a truth table.
(p → ~q) ∨ (~p ⊕ q)
T T T T
What is a compiled language?
A language translated directly into binary before running.