Programming Languages
Information Security
MIPS!
Discrete Math
Random
100

The physical components of a computer is known as...

Hardware

100

What is a brute force attack?

Trying to guess a password by trying every possible combination.

100

Translate this to MIPS:

x = 10

Example answer: li $s0, 10

100

What is 1001 in Decimal?

9

100

What is decimal?

Base-10 numbering system (the one we normally use).

200

The applications and programs used by a computer is known as...

Software

200

Name a character commonly seen in SQL injection attacks.

Quotation, equals sign, dollar sign

200

What is the system call code for printing a string?

4

200

Convert 38 to binary.

100110

200

Describe how a Caesar Cipher works.

Specify a shift amount and that creates the key.

300

The language computers speak is known as...

Binary

300

Why is a substitution cipher considered a weak form of encryption?

Letter frequency

300

When performing MIPS division, the remainder is stored in...

hi register

300

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

300

The section of a MIPS program where variables are stored is...

.data

400

What is a high-level programming language?

A programming language meant to be human readable and writable.

400

What is a hash?

A strong form of encryption generated by putting an input into a hash function, a fixed size output is generated.

400

Write a line of code that would finish loading this integer:

la $s0, x

lw $s0, 0($s0)

400

Convert -120 to an eight-bit Two's Complement.

1000 1000

400

What do each of the characters below mean?

1. V

2. → 

3. ⊕

4. ∧ 

5. ¬ 

1. OR 2. Conditional 3. XOR 4. AND 5. NOT

500

What is an interpreted language?

A program is executed line by line and translated into machine code as it runs.

500

What is salting?

Adding random characters to a password before hashing it.

500

When a program asks the user for input, which register stores the value entered by the user?



$v0

500

Evaluate the below expression using a truth table.

(p → ~q) ∨ (~p ⊕ q)

T T T T

500

What is a compiled language?

A language translated directly into binary before running.