100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

CS 326 STUDY GUIDE 2025/2026 QUESTIONS AND SOLUTION RATED A+

Beoordeling
-
Verkocht
-
Pagina's
7
Cijfer
A+
Geüpload op
09-10-2025
Geschreven in
2025/2026

CS 326 STUDY GUIDE 2025/2026 QUESTIONS AND SOLUTION RATED A+

Instelling
CS 326
Vak
CS 326









Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
CS 326
Vak
CS 326

Documentinformatie

Geüpload op
9 oktober 2025
Aantal pagina's
7
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

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

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
EXAMCAFE Chamberlain College Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
104
Lid sinds
10 maanden
Aantal volgers
3
Documenten
11120
Laatst verkocht
4 dagen geleden
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,

Lees meer Lees minder
3,2

14 beoordelingen

5
5
4
2
3
2
2
1
1
4

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen