Logic and Basics
Probability
Matrix Operations
Functions & Scripts
Number Riddles
100

This is a term used to desrcribe writing code in "human-friendly" terms such that a computer can not read it.

What is pseudocode

100

This is the difference between Permutations and Combinations.

What is permutations is used to arrange things where order matters, and combinations are used to arrange things that do not matter?

100

This is the sum of [[2,3],[4,5]] and [[12,15],[6,10]].

What is [[14,18],[10,15]]?
100

These are the 3 ways to do row operations on a matrix.

What are:

1) Interchange 2 rows

2) Multiply one row by a non-zero number

3) Add a multiple of one row to another row


100

This is the number of times you can subtract 5 from 25.

What is once?

200

This is a contrapositive statement for the conditional statement: "if A then B".

What is "if not B, then not A"?

200
This is the number of ways a license plate with 3 letters and 4 numbers can be arranged.

What is 26*26*26*10*10*10*10?

200

This is the vector dot product of [[3,2,1]] and [[4],[6],[8]].

What is 32?

200

This is the output when you enter A(:,2:3)  for matrix A = [[12,21,7],[41,52,6]]

What is [[21,7],[52,6]]?

200

What two whole, positive numbers that have a one-digit answer when multiplied and a two-digit answer when added?

What is 1 and 9?

300

If A is true and B is true, then is A xor B true?

No; xor means exclusively or and that means either A or B is true, but not both.

300
This is the formula for the choose function where r is the number of items you are choosing from a list of n items.

What is n!/(r!*(n-r)!)

300
This is the matrix formed when z is multiplied by y 


z = [[4,6,7],[2,5,8]] 

y = [[3,4],[6,7],[2,9]]


What is [[62,121],[52,115]]?

300

This is the output if A.*B is entered into MATLAB for A = [[1,2,3],[4,5,6]] and B = [[5,7,6],[3,4,1]]

What is [[5,14,18],[12,20,6]]?

300

Add me to myself and multiply by 4. Divide me by 8 and you will have me once more. What number am I?

Any number.
400

This law describes the following statements:

!(A and B) = !A or !B

!A and !B = !(A or B)

What is DeMorgan's Law?

400

Suppose a wedding party can invite 5 groomsmen and 5 bridesmaids from 10 groomsmen and 13 bridesmaids. If two of the groomsmen refuse to go to the party together, how many combinations of wedding parties are possible?

(2 choose 1)*(8 choose 4)*(13 choose 5) + 

(8 choose 5)*(13 choose 5)

400

This is the transpose of the matrix:

[[1,3,5,-2],[5,3,2,1]]

What is [[1,5],[3,3],[5,2],[-2,1]]?

400

This is displayed at the output of this code. (pull up code for reference)

Answer: M = [4, 16, 36, 64]

400

If 2 = 5

3 = 10

4 = 17

What does 5 = ?

5 = 26

500

If A is not true and B is true, is if A then B still true?

Yes; it doesn't work if A is true and B is not true.

500

What is the probability of getting a full house in poker?

(13 choose 1)*(4 choose 3)*(12 choose 1)*(4 choose 2)/(52 choose 5)

500

This is the determinant of the matrix: 

[[1,2,0],[3,5,7],[6,8,9]]

What is 19?

500

This is displayed at the output of this code? (pull up code for reference)

M = [1, 0, 3, 4, 15, 16, 7, 8, 9]

500

If

12 + 12 = 9

25 + 25 = 49

18 + 18 = 81

What is 29 + 29 = ?

What is (2+9)^2 = 121?