Complete GATE CSE 2020 Paper 1 overview, original pages and practice · Timed previous-paper practice

Questions 19–21 of 65. Imported answers require review unless explicitly marked reviewed.

Paper practice 65 questionsPage 7 of 22

Question 9

Open question
CSMCQ1 markNeeds review
Consider the following statements.
I. Symbol table is accessed only during lexical analysis and syntax analysis.
II. Compilers for programming languages that support recursion necessarily need heap storage for memory allocation in the run-time environment.
III. Errors violating the condition ‘any variable must be declared before its use’ are detected during syntax analysis.
Which of the above statements is/are TRUE?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 10

Open question
CSMCQ1 markNeeds review
Consider the language

and the following statements.
I.

is deterministic context-free.
II.

is context-free but not deterministic context-free.
III.

is not LL(k) for any

.
Which of the above statements is/are TRUE?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 11

Open question
CSMCQ1 markNeeds review
Consider allocation of memory to a new process. Assume that none of the existing holes in the memory will exactly fit the process’s memory requirement. Hence, a new hole of smaller size will be created if allocation is made in any of the existing holes. Which one of the following statements is TRUE?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer