Confirming your payment

Skip to content

Sign up now and get .

Practice Questions · Question 26 of 41

Bloom's level: Analyse Case study: A school coding club writes a small program.

Question 265 marksMedium

Bloom's level: Analyse

Case study: A school coding club writes a small program. You type a number aa, and the program prints the value of f(a)f(a) for the polynomial

f(x)=2x3−3x2−11x+6f(x) = 2x^3 - 3x^2 - 11x + 6

(a) When a student types 3, the program prints 0. What does this tell you about (x−3)(x - 3)? Verify the output.

(b) Find the output when the student types −1-1. What is the remainder when f(x)f(x) is divided by (x+1)(x + 1)?

(c) Use your result in (a) to factorise f(x)f(x) completely, and list every input for which the program would print 0.