Q. If the matrix A = [[2, 3], [5, 7]], what is the eigenvalue of A?
Show solution
Solution
The eigenvalues are found by solving the characteristic polynomial det(A - λI) = 0. The eigenvalues are 9 and 1.
Correct Answer:
B
— 9
Learn More →
Q. In linear programming, what does it mean to 'feasibly solve' a problem?
A.
Finding a solution that meets all constraints
B.
Maximizing the objective function
C.
Minimizing the number of variables
D.
Ignoring constraints
Show solution
Solution
To 'feasibly solve' a linear programming problem means to find a solution that satisfies all the given constraints.
Correct Answer:
A
— Finding a solution that meets all constraints
Learn More →
Q. In linear programming, what is the purpose of an objective function?
A.
To define the constraints of the problem
B.
To represent the goal of the optimization
C.
To initialize variables
D.
To iterate through possible solutions
Show solution
Solution
The objective function in linear programming represents the goal of the optimization, which is to maximize or minimize a certain value.
Correct Answer:
B
— To represent the goal of the optimization
Learn More →
Q. In pseudocode, how would you represent a decision structure?
A.
Using a loop
B.
Using an if-else statement
C.
Using a function call
D.
Using a variable assignment
Show solution
Solution
In pseudocode, a decision structure is typically represented using an if-else statement to control the flow based on conditions.
Correct Answer:
B
— Using an if-else statement
Learn More →
Q. Is the function f(x) = 1/x continuous at x = 0?
A.
Yes
B.
No
C.
Only from the right
D.
Only from the left
Show solution
Solution
f(x) = 1/x is not continuous at x = 0 because it is undefined at that point.
Correct Answer:
B
— No
Learn More →
Q. Is the function f(x) = x^3 - 3x + 2 continuous everywhere?
A.
Yes
B.
No
C.
Only at x = 0
D.
Only at x = 1
Show solution
Solution
f(x) is a polynomial function, and polynomial functions are continuous everywhere.
Correct Answer:
A
— Yes
Learn More →
Q. What does OOP stand for in programming?
A.
Object-Oriented Programming
B.
Optimized Operational Procedures
C.
Open Object Protocol
D.
Ordered Output Process
Show solution
Solution
OOP stands for Object-Oriented Programming, a programming paradigm based on the concept of 'objects' which can contain data and code.
Correct Answer:
A
— Object-Oriented Programming
Learn More →
Q. What is a variable in the context of linear programming?
A.
A fixed value that cannot change
B.
A symbol representing a quantity that can change
C.
A type of loop used in algorithms
D.
A function that returns a value
Show solution
Solution
In linear programming, a variable represents a quantity that can change and is used to formulate the objective function and constraints.
Correct Answer:
B
— A symbol representing a quantity that can change
Learn More →
Q. What is computational logic primarily concerned with?
A.
The syntax of programming languages
B.
The structure of data
C.
The reasoning and problem-solving processes
D.
The design of user interfaces
Show solution
Solution
Computational logic is primarily concerned with the reasoning and problem-solving processes that can be expressed through algorithms and programming.
Correct Answer:
C
— The reasoning and problem-solving processes
Learn More →
Q. What is the derivative of f(x) = sin(x) + cos(x) at x = π/4?
Show solution
Solution
f'(x) = cos(x) - sin(x). Therefore, f'(π/4) = cos(π/4) - sin(π/4) = √2/2 - √2/2 = 0.
Correct Answer:
C
— √2
Learn More →
Q. What is the derivative of the function f(x) = sin(x) + cos(x)?
A.
cos(x) - sin(x)
B.
-sin(x) - cos(x)
C.
sin(x) + cos(x)
D.
-sin(x) + cos(x)
Show solution
Solution
f'(x) = cos(x) - sin(x).
Correct Answer:
A
— cos(x) - sin(x)
Learn More →
Q. What is the determinant of the matrix [[0, 1, 2], [1, 0, 3], [2, 3, 0]]?
Show solution
Solution
The determinant is calculated as 0*(0*0 - 3*3) - 1*(1*0 - 3*2) + 2*(1*3 - 0*2) = 0 + 6 + 6 = 12.
Correct Answer:
A
— -12
Learn More →
Q. What is the determinant of the matrix [[1, 2], [3, 4]]?
Show solution
Solution
The determinant is calculated as (1*4) - (2*3) = 4 - 6 = -2.
Correct Answer:
B
— 2
Learn More →
Q. What is the determinant of the matrix [[2, 3], [1, 4]]?
Show solution
Solution
The determinant is calculated as (2*4) - (3*1) = 8 - 3 = 5.
Correct Answer:
A
— 5
Learn More →
Q. What is the determinant of the matrix [[2, 3], [5, 7]]?
Show solution
Solution
The determinant is (2*7) - (3*5) = 14 - 15 = -1.
Correct Answer:
A
— 1
Learn More →
Q. What is the determinant of the matrix [[3, 2], [1, 4]]?
Show solution
Solution
The determinant is (3*4) - (2*1) = 12 - 2 = 10.
Correct Answer:
A
— 10
Learn More →
Q. What is the inflection point of the function f(x) = x^4 - 4x^3 + 6?
A.
(0, 6)
B.
(1, 3)
C.
(2, 2)
D.
(3, 3)
Show solution
Solution
Find f''(x) = 12x^2 - 24x. Setting f''(x) = 0 gives x(12x - 24) = 0, so x = 0 or x = 2. Check the sign change around x = 2.
Correct Answer:
B
— (1, 3)
Learn More →
Q. What is the integral of 1/x dx?
A.
ln
B.
x
C.
+ C
D.
x + C
.
1/x + C
.
x^2/2 + C
Show solution
Solution
The integral of 1/x is ln|x| + C.
Correct Answer:
A
— ln
Learn More →
Q. What is the integral of 5 with respect to x?
A.
5x + C
B.
x + C
C.
5x^2 + C
D.
5/x + C
Show solution
Solution
The integral of a constant a is ax + C. Here, a=5, so the integral is 5x + C.
Correct Answer:
A
— 5x + C
Learn More →
Q. What is the integral of cos(x) dx?
A.
sin(x) + C
B.
-sin(x) + C
C.
cos(x) + C
D.
-cos(x) + C
Show solution
Solution
The integral of cos(x) is sin(x) + C.
Correct Answer:
A
— sin(x) + C
Learn More →
Q. What is the integral of sin(x) dx?
A.
-cos(x) + C
B.
cos(x) + C
C.
sin(x) + C
D.
-sin(x) + C
Show solution
Solution
The integral of sin(x) is -cos(x) + C.
Correct Answer:
A
— -cos(x) + C
Learn More →
Q. What is the integral of x^2 with respect to x?
A.
(1/3)x^3 + C
B.
(1/2)x^3 + C
C.
(1/4)x^4 + C
D.
(1/5)x^5 + C
Show solution
Solution
The integral of x^n is (1/(n+1))x^(n+1) + C. Here, n=2, so the integral is (1/3)x^3 + C.
Correct Answer:
A
— (1/3)x^3 + C
Learn More →
Q. What is the inverse of the matrix [[4, 7], [2, 6]]?
A.
[[3, -3.5], [-1, 2]]
B.
[[6, -7], [-2, 4]]
C.
[[6, -7], [-2, 4]]
D.
[[1.5, -1.75], [-0.5, 1]]
Show solution
Solution
The inverse is calculated as (1/det(A)) * adj(A). The determinant is 10, and the adjugate is [[6, -7], [-2, 4]]. Thus, the inverse is [[6/10, -7/10], [-2/10, 4/10]] = [[3/5, -7/10], [-1/5, 2/5]].
Correct Answer:
A
— [[3, -3.5], [-1, 2]]
Learn More →
Q. What is the limit of f(x) = x^2 as x approaches 2?
A.
2
B.
4
C.
0
D.
Undefined
Show solution
Solution
The limit of f(x) as x approaches 2 is f(2) = 2^2 = 4.
Correct Answer:
B
— 4
Learn More →
Q. What is the maximum value of the function f(x) = -2x^2 + 8x - 3?
Show solution
Solution
The function is a downward-opening parabola. The vertex occurs at x = -b/(2a) = -8/(2*-2) = 2. f(2) = -2(2^2) + 8(2) - 3 = 5.
Correct Answer:
B
— 5
Learn More →
Q. What is the minimum value of f(x) = x^2 + 4x + 4?
Show solution
Solution
The function is a perfect square: f(x) = (x + 2)^2. The minimum value is 0 at x = -2.
Correct Answer:
A
— 0
Learn More →
Q. What is the rank of the matrix [[1, 2, 3], [0, 0, 0], [4, 5, 6]]?
Show solution
Solution
The rank is the maximum number of linearly independent row vectors. Here, there are 2 non-zero rows, so the rank is 2.
Correct Answer:
B
— 2
Learn More →
Q. What is the result of the matrix multiplication [[1, 2], [3, 4]] * [[5], [6]]?
A.
[17]
B.
[19]
C.
[23]
D.
[29]
Show solution
Solution
The result is calculated as [[(1*5 + 2*6)], [(3*5 + 4*6)]] = [[17], [39]].
Correct Answer:
A
— [17]
Learn More →
Q. What is the role of constraints in linear programming?
A.
To define the limits within which the solution must lie
B.
To specify the objective function
C.
To initialize the variables
D.
To create loops in the algorithm
Show solution
Solution
Constraints in linear programming define the limits within which the solution must lie, ensuring that the solution is practical and applicable.
Correct Answer:
A
— To define the limits within which the solution must lie
Learn More →
Q. What is the trace of the matrix [[3, 2, 1], [0, 5, 0], [4, 0, 6]]?
Show solution
Solution
The trace is the sum of the diagonal elements: 3 + 5 + 6 = 14.
Correct Answer:
A
— 14
Learn More →
Showing 31 to 60 of 67 (3 Pages)