Search Header Logo

CD Quiz1

Authored by Nidhu Raji

Other

University

Used 2+ times

CD Quiz1
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

20 sec • 1 pt

Identify which among the following is used for grouping characters into tokens.

Code Generator

Code Optimiser

Scanner

Parser

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Identify the correct phase of the compiler.

Lexical Analyzer

Type Checker

Machine Dependent Code Optimizer

All the above

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the process of finding a parse tree for a string of tokens called?

Tokenising

Parsing

Analysing

Recognising

4.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

How many phases are there in compiler (Type only numeric number)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a compiler?

system program that converts instructions to Assembly code

system program that converts instructions to machine level code

system program that writes instructions to perform

system program that converts machine language to high-level language

6.

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 identifiers in one place

All the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A programmer, writes a program to multiply two numbers instead of dividing them by mistake, how can this error be detected?

Compiler or interpreter

Compiler only

Interpreter only

None of the mentioned

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?