Diagnostic Assessment

A short readiness check spanning algebra, functions, graphs, basic programming, NumPy familiarity, and mathematical notation. It gauges where you are before Week 1 so you can study efficiently. Answer honestly — the goal is to surface gaps, not to score high. After submitting, review the flagged areas noted in each explanation before starting the course.

  1. 1.

    Evaluate 3+4×223 + 4 \times 2^2 using standard operator precedence.

  2. 2.

    Solve for xx:   5x3=2x+9\;5x - 3 = 2x + 9.

  3. 3.

    What is log28\log_2 8?

  4. 4.

    For the function f(x)=x2f(x) = x^2, what is its range when the domain is all real numbers?

  5. 5.

    A line passes through (0,1)(0, 1) and (2,5)(2, 5). What is its slope?

  6. 6.

    In Python, what does the expression len([2, 4, 6, 8]) evaluate to?

  7. 7.

    In Python, after x = 3, what is the value of x == 4?

  8. 8.

    In NumPy, what is the shape of the array created by np.array([[1, 2, 3], [4, 5, 6]])?

  9. 9.

    Expand the summation i=13i2\displaystyle\sum_{i=1}^{3} i^2.

  10. 10.

    For the list of values [0.1, 0.7, 0.2][0.1,\ 0.7,\ 0.2] indexed 0,1,20, 1, 2, what does argmax\arg\max return?