UGC NET Computer Science Compiler Design Previous Year Questions (PYQs) – Page 11 of 12

UGC NET Computer Science Compiler Design Previous Year Questions (PYQs) – Page 11 of 12

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations
Reset
Showing 112 questions
logo
🎓 UGC NET Computer Science📅 Year: 2022📚 Computer🏷 Compiler Design

Which of the following statements are correct?

  1. The first three-address instruction in the intermediate code is a leader.
  2. The instruction which is exactly at the middle of the given three address code is a leader.
  3. Any instruction that is the target of a conditional or unconditional jump is a leader.
  4. Any instruction that immediately follows a conditional or unconditional jump is a leader.

Choose the correct answer from the options given below:


1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2022📚 Computer🏷 Compiler Design

Which of the following are correct on regular expressions?

a. $\varphi + L = L + \varphi = L$
b. $\epsilon L = L\epsilon = L$
c. $\varphi L = L\varphi = \varphi$
d. $\varphi L = L\varphi = L$

Choose the correct answer from the options given below:


1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2022📚 Computer🏷 Compiler Design

Match the following based on the language accepted by using brute force method of parsing.
 List-I

 List-II

a. $S \to aSa \mid aa$
I. $((2^n$ *3)-4); n > 1
b. $S \to aaSaa \mid aa$
II. $2^n$; n>=1
 
c. $S \to aaaSaaa \mid aa$
III. ((4*$2^n$)-6);n>=1

d. $S \to aaaaSaaaa \mid aa$

IV. $2^n$ - 2; n>= 2

Choose the correct answer from the options given below:


1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2024📚 Computer🏷 Compiler Design

Which of the following is the function of the semantic analysis phase of compilation process?


1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2023📚 Computer🏷 Compiler Design

Which phase of compiler checks the grammar of programming?

1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2023📚 Computer🏷 Compiler Design

Which of the following parser is most powerful parser?

1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2020📚 Computer🏷 Compiler Design

Consider $L=L_1\cap L_2$ where

$L_1=\{0^m1^m20^n1^n\mid m,n\ge 0\}$

$L_2=\{0^m1^n2^k\mid m,n,k\ge 0\}$

Then, the language $L$ is

1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2023📚 Computer🏷 Compiler Design

Which of the following statement is correct?

1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2020📚 Computer🏷 Compiler Design

Let $L_1$ and $L_2$ be languages over $\Sigma=\{a,b\}$ represented by the regular expressions $(a^*+b)^*$ and $(a+b)^*$ respectively. Which of the following is true with respect to the two languages?

1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2020📚 Computer🏷 Compiler Design

Which of the following statements is true?

1
2
3
4

UGC NET Computer Science


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

UGC NET Computer Science


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...