Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 1 fuera de 2 páginas
Examen

CSCE 4430 Exam 1 with complete solutions.

Document preview thumbnail
Vista previa 1 fuera de 2 páginas

Which of the following statements best describes the difference between compilers and (software) interpreters? A compiler translates the high-level language program into a machine or assembly language program which is then executed by the hardware interpreter, whereas an interpreter executes the high-level language program directly. Which of the following statements best describes the a hybrid compiler? A hybrid compiler translates the high-level language program into a virtual machine program which may then be executed by an interpreter. Previous Play Next Rewind 10 seconds Move forward 10 seconds Unmute 0:00 / 0:15 Full screen Brainpower Read More Which phase of the compiler has the main task of building the symbol table and then verifying that identifiers are used according to their representation in the symbol table? semantic analysis Which phase of the compiler is to improve the time and/or space efficiency of the executable code for the program? code optimization The front-end of a compiler consists of: lexical, syntactic and semantic analysis and intermediate code generation The back-end of a compiler consists of: code optimization and machine code generation The purpose of the code generation phase of the compiler is: to produce an assembly or machine language translation of the source program What is the output of the lexical analyzer? a list of tokens What is the compilation phase for finding a syntax (or parse) tree for a string of tokens? syntax analysis In a compiler, the data structure responsible for the management of information about identifiers and their attributes is: symbol table

Vista previa del contenido

CSCE 4430 Exam 1 with complete
solutions




Which of the following statements best describes the difference between
compilers and (software) interpreters? - ANSWER- A compiler translates the high-
level language program into a machine or assembly language program which is
then executed by the hardware interpreter, whereas an interpreter executes the
high-level language program directly.

Which of the following statements best describes the a hybrid compiler? -
ANSWER- A hybrid compiler translates the high-level language program into a
virtual machine program which may then be executed by an interpreter.

Which phase of the compiler has the main task of building the symbol table and
then verifying that identifiers are used according to their representation in the
symbol table? - ANSWER- semantic analysis

Which phase of the compiler is to improve the time and/or space efficiency of the
executable code for the program? - ANSWER- code optimization

The front-end of a compiler consists of: - ANSWER- lexical, syntactic and
semantic analysis and intermediate code generation

The back-end of a compiler consists of: - ANSWER- code optimization and
machine code generation

The purpose of the code generation phase of the compiler is: - ANSWER- to
produce an assembly or machine language translation of the source program

What is the output of the lexical analyzer? - ANSWER- a list of tokens

What is the compilation phase for finding a syntax (or parse) tree for a string of
tokens? - ANSWER- syntax analysis

Información del documento

Subido en
10 de septiembre de 2024
Número de páginas
2
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$11.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
BRAINSCAPE1
4.4
(20)
Vendido
141
Seguidores
15
Artículos
11136
Última venta
3 semanas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes