PREVIOUS YEAR SOLVED PAPERS MCQ - GATE 2020

Correct AnswerOption B
Rate difficulty Rate difficulty:
Choose a difficulty.
Share this question
Share:

Statement I - L = {an| n ≥ 0} ∪ { anbn | n ≥ 0}
            ↓             ↓
          Linear power      well know DCFL
∴ it is regular
∴ L = Regular ∪ DCFL {use the closure properties}
L = DCLF
Statement--III As we cannot write LL( k ) grammar, for any value of k, Hence statement III is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption B
Rate difficulty Rate difficulty:
Choose a difficulty.

Statement I – False, symbol table can be accessed during any phase of compiler.
Statement II- False, For recursion support it is not necessarily be heap storage, as stack storage also supports recursion.
Statement III – False, “Variable must be declared before use” are detected during semantic analysis.
Hence, None of the statements is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption B
Rate difficulty Rate difficulty:
Choose a difficulty.


⇒ loga logbn
⇒ O(loga logbn)
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption A
Rate difficulty Rate difficulty:
Choose a difficulty.

Given steps:
1. R2r, TEMP1r, ALUadd, TEMP2W
2. R1r, TEMP1W
3. PCr, MARW, MEMr
4. TEMP2r, ROW
5. MDRr. IRW
Instruction fetch is first step to be done which is indicated by step 3 and 5

Then instruction decoded by cu and then operand fetch should be performe
D. If is indicated with step 2 and operand fetch and perform operation by step 1

4. Now, write result operations should be performe
D. It is indicated by step 4, as a result, should be in R0.
Step4:

Hence correct order of execution should be, 3, 5, 2, 1, 4
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption B
Rate difficulty Rate difficulty:
Choose a difficulty.
Found this useful?
Follow:


1,2,4 are True
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Why Practice with Avatto?
High Quality MCQsExam-focused questions with accurate answers
Detailed ExplanationsStep-by-step explanations to enhance learning
Latest Exam PatternBased on updated syllabus and pattern
Performance AnalyticsTrack performance and improve weak areas
100% Free PracticePractice unlimited questions for free
Boost Your PreparationAttempt mock tests, previous year papers and topic-wise quizzes.Explore All Tests →