unit-1_CD

unit-1_CD

University

30 Qs

quiz-placeholder

Similar activities

UAS MyOB

UAS MyOB

University

25 Qs

DAY2 SUMMER BRIDGE

DAY2 SUMMER BRIDGE

University

30 Qs

UNIT - 2 A Understanding Parsers in Compilers

UNIT - 2 A Understanding Parsers in Compilers

University

25 Qs

CSC305 Topic 1 & 2

CSC305 Topic 1 & 2

University

30 Qs

UNIT  - 5  A Code Generation Quiz

UNIT - 5 A Code Generation Quiz

University

25 Qs

Ruby

Ruby

University

28 Qs

Cyber Security

Cyber Security

1st Grade - Professional Development

25 Qs

Struktur Data Stack dan Queue

Struktur Data Stack dan Queue

University

30 Qs

unit-1_CD

unit-1_CD

Assessment

Quiz

Other

University

Hard

Created by

lohitha undefined

FREE Resource

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

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?