Search Header Logo

unit-1_CD

Authored by lohitha undefined

Other

University

unit-1_CD
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The lexical analyzer takes ____ as input and produces a list of ___ of output.

Machine code, mnemonic

Tokens, source code

Source code, tokens

Both a and b

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lexical analysis is about breaking a sequence of characters into

Tokens

Lines

Groups

Packets

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The phase Syntax Analysis is modelled on the basis of

High level language

Low level language

Context free grammar

Regular grammar

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Compiler is a program that

Accepts a program written in a high level language and produces an object program

Appears to execute a source program as if it were machine language

Automates the translation of assembly language into machine language

Places programs into memory and prepares them for execution

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Loader is a program that

Places programs into memory and prepares them for execution

Automates the translation of assembly language into machine language

Accepts a program written in a high level language and produces an object program

Appears to execute a source program as if it were machine language

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Interpreter is preferred over a compiler is

During program development phase

When storage space is to be minimized

When efficient use of computer resources is the consideration

All of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Compiler should report the presence of _____ in the source program, in translation process.

Text

Errors

Classes

Objects

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?