Vous êtes sur la page 1sur 4

MC0073 Systems Programming B0811

1. ____ is the semantic gap between two specifications 9. Which of the following are the characteristics of the
of the same task program translation model:-
a. Execution gap b. Specification gap i. A program must be translated before it can be
c. Both a & b d. None of the above executed
ii. The translated program may be saved in a file.
2. _____ is the gap between the semantics of programs iii. The save program may be executed repeatedly
written in different programming languages iv. A program must be retranslated following
a. Execution gap b. Specification gap modifications
c. Both a & b d. None of the above a. i, ii, iii b. i, ii, iv
c. i, ii, iii, iv d. i, iii, iv
3. A language _______ is a software which bridges a
specification or execution gap 10. The interpretation cycle consists of the following
a. processor b. processing steps:-
c. proceed d. process i. Execute the meaning of the statement
ii. Analyses the statement and determine its meaning
4. The term _____ is sometimes used for translators iii. The computation to be performed and its operands
that takes programs in one high level language into iv. Fetch the statement
equivalent programs in another high level language. a. i, ii, iii b. i, ii, iv
a. Assembler b. Preprocessor c. i, ii, iii, iv d. i, iii, iv
c. Interpreter d. Compiler
11. ________ rules which govern the formation of
5. Which of the following statement is true for valid statements in the source language
Program Generation:- a. Lexical b. Syntax
i. Reduction in the specification gap increases the c. Semantic d. None of the above
reliability of the generated program
ii. It is more economical to develop a program 12. Scanning indicates it is
generator than to develop a problem oriented a. Syntax analysis b. Lexical analysis
language. c. Semantic analysis d. None of the above
a. False, False b. False, True
c. True, False d. True, True 13. The portions of one or more phases are combined
into a module called a
6. Two popular models for program execution are a. Pass b. Phase
________ and __________ c. Both a & b d. None of the above
a. Interpretation, Source program
b. Translation, Source program 14. What is the full form of IR
c. Interpretation, Translation a. Intermediate Representation
d. None of the above b. Intermediation Representation
c. Intermediation Represented
7. Program translation model bridges the execution d. Intermediate Represented
gap by translating a program written in a PL called the
a. TP b. SP 15. Desirable properties of an IR are:-
c. LP d. None of the above i. Ease of use
ii. Processing efficiency
8.Which of the following is true iii. Memory efficiency
a. Language Processing=Analysis of SP+Synthesis of TP iv. IR must be compact
b. Language Processing=Analysis of TP + Synthesis of SP a. i, ii, iii b. i, ii, iv
c. Language Processing=Analysis of TP + Synthesis of TP c. i, iii, iv d. i, ii, iii, iv
d. Language Processing=Analysis of SP + Synthesis of SP .
16. A production is also called 25. A _______ supplies a large number of complex
a. nonterminal b. rewriting instructions at the assembly language level
c. terminal d. none of the above a. RISC b. CISC
c. IRSC d. ICSC
17. A grammar G is used for the following purposes
i. To generate valid strings of LG 26. The most common RISC microprocessors are
ii. To recognize valid strings of LG i. AVR
a. Only i b. Only ii ii. PIC
c. i, ii d. none of the above iii. ARM
iv. MIPS
18. These grammars are known as context sensitive v. PA-RISC
grammars vi. SPARC
a. Type-0 grammars b. Type-1 grammars a. i, ii, iii, iv, v b. i, ii, iii, iv, vi
c. Type-2 grammars d. Type-3 grammars c. i, ii, iii, v, vi d. i, ii, iii, iv, v, vi

19. Type-3 grammars are also known as 27. Which of the following are the characteristics of
a. linear grammars b. regular grammars RISC
c. Both a & b d. non of the above i. Single cycle execution
ii. Load / store architecture
20. We are interested in the following binding times iii. Hardwired control
i. Language definition time of L iv. Support for HLL
ii. Language implementation time of L a. i, ii, iii b. i, ii, iv
iii. Compilation time of P c. i, iii, iv d. i, ii, iii, iv
iv. Execution init time of proc
v. Execution time of proc 28. Which of the following are the purpose of pass 1:-
a. i, ii, iii, iv b. i, ii, iv, v i. Remember values of symbols until pass 2
c. i, ii, iii, v d. i, ii, iii, iv, v ii. Process some pseudo-operation
iii. Generate Date
21. Which binding is a binding performed after the iv. Look value of symbols
execution of a program has begins v. Keep track of Location Counter
a. Static b. Dynamic a. i, ii, iv, v b. i, ii, iii, v
c. Both a & b d. none of the above c. i, ii, v d. i, ii, iv

