MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

ALGORITHMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A linear function takes the form
A
f(n) = an + b
B
f(n) = an2 +bn + c
C
f(n) = alog2n
D
f(n) = a + b
Explanation: 

Detailed explanation-1: -A linear function is a function of the form f(x) = ax + b, where a and b are real numbers. Here, a represents the gradient of the line, and b represents the y-axis intercept (which is sometimes called the vertical intercept).

Detailed explanation-2: -A linear function refers to when the dependent variable (usually expressed by ‘y’) changes by a constant amount as the independent variable (usually ‘x’) also changes by a constant amount. For example, the number of times the second hand on a clock ticks over time, is a linear function.

There is 1 question to complete.