Start learning →

Claude Aifoundations — practice by topic

Browse 95 questions across 8 Aifoundations topics. Choose what you want to revise, then open a question to check its answer and worked solution.

Start learning Claude with Quill →

Aifoundations topics

Try a Aifoundations question

Worked practice questions

A probability mass function (PMF) for a DISCRETE random variable X has the property

  1. Σ p_X(x) over Val(X) equals 0
  2. p_X(x) can exceed 1 for some x
  3. p_X(x) is undefined at x = 0
  4. Σ p_X(x) over Val(X) equals 1
Show answer and solution

Correct answer: D. Σ p_X(x) over Val(X) equals 1

A PMF satisfies 0 ≤ p_X(x) ≤ 1 and Σ p_X(x) = 1 over all values X can take. PDFs (continuous case) can exceed 1 in value but their INTEGRAL is 1 this is a common confusion.

Open this question →

The expectation of a Bernoulli(p) random variable is

  1. p(1 − p)
  2. 0
  3. p
  4. 1 − p
Show answer and solution

Correct answer: C. p

X ~ Bernoulli(p) takes value 1 with probability p and 0 with probability 1 − p. E[X] = 1·p + 0·(1 − p) = p. Variance is p(1 − p).

Open this question →

Given matrices A ∈ ℝ^(m×n) and B ∈ ℝ^(n×p), the product AB exists and lies in

  1. ℝ^(m×p)
  2. ℝ^(m×n)
  3. ℝ^(n×p)
  4. ℝ^(p×m)
Show answer and solution

Correct answer: A. ℝ^(m×p)

Matrix multiplication requires inner dimensions to match (n = n) and produces a matrix with the outer dimensions: m rows × p columns.

Open this question →

How to practise

  1. Choose a Aifoundations question and try to work out your answer.
  2. Open the question to check the correct answer and read its worked solution.
  3. Continue in the app for bite-sized lessons, explanations and review with Quill. You can start without creating an account.