Search Header Logo

Compiler Design 23-24

Authored by Dr. D. Rajesh

Instructional Technology

University

Used 12+ times

Compiler Design 23-24
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 1.Which of the following is a stage of compiler design?

a) Semantic analysis
b) Intermediate code generator
c) Code generator
d) All of the mentioned

A

B

C

D

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. What is the use of a symbol table in compiler design?
a) Finding name’s scope
b) Type checking
c) Keeping all of the names of all entities in one place
d) All of the mentioned

A

B

C

D

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Which of the following error can a compiler check?
a) Syntax Error
b) Logical Error
c) Both Logical and Syntax Error
d) Compiler cannot check errors

A

B

C

D

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. A programmer, writes a program to multiply two numbers instead of dividing them by mistake, how can this error be detected?
a) Compiler or interpreter
b) Compiler only
c) Interpreter only
d) None of the mentioned5. A programmer, writes a program to multiply two numbers instead of dividing them by mistake, how can this error be detected?
a) Compiler or interpreter
b) Compiler only
c) Interpreter only
d) None of the mentioned

A

B

C

D

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Who is responsible for the creation of the symbol table?
a) Assembler
b) Compiler
c) Interpreter
d) All of the mentioned

A

B

C

D

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. Which of the following is known as a compiler for a high-level language that runs on one machine and produces code for a different machine?
a) Cross compiler
b) Multipass compiler
c) Optimizing compiler
d) One pass compiler

A

B

C

D

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Which of the following is a definition of compiler?
a) Acceptance of a program written in a high-level language and produces an object program
b) Program is put into memory and executes it
c) Translation of assembly language into machine language
d) None of the mentioned

A

B

C

D

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?