Multiple choices 1. Compilers languages accept the source code and produce what?
ID: 3647951 • Letter: M
Question
Multiple choices 1. Compilers languages accept the source code and produce what? A) Object code B) Binary Code C) None of the above D) All of the above 2. The phases of a compiler includes A) Source Code, Token stream, B) Testing and Coding C) Parse tree, Intermediate Code, Object Code D) A and B E) A and C F) All of the above G) None of the above 3. The study of programming languages is valuable for a number of reasons: A) Increase our capacity to use different constructs B) Enable us to choose languages more intelligently C) Makes learning new languages easier D) All of the above E) None of the above Ans: D 4 Most important criteria for evaluating programming languages include: A) Readability and Writability B) Reliability and Cost C) Implementation and Testing D) A and B E) B and C F) All of the above G) None of the above 5. Major influences on language design have been A) machine architecture B) software development methodologies C) Readability D) Anti virus E) A and B F) A and C 6. The major methods of implementing programming languages are: A) compilation, B) pure interpretation, C) hybrid implementation D) All of the above E) None of the above 7. What are the characteristics of a pure interpretation? A) Slower execution (10 to 100 times slower than compiled programs) B) No translation C) Often requires more space D) Easier implementation of programs (run-time errors can easily and immediately be displayed) E) Faster execution time F) Programs are interpreted by another program known as an compiler G) None of the above H) All of the above I) A, B, C and D J) A, C, D and E 8. What are the characteristics of a compiler? A) Translate high-level program (source language) into machine code (machine language) B) Slow translation, slow execution C) Fast translation, fast execution D) Slow translation, fast execution E) All of the above F) None of the above G) A and D H) A and C 9. Lexical analysis converts characters in the source program into lexical units A) TRUE B) FALSE 10. Syntax analysis transforms lexical units into parse trees which represent the syntactic structure of program A) TRUE B) FALSE 11. Semantics analysis generate intermediate code A) TRUE B) FALSE 12. Code generation: machine code is not generated A) TRUE B) FALSEExplanation / Answer
1 B 2 D 3 D 4 F 5 B 6 A 7 E 8 D 9 A 10 B 11 A 12 A
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.