• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 7 páginas
Examen

CS 424 midterm(All solved)

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

Three terms for language criteria correct answers Readability, writability, reliability Readability correct answers A measure of the ease with which programs can be read and understood by humans Writability correct answers A measure of the ease with which a language can be used to create programs to solve problems in a chosen domain Reliability correct answers The degree to which a program written in the language performs to its specifications under all conditions Cost correct answers Total expense incurred in training, acquiring tools, programming, compiling, executing, debugging and maintaining programs in the language. Includes both time and monetary expense. Simplicity correct answers Small number of basic constructs Orthogonality correct answers a relatively small set of primitive constructs can be combined in a relatively small number of ways Aliasing correct answers Having two or more names that access the same memory cell's value Type checking correct answers the activity of ensuring that the operands of an operator are of compatible types Syntax vs. Semantics correct answers Syntax is the form. It is is how the program is written. Semantics is the meaning. This is what happens when the program is run or executed. Compiled Language vs. Interpreted languages correct answers A compiled language is converted into machine code so that the processor can execute it. An interpreted language is a language in which the implementations execute instructions directly without earlier compiling a program into machine language. The compiled programs run faster than interpreted programs. Associativity vs. Precedence correct answers Associativity handles things of equal precedence. Precedence handles unequal situations. For example, +/- has associativity. * has precedence over +. A variable is used in an expression, but was not declared before it was used. What stage of the compiler would this be detected? correct answers Semantic Analysis. The Semantic Analysis phase use the symbol table and syntax tree to make sure that the code is semantically correct. This must deal with semantics or how the program is


Información del documento

Subido en
28 de mayo de 2024
Número de páginas
7
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas
$11.69

¿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.
Vendido
23
Seguidores
6
Artículos
4026
Última venta
2 meses 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

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