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

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

CS 326 STUDY GUIDE 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
7
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

CS 326 STUDY GUIDE 2025/2026 QUESTIONS AND
SOLUTION RATED A+
✔✔code improvement - ✔✔optimizes into a new version with more efficiency

✔✔Chomsky hierarchy: - ✔✔form of language classification
-regular vs. context free languages
-regular grammar vs. context-free grammar
-finite vs. pushdown automaton
-scanning vs. parsing phase

✔✔regular languages are a subset of: - ✔✔context free languages

✔✔Formal language - ✔✔set of strings of symbols drawn from a finite alphabet

✔✔What is an ambiguous grammar? - ✔✔one string has multiple parse trees

✔✔What does a regular expression do? - ✔✔defines what tokens are valid in a
programming language

✔✔regular expression options - ✔✔character, empty string, concatenation, alternation,
repetition 0 or more times

✔✔Scheme Program structure - ✔✔all expressions
- atoms: numbers, strings, identifiers, characters, booleans
- lists: sequences of expressions separated by spaces
Ex: list -> ( expr_seq )

✔✔What is does the quote do in Scheme? - ✔✔use the quote to prevent evaluation

✔✔How to force evaluation in Scheme? - ✔✔eval

✔✔What are special forms? - ✔✔they have different rules regarding whether/how
arguments are evaluated
Ex: define/quote

✔✔cons - ✔✔returns a list built from head and tail

✔✔car - ✔✔returns first member of a list (head)

✔✔cdr - ✔✔returns the list without its first member (tail)

✔✔null? - ✔✔returns if list is null

, ✔✔list - ✔✔returns a list built from its arguments

✔✔length - ✔✔returns length of a list

✔✔reverse - ✔✔returns the list reversed

✔✔append - ✔✔returns the concatenation of the lists received as arguments

✔✔How can you check the type of an argument? - ✔✔argument_type?

✔✔and, or - ✔✔evaluate arguments only as needed

✔✔form of if: - ✔✔(if <test_exp> <then_exp> <else_exp>)

✔✔form of cond: - ✔✔(cond
(<test_exp1> <exp1> .. )
(<test_exp2> <exp2> .. )
(else <exp> ...))

✔✔lambda expression - ✔✔An expression used to define an anonymous function (a
function without a name)
(lambda (id1 id2 ...) exp1 exp2 ...)
- can't reuse the function, but useful to return a function from another function

✔✔define - ✔✔allows you to bind a name to a function, so that it can be reused

✔✔member? - ✔✔checks if an element exists in a list

✔✔input-output commands in Scheme: - ✔✔read and display

✔✔How to make local definitions in Scheme? - ✔✔let

✔✔General rules for recurrence in Scheme: - ✔✔− When recurring on a list lst, ask two
questions about it: (null? lst) and else
− When recurring on a number n, ask two questions about it: (= n 0)and else
− When recurring on a list lst, make your recursive call on (cdr lst)− When recurring on a
number n, make your recursive call on (- n 1)

✔✔first-class object - ✔✔can be passed as an argument to another function, it can be
returned as a result from another function, and it can be created dynamically

✔✔higher-order function - ✔✔it takes a function as a parameter, or returns a function as
a result
$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
Ver perfil
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 &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

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