Search Header Logo

Compiler - Quiz Unit1

Authored by Pitchaimanickam B

Computers

University

Used 6+ times

Compiler - Quiz Unit1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Task of a compiler is to-

Translate one statement at a time and execute it

Translate the whole program to machine language

Translate one statement of the program at a time

None of the other options

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A compiler is defined as

Part of system software

Part of operating system

Part of machine code

None of the other options

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In a computer system number of compilers may be

one

Many

Two

Ten

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Task of an interpreter is to

Translate one statement of the program at a time

Translate one statement at a time and execute it

Translate the whole program to machine language

None of the other options

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following describes the outputs of lexical analysis phase?

Symbols

Tokens

Keywords

All of the other options

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Phase of the compiler scanning the input sequence is known as

Input scanning

Lexical Analysis

Structre analysis

Syntax analysis

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Output of syntax analysis is called

Parse tree

Keyword tree

Binary tree

All of the other options

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?