Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4,6 TrustPilot
logo-home
Examen

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

Note
-
Vendu
-
Pages
6
Grade
A+
Publié le
09-10-2025
Écrit en
2025/2026

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

Établissement
CS 326
Cours
CS 326









Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
CS 326
Cours
CS 326

Infos sur le Document

Publié le
9 octobre 2025
Nombre de pages
6
Écrit en
2025/2026
Type
Examen
Contient
Questions et réponses

Sujets

Aperçu du contenu

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
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
EXAMCAFE Chamberlain College Nursing
Voir profil
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
104
Membre depuis
10 mois
Nombre de followers
3
Documents
11120
Dernière vente
4 jours de cela
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,

Lire la suite Lire moins
3.2

14 revues

5
5
4
2
3
2
2
1
1
4

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions