Which of the following statements about parser is/are correct? 1. Canonical LR is more powerful than SLR. 2. SLR is more powerful than LALR. 3. SLR is more powerful than Canonical LR. Select the correct answer using the codes given below. (A) 1 only (B) 2 (C) 3 only (D) 1 and 3
Asked in Meghalaya PSC QUESTION BOOKLET: SERIES I
Answer under review: our editors are checking this question. Try the other MPSC Prelims previous year questions questions meanwhile.
More MPSC Prelims previous year questions questions
- Match List-I with List-II and select the correct answer using the codes given below the Lists : List-I List-II a. Lexical analysis 1. Leftmost derivation eb. Top-down parsing 2. Type checking c. Semantic analysis 3. Regular expressions d. Runtime environments 4. Activation records Codes : (A) a b c d 1 2 4 3 (B) a b c d 3 1 2 4 (C) a b c d 2 3 1 4 (D) a b c d 4 1 2 3
- A top-down parser uses (A) leftmost derivation (B) leftmost derivation in reverse (C) rightmost derivation (D) rightmost derivation in reverse
- The value of an inherited attribute is computed from the values of attributes at the (A) sibling nodes (B) parent of the node (C) children node (D) Both (A) and (B)
- Live variable analysis is used as a technique for (A) code generation (B) code optimization (C) type checking (D) runtime management
- If the OS is pre-empting a running process because a higher priority process on blocked/suspend queue has just become unblocked, then the running process is moved to which queue? (A) Suspend (B) Ready/Suspend (C) Blocked (D) Blocked/Suspend
- Which one of the following provides the ability to query information from the database and to insert tuples into delete tuples from and modify tuples in the database? (A) DML (Data Manipulation Language) (B) DDL (Data Definition Language) (C) ER Model (D) Relational Schema
- The number of bits in an IPv6 address is (A) 64 (B) 128 (C) 32 (D) 256
- Which of the following is not a component of an expert system? (A) Inference engine (B) User interface (C) Knowledge base (D) Image processing engine