Sei sulla pagina 1di 3

Q.

Program translation model bridges the execution gap by translating a program written in a PL called the
A) TP
B) SP
C)
LP
D) None of the above

Q. 2

________ rules which govern the formation of valid statements in the source language
A) Lexical
B) Syntax
C)
Semantic
D) None of the above

Q. 3

These grammars are known as context sensitive grammars


A) Type-0 grammars
B) Type-1 grammars
C)
Type-2 grammars
D) Type-3 grammars

Q. 4

The term _____ is sometimes used for translators that takes programs in one high level language into
equivalent programs in another high level language
A) Assembler
B) Preprocessor
C)
Interpreter
D) Compiler

Q. 5

Which of the following statement is true for Program Generation:i. Reduction in the specification gap increases the reliability of the generated program
ii. It is more economical to develop a program generator than to develop a problem oriented
A) False, False
B) False, True
C)
True, False
D) True, True

Q. 6

Desirable properties of an IR are:i. Ease of use


ii. Processing efficiency
iii. Memory efficiency
iv. IR must be compact
A) i, ii, iii
B) i, ii, iv
C)
i, iii, iv
D) i, ii, iii, iv

Q. 7

Scanning indicates it is
A) Syntax analysis
B) Lexical analysis
C)
Semantic analysis
D) None of the above

Q. 8

_____ is the gap between the semantics of programs written in different programming languages
A) Execution gap
B) Specification gap
C)
Both a & b
D) None of the above

Q. 9

A language _______ is a software which bridges a specification or execution gap


A) processor
B) processing

C)
D)

proceed
process

Q. 10 1. ____ is the semantic gap between two specifications of the same task
A) Execution gap
B) Specification gap
C)
Both a & b
D) None of the above
Q. 1
Yacc was developed by
A) Berkeley
B) Stephen
C)
Abraxas
D) none of the above
Q. 2

What LPDTs widely used in practice


i. Lexical analyzer generator LEX
ii. Parser generator YACC
A) Only i
B) Only ii
C)
Both i & ii
D) none of the above

Q. 3

How
A)
B)
C)
D)

Q. 4

Is a program that takes one or more objects generated by compilers and assembles them into a single
executable program
A) Linker
B) Link editor
C)
Both a & b
D) none of the above

Q. 5

What is the full form of DFA


A) Deterministic finite automata
B) Deterministic finite automation
C)
Deterministing finite automata
D) Deterministing finite automation

Q. 1

Is supplement or replace other forms of output with haptic feedback methods


A) Batch interface
B) Tactile interface
C)
Touch interface
D) none of the above

Q. 2

Examples of Code Sharing Sites are:


i. Freshmeat
ii. Krugle
iii. Sourceforge
iv. Ucodit
v. ByteMyCode
A) i, ii, iii, iv
B) i, ii, iv, v
C)
i, ii, iii, v
D) i, ii, iii, iv, v

many types of optimizations are used


one
two
three
four

Q. 3

Breaking the source code text into small pieces tokens sometimes called terminals
A) Scanning
B) Parsing
C)
Intermeidate Language Generation
D) none of the above

Q. 4

Is a program or application that software developers use to create, debug, or maintain other programs and
applications
A) programming tool
B) software tool
C)
Both a & b
D) none of the above

Q. 5

Is responsible for controlling, integrating, and managing the individual hardware components of a computer
system.
A) Application Software
B) System Software
C)
Both a & b
D) none of the above

Potrebbero piacerti anche