introduction to compiler design

introduction to compiler design

University

20 Qs

quiz-placeholder

Similar activities

SPCC ISE 2 Quiz TE B

SPCC ISE 2 Quiz TE B

University

20 Qs

Compiler

Compiler

University

15 Qs

Compiler

Compiler

11th Grade - University

20 Qs

Embedded System

Embedded System

University

15 Qs

Compiler Design

Compiler Design

University

20 Qs

Java_Quiz_Three

Java_Quiz_Three

University

20 Qs

CH 1 - Intro to Computers, Programs, & Java

CH 1 - Intro to Computers, Programs, & Java

University

22 Qs

Revision : Chapter 1

Revision : Chapter 1

University

19 Qs

introduction to compiler design

introduction to compiler design

Assessment

Quiz

Computers

University

Medium

Created by

Jaichitra Isaac

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1.     What is a compiler

a) system program that converts instructions to machine language

b) system program that converts machine language to high-level language


c) system program that writes instructions to perform


d) None of the mentioned

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

2.Select the Language translator

a). Assembler

b). interpreter

c). Compiler

d). All the above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

3. What is the correct sequence of the C program execution phases involving Preprocessor, Compiler, Assembler, and Linker/Loader?

a) Preprocessor → Compiler → Assembler → Linker/Loader

b) Compiler → Preprocessor → Assembler → Linker/Loader

c) Assembler → Preprocessor → Compiler → Linker/Loader

d) Preprocessor → Assembler → Compiler → Linker/Loader

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

4.Which of the following is a key difference between a compiler and an interpreter?

 

A) A compiler translates code line-by-line, while an interpreter translates the entire program at once.

B) A compiler generates an intermediate code that is executed later, while an interpreter directly executes the code.

C) A compiler works only with high-level languages, while an interpreter works only with low-level languages.

D) A compiler cannot handle errors, while an interpreter can handle them more effectively.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

5.Which of the following is NOT a type of language translator in compiler design?

a) Compiler

b) Assembler

c) Debugger

d) Interpreter

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

6..A compiler translates a program written in a high-level language into:

A) Machine Code

B) Assembly Code

C) Intermediate Code

D) All of the above

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

7.Which language translator translates and executes the program line by line?

a) Compiler

b) Linker

c) Interpreter

d) Assembler

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?