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
Examen

CS 326 END OF COURSE 2025/2026 QUESTIONS AND SOLUTION RATED A+

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

CS 326 END OF COURSE 2025/2026 QUESTIONS AND SOLUTION RATED A+

Institución
CS 326
Grado
CS 326

Vista previa del contenido

CS 326 END OF COURSE 2025/2026 QUESTIONS AND
SOLUTION RATED A+
✔✔What did the 2nd Gen. Pl's contribute? - ✔✔1. Recursion
2. Some dynamic data
3. Stronger typing
4. Block structure syntax
5. Free format syntax
6. !!! Formal definition of syntax

✔✔3 Examples of 3rd Gen. PL's - ✔✔1. Pascal
2. C
3. Algol 68

✔✔What did the 3rd Gen. PL's contribute? - ✔✔1. Completed structured control
statements
2. Arrays, records, sets, consts, enum, subtypes
3. User controled data = alloc/dealloc (pointers/references)
4. Stronger Typed System

✔✔3 Examples of 4th Gen. PL's - ✔✔1. Ada 83
2. Modula2
3. Fortran 90

✔✔What did the 4th Gen. PL's contribute? - ✔✔!! Data Abstraction (classes)

✔✔3 Examples of 5th Gen. PL's - ✔✔1. C++
2. Java
3. Ada 95

✔✔What did the 5th Gen. PL's Contribute? - ✔✔1. Inheritance
2. Polymorphism

✔✔What are the parts of BNF? - ✔✔General meta-language to describe grammars of
PL's

T = finite set of terminals
N = finite set of non-terminals
S ∈ N = Start symbol
P = Finite set of rules/productions

✔✔Def: Grammar - ✔✔A set of rules over an alphabet that are used to generate a
language

✔✔Def: Language - ✔✔L(G) = { w | w ∈ T* and w has a parse tree using G }

, ✔✔Def: Sentences - ✔✔Legal strings in L(G)

✔✔Def: Ambiguity Sentence - ✔✔When a given sentence gives 2 or more distinct parse
trees

✔✔Def: Ambiguous Grammar - ✔✔When a grammar can generate at least one
ambiguous sentence, it becomes an ambiguous grammar

✔✔Give an example of Inherently ambiguous language - ✔✔English

✔✔What is Precedence of Operators and how do you achieve it with BNF? -
✔✔Precedence of Operators is the hierarchy (order) in which operators should be
applied

Precedence is achieved through creating productions that reference other productions
(and their LHS's) in a descending order:

<S> => <S> * <R> | <R>
<R> => <R> + <Q> | <Q>
<P> => a

✔✔What is Associativity of Operators and how do you achieve it with BNF? -
✔✔Associativity of Operators is the rule that determines which non-terminals that an
operator will expand

Achieved through the left to right or right to left order when defining productions

✔✔What are the meanings of the EBNF symbols, and how do you convert them to/from
BNF? - ✔✔1. [ ] 0 or 1 times

<T> => <T><R> | <R>
i.e.t <T> => [<T>]<R>

2.{ } 0 or more times

<T list> => <T list><T> | <T>
i.e.t. <T list> => <T>{,<T>}

3. ( ... | ... | ... ) Or operators

<term> => <term> ( * | + | - | / ) <factor>

✔✔What are the 6 properties of Variables? - ✔✔1. name
2. address

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
5
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$12.49
Accede al documento completo:

¿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

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
140
Miembro desde
1 año
Número de seguidores
5
Documentos
23291
Última venta
2 semanas hace
EXAM CAFE

NBA FINALS.....CRAZY TIMES 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 &amp; summaries to simplify learning ✅ Practice tests &amp; quizzes to assess your knowledge ✅ Detailed solutions &amp; 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

17 reseñas

5
6
4
3
3
2
2
1
1
5

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