22. What is the full form of Lpdt 29. To design specification of an assembler how many
a. Language Preprocessor Development Tools steps are required
b. Language Processor Development Tools a. five b. six
c. Language Preprocessor Developing Tools c. seven d. none of the above
d. Language Processor Developing Tools
30. What is used to store each label and its
23. What LPDTs widely used in practice corresponding value
i. Lexical analyzer generator LEX a. MOT b. POT
ii. Parser generator YACC c. ST d. LT
a. Only i b. Only ii
c. Both i & ii d. none of the above 31. What is the full form of MASM
a. Microsoft Macro Assembler
24. What is full form of CISC b. Macro Microsoft Assembler
a. Complex Instruction Set Computer c. Assembler Macro Microsoft
b. Complex Instructed Set Computer d. none of the above
c. Complex Instructing Set Computer
d. none of the above
32. Was invented in the labs of Sun Microsystems Inc. 41. How many types of optimizations are used
a. SPARC b. RISC a. one b. two
c. MASM d. none of the above c. three d. four

33. The first standard product based on the SPARC 42. Is a set of computer software programs and data
architecture was produced by Sun and Fujitsu in the structures which implements a specific virtual machine
year model
a. 1987 b. 1989 a. JVM b. JMV
c. 1985 d. 1986 c. Compiler d. Assembler

34. Is a modern, fast, pipelined architecture 43. The JVM runtime executes which of the following
a. SPARC b. RISC files
c. MASM d. none of the above a. .class b. .jar
c. Both a & b d. None of the above
35. Macros are useful for the following purposes:
i. To simplify and reduce the amount of repetitive 44. Yacc was developed by
coding a. Berkeley b. Stephen
ii. To reduce errors caused by repetitive coding c. Abraxas d. none of the above
iii. To make an assembly program more readable
a. i, ii, iii b. i, ii 45. ________ memory pool is an internal memory
c. i, iii d. ii, iii pool created at start up that tasks use to dynamically
allocate memory as needed
36. Is a program that takes one or more objects a. Garbage b. Heap
generated by compilers and assembles them into a c. Stack d. none of the above
single executable program.
a. Linker b. Link editor 46. Garbage collection was invented by John
c. Both a & b d. none of the above McCarthy around
a. 1959 b. 1969
37. Is a collection of subprograms used to develop c. 1979 c. 1989
software
a. Library b. Linking 47. Is a program or application that software
c. Loaders d. Translation developers use to create, debug, or maintain other
programs and applications
38. The character stream input is grouped into a. programming tool b. software tool
meaningful units called c. Both a & b d. none of the above
a. tokens b. lexemes
c. parsing d. none of the above 48. Is responsible for controlling, integrating, and
managing the individual hardware components of a
39. What is the full form of DFA computer system.
a. Deterministic finite automata a. Application Software b. System Software
b. Deterministic finite automation c. Both a & b d. none of the above
c. Deterministing finite automata
d. Deterministing finite automation 49. Examples of Code Sharing Sites are:
i. Freshmeat
40. Also called as bubble diagram ii. Krugle
a. State Action Decision Diagram iii. Sourceforge
b. Statechart Diagrams iv. Ucodit
c. State Transition Diagram v. ByteMyCode
d. none of the above a. i, ii, iii, iv b. i, ii, iv, v
c. i, ii, iii, v d. i, ii, iii, iv, v
50. Breaking the source code text into small pieces 53. A _______ is a particular way to encode
tokens sometimes called terminals information for storage in a computer file
a. Scanning b. Parsing a. file format b. data format
c. Intermeidate Language Generation c. disk format d. none of the above
d. none of the above
54. Which of the following is/are true:
51. Which can be the list of the debuggers i. The computer uses electricity, not mechanical parts,
i. DAEDALUS for its data processing and storage
ii. Eclipse ii. Electricity is plentiful, moves very fast through
iii. Insight wires
iv. MacsBug iii. Electricity parts fail much less frequently than
v. OllyDbg mechanical parts
vi. SIMON iv. Electricity can flow through switches
a. i, ii, iii, iv, v b. i, ii, iii, iv, vi a. i, ii, iii b. i, ii, iv
c. i, ii, iii, v, vi d. i, ii, iii, iv, v, vi c. i, iii, iv d. i, ii, iii, iv

52. Is supplement or replace other forms of output 55. Byte number $ represented as
with haptic feedback methods a. 36 b. 37
a. Batch interface b. Tactile interface c 35 d. 38
c. Touch interface d. none of the above