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

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

CS 326 EXAM SCRIPT 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
5
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

CS 326 EXAM SCRIPT 2025/2026 QUESTIONS AND
SOLUTION RATED A+
✔✔What does *popularity* mean? - ✔✔- readily accessible, reliable
- easily understood

✔✔How is Java's *readability* compared to C++? - ✔✔Same

✔✔How is Java's *reliability* compared to C++? - ✔✔More

✔✔How is Java's *efficiency* compared to C++? - ✔✔Less

✔✔What are the 5 *compiler phases*? - ✔✔1. Lexical Analysis
2. Syntactic Analysis
3. Semantic Analysis
4. Optimization
5. Code Generation

✔✔What does *lexical analysis* input and output? - ✔✔Input: Source code
Output: Token stream

✔✔What does *syntactic analysis* input and output? - ✔✔Input: Token stream
Output: Parse tree

✔✔What does *semantic analysis* input and output? - ✔✔Input: Parse tree
Output: Checked parse tree

✔✔What does *optimization* input and output? - ✔✔Input: Checked parse tree
Output: Checked parse tree

✔✔What does *code generation* input and output? - ✔✔Input: Checked parse tree
Output: Machine instructions

✔✔What is the difference between syntax and semantics? - ✔✔1. *Syntax*: the form of
the elements of a language; the set of rules that govern the arrangement of strings to
create valid sentences in a language
2. *Semantics*: the meaning of sentences in a language, the execution behavior

✔✔What 4 things is a grammar made up of? - ✔✔1. Terminals (T)
2. Non-Terminals (N)
3. Start Symbol (S)
4. Productions (P)

✔✔What is a *meta-language*? - ✔✔A language used to describe another language

, ✔✔What is a *recursive rule*? - ✔✔A rule that appears in the LHS and the RHS of the
same rule

✔✔What are the properties of a parse tree? - ✔✔1. The root is the start symbol
2. All sub-trees are a production of G
3. An in-order traversal of the leaves returns the original string

✔✔What phases can static time be broken down into? - ✔✔1. Language design time
2. Language implementation time
3. Program compile time

✔✔What do we care about when it comes to binding? - ✔✔1. Type
2. Name
3. Memory location
4. Value

✔✔What is *type binding*? - ✔✔binding type of a *data type* to a *reference*

1. static type binding
2. dynamic type binding

✔✔What is *static type binding*? - ✔✔types are be checked at compile time; variables
must be bound to a type before usage

1. Explicit declaration: reserve memory location and associate with the name, then store
the value
2. Implicit declaration: declare a variable and the compiler infers the type based on the
value

✔✔What are the advantages of *static type binding*? - ✔✔- can check for errors at
compile time
- easier to resolve errors
- more efficient b/c you don't have to check every variable's type at runtime

✔✔What is *dynamic type binding*? - ✔✔types are checked at runtime; variables are
assigned to a type during execution

✔✔What is *address binding*? - ✔✔binding type of a *memory address*

1. static variable
2. dynamic variable

✔✔What is a *static variable*? - ✔✔the memory address is bound at compile time

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 & 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,

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