GATE & PSUs - Computer Science & Information Technology (CS & IT)

Syntax Analysis (LL(1), LR(0), SLR(1), LALR, CLR) question bank (Compiler Design)

Practice 7 free GATE & PSUs - Computer Science & Information Technology (CS & IT) Compiler Design - Syntax Analysis (LL(1), LR(0), SLR(1), LALR, CLR) questions with answers and step-by-step solutions.

Q1.
[Syntax Analysis (LL(1), LR(0), SLR(1), LALR, CLR) Concept 7] The matrix $A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}$ has eigenvalues $\lambda_1$ and $\lambda_2$. What are the eigenvalues of the matrix $A^3 - 2A + I$?

(A)
$22$ and $0$
(B)
$8$ and $1$
(C)
$27$ and $1$
(D)
$24$ and $2$
Show answer & solution
Verified Answer & Solution Locked
Sign in to your free student account to reveal verified answers, instant hints, and detailed explanations.
Sign in to view
Q2.
[Syntax Analysis (LL(1), LR(0), SLR(1), LALR, CLR) Concept 17] The matrix $A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}$ has eigenvalues $\lambda_1$ and $\lambda_2$. What are the eigenvalues of the matrix $A^3 - 2A + I$?

(A)
$22$ and $0$
(B)
$8$ and $1$
(C)
$27$ and $1$
(D)
$24$ and $2$
Show answer & solution
Verified Answer & Solution Locked
Sign in to your free student account to reveal verified answers, instant hints, and detailed explanations.
Sign in to view
Protected Questions

Unlock All 3 Questions in Syntax Analysis (LL(1), LR(0), SLR(1), LALR, CLR)

Log in or sign up free to access every question with complete solutions, create chapter practice tests, and track your performance.

Sign up free to access all 3 questions

Unlock every Syntax Analysis (LL(1), LR(0), SLR(1), LALR, CLR) question, generate papers, and practice at your own pace.