100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

CS 326 Exam 1

Puntuación
-
Vendido
-
Páginas
9
Grado
A+
Subido en
10-08-2025
Escrito en
2025/2026

CS 326 Exam 1 1. Write-ability/Express-ability 2. Readability 3. Simplicity 4. Reliability 5. Efficiency 6. Portable 7. Reusable Code 8. Popular - answersQualities of a good PL - answers5 Type Checks that are not done in C++ Statements that execute differently should look different - answersDef: Regularity of Syntax Program that does the translation from HLPL to LLPL before the program is run - answersDef: Compiler Program that does the translation step at run time - answersDef: Interpreter Runtime Efficiency: running machine code is 10 - 100 x faster than simulation of a virtual machine and there are no runtime overhead - answersAdv./Disadv. of Compiler Runtime Error Handling is much better - answersAdv./Disadv. of Interpreter Sequence of commands based on the assignment statement and changeable memory <var> = <expr> - answersDef: Imperative Language

Mostrar más Leer menos
Institución
Cs 326
Grado
Cs 326









Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Cs 326
Grado
Cs 326

Información del documento

Subido en
10 de agosto de 2025
Número de páginas
9
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

CS 326 Exam 1
1. Write-ability/Express-ability

2. Readability

3. Simplicity

4. Reliability

5. Efficiency

6. Portable

7. Reusable Code

8. Popular - answers✔✔Qualities of a good PL



- answers✔✔5 Type Checks that are not done in C++



Statements that execute differently should look different - answers✔✔Def: Regularity of Syntax



Program that does the translation from HLPL to LLPL before the program is run - answers✔✔Def:
Compiler



Program that does the translation step at run time - answers✔✔Def: Interpreter



Runtime Efficiency: running machine code is 10 - 100 x faster than simulation of a virtual machine and
there are no runtime overhead - answers✔✔Adv./Disadv. of Compiler



Runtime Error Handling is much better - answers✔✔Adv./Disadv. of Interpreter



Sequence of commands based on the assignment statement and changeable memory



<var> = <expr> - answers✔✔Def: Imperative Language

, Classes are equivalent only when names are equivalent - answers✔✔Def: Name-Type Equivalence



Classes are equivalent when the signature of the classes are equivalent - answers✔✔Def: Structural-
Type Equivalence



struct apple { int a; double b; }

struct orange { int a; double b; }



apple x;

orange y;



x = y; legal? - answers✔✔How do you prove the difference between name/structural equivalence?



All Possible type errors are always checked for and reported (as opposed to weakly-typed where nothing
is checked) - answers✔✔Def: Strongly-Typed



Fortran 66, BASIC, COBOL - answers✔✔3 Examples of 1st Gen. Langs.



1. Machine Independence

2. Infix syntax

3. Generic operators

4. Procedural abstraction - answers✔✔What did the 1st Generation PL's contribute?



1. Algol 60

2. PL/I

3. Fortran 77 - answers✔✔3 Examples of 2nd Gen. Langs.



1. Recursion

2. Some dynamic data
7,54 €
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor
Seller avatar
newborn

Conoce al vendedor

Seller avatar
newborn stuvia
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
0
Miembro desde
5 meses
Número de seguidores
0
Documentos
197
Última venta
-

0,0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Recientemente visto por ti

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