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 EVALUATION EXAMS 2025/2026 QUESTIONS AND SOLUTION RATED A+

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

CS 326 EVALUATION EXAMS 2025/2026 QUESTIONS AND SOLUTION RATED A+

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
9 de octubre de 2025
Número de páginas
6
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

CS 326 EVALUATION EXAMS 2025/2026 QUESTIONS AND
SOLUTION RATED A+
✔✔Ch3 What does BNF stand for and what is it - ✔✔Backus Naur Form
a general meta language to describe the grammar of a programming language

✔✔Ch3 Grammar in BNF, the tuple and what the variables mean. - ✔✔4-tuple:
(T,N,S,P) character set, tokens, lexicons
T - set of terminals
N - finite set of non terminals (metasymbols, syntactic categories)
S - Element of non-terminal; start symbol from grammar (usually called grammar)
P - finite set of rules/productions of form
A ::= beta
lhs -> rhs(rhs can be empty)
A is single non terminal, ::= seperates lhs & rhs like arrow, beta is string od (T u N)*
Greek letters represent string

✔✔Ch3 What is ":="? - ✔✔the assignment operator in agol

✔✔Ch3 What is "::="? - ✔✔BNF arrow symbol

✔✔Ch3 T/F? Empty programs are allowed in AGOL. - ✔✔True (A parse tree can be
made for 'begin end')

✔✔Ch3 A language for which all grammar that generates it are ambiguous is called
an... - ✔✔inherently ambiguous language

✔✔Ch5 Structural type equivalence vs name type equivalence. What are they and
which is better? - ✔✔One depends on being structurally the same (C) while the other
just checks if they have the same name (C++)

Name type equivalence is easier and quicker, being more restrictive and says no more
often then yes.

✔✔Ch5 What are anonymous types? Examples? - ✔✔They're structs that do not have a
name assigned to them, but exist in memory.

Ex:
struct { int a; double b} x,y; // compiler puts a name if you don't in c++
struct { int a; double b} x; //not equivalent type to above, address names are different in
c++

✔✔Ch5 Subrange types. Example? What will work? - ✔✔x = y; // x is a subrange of y or
vise versa
int = 1...10; // WILL work

, 1...10 = int // ok but runtime checked

✔✔Ch5 What do scope rules do? - ✔✔specify when a name can be used and which
address the name refers to (if name is associated w/ multiple addresses)

✔✔Ch5 When are scopes determined/checked? - ✔✔@ compile time
ALSO all programming languages use static scope

✔✔SG Qualities of a good programming language include... - ✔✔readable, writable,
reliable, syntactic consistency, regularity

✔✔SG What is syntactic consistency? - ✔✔

✔✔SG What is reliability? - ✔✔

✔✔SG Translation techniques: Compilers vs interpreters - ✔✔

✔✔SG Translation techniques: compiler phases - ✔✔program -> interpreter -> code ->
execution

✔✔SG Translation techniques: static time vs dynamic time - ✔✔

✔✔SG 5 Gen of Imperative Languages: definition of imperative language programming
- ✔✔

✔✔SG 5 Gen of Imperative Languages: Differences between generations - ✔✔

✔✔SG 5 Gen of Imperative Languages: Example languages - ✔✔

✔✔SG Formal Methods for syntax: BNF, grammars, sentences, languages - ✔✔

✔✔SG Variable attributes: 1. name, keywords, reserved words, predefined names - ✔✔

✔✔SG Variable attributes: 2. address, names w/ multiple addr, aliasing - ✔✔scope rules
eliminate ambiguity

✔✔SG Variable attributes: 3. type, type checking, strong vs weak typed PLs, loop holes,
type equivalence, name vs structural equivalence - ✔✔

✔✔Ch3 Coercison definition: - ✔✔automatic conversion of types in mixed type
expression

✔✔Ch3 Structural or name type equivalence?
$12.49
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
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.
EXAMCAFE Chamberlain College Nursing
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
104
Miembro desde
10 meses
Número de seguidores
3
Documentos
11120
Última venta
4 días hace
EXAM CAFE

Welcome to Exam Docs Hub, the ultimate online destination for high-quality exam documents, study guides, and academic resources to help you excel in your studies! Whether you're preparing for final exams, standardized tests, certifications, or coursework, we provide comprehensive and well-structured materials to boost your confidence and performance. Our collection includes: ✅ Past exam papers for various subjects ✅ Study guides & summaries to simplify learning ✅ Practice tests & quizzes to assess your knowledge ✅ Detailed solutions & answer keys for effective revision At Exam Docs Hub, we prioritize accuracy, quality, and accessibility. Our resources are carefully curated to meet the needs of students, educators, and professionals. With instant downloads and user-friendly access,

Lee mas Leer menos
3.2

14 reseñas

5
5
4
2
3
2
2
1
1
4

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