Search Header Logo

Compiler Unit 2 Minimization

Authored by J.PRAKASH CSE

Professional Development

University

Compiler Unit 2 Minimization
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is FALSE?

Every NFA can be converted to DFA

Every subset of a recursively enumerable set is recursive

All of the mentioned

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is TRUE?

Every regular language is context-free

Every context-free language is regular

None of the mentioned

All of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a non-deterministic algorithm?

Bubble sort

Quick sort

Selection sort

Randomized quick sort

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of a symbol table in compiler design?

Finding name’s scope

Type checking

Keeping all of the names of all entities in one place

Lexical analysis

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of lexical analysis in compiler design?

Identifying the scope of variables

Checking for syntax errors

Converting source code to tokens

Optimizing the code

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sorting algorithms is not comparison-based?

Insertion sort

Heap sort

Counting sort

Merge sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is TRUE about regular expressions?

Regular expressions can be used to define context-free languages

Regular expressions can only define regular languages

Regular expressions are not useful in pattern matching

Regular expressions are equivalent to Turing machines

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?