introduction to compiler design

introduction to compiler design

University

20 Qs

quiz-placeholder

Similar activities

PRETEST DFC10042 (PSPD)

PRETEST DFC10042 (PSPD)

University

15 Qs

C PROGRAMMING

C PROGRAMMING

University

25 Qs

quiz dasar python

quiz dasar python

1st Grade - University

20 Qs

IntraSympo Round One

IntraSympo Round One

University

20 Qs

introduction to computer

introduction to computer

University

24 Qs

C Programming 2

C Programming 2

University

25 Qs

Java Object Creation and Classes

Java Object Creation and Classes

University

20 Qs

HLL and LLL Programming Language

HLL and LLL Programming Language

University

18 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?