- | P a g e
CS 326 MIDTERM EXAM NEWEST 2025 ACTUAL
EXAM COMPLETE 100 QUESTIONS AND
CORRECT DETAILED ANSWERS (VERIFIED
ANSWERS) |ALREADY GRADED A+||BRAND
NEW!!### Compiler Design and Language Evolution
- Why are the front and back end of a compiler usually
implemented as separate passes?THE CORRECT ANSWER: : is The front makes the source language program understandable for the compiler, while the back end maps programs to the target machine
*Note:* Your input is correct but slightly incomplete;
separation also allows modularity, reusability (e.g., front end for multiple targets), and independent optimization.
- When did the earliest high-level languages appear?
THE CORRECT ANSWER: : is Continuous evolution since the 1950's (Fortran, Cobol)
- When the Department of Defense did a survey as part of its
efforts to develop Ada in the 1970's, how many languages did it find in use?THE CORRECT ANSWER: : is Over 500 languages were being used in various defense projects
- | P a g e
- When did large expensive mainframe computers run single
programs (batch processing)?THE CORRECT ANSWER: : is 1950's
- When was interactive programming (time-sharing) on
mainframes?THE CORRECT ANSWER: : is 1960's
- When was the development of microcomputers. Early work
on windows, icons, and PC's at XEROX PARC THE CORRECT ANSWER:: is 1970's
- When did personal computers arise? (IBM PC and Apple
Macintosh. Use of windows icons and mouse) THE CORRECT ANSWER: : is 1980's
- When was client-server computing- networking, the internet,
the World Wide Web?THE CORRECT ANSWER: : is 1990's
### Language Fundamentals
- What is syntax?
- | P a g e
THE CORRECT ANSWER: : is What a program looks like
- What are semantics?
THE CORRECT ANSWER: : is What a program means
- What is implementation?
THE CORRECT ANSWER: : is How a program executes
- What languages are used for systems programming?
THE CORRECT ANSWER: : is C, Modula-3
- What languages are used for scientific computations?
THE CORRECT ANSWER: : is Fortran, Ada
*Correction:* Your input says “Fortean,” likely a typo for
“Fortran.”
- What languages are used for embedded systems?
THE CORRECT ANSWER: : is C, Ada, Modula-2
- What languages are used for symbolic computing?
THE CORRECT ANSWER: : is Lisp, Scheme, ML
- | P a g e
- What does imperative mean?
THE CORRECT ANSWER: : is How should the computer do it
- What does declarative mean?
THE CORRECT ANSWER: : is What should the computer do
- What types of programming are imperative?
THE CORRECT ANSWER: : is Von Neumann, Object- oriented
- What types of programming are Declarative?
THE CORRECT ANSWER:: is Functional, logic and constraint based
- Name von Neumann languages
THE CORRECT ANSWER: : is Fortran, Basic, Pascal, C
- Name object-oriented languages
THE CORRECT ANSWER: : is Smalltalk, Eiffel, C++, Java
- Name functional languages