Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

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

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
09-10-2025
Written in
2025/2026

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

Institution
CS 326
Course
CS 326

Content preview

CS 326 STANDARD EXAMS SHEET 2025/2026 QUESTIONS
AND SOLUTION RATED A+
✔✔What languages were gen 2? - ✔✔Algol 60, PL/I, Fortran 77(standardized)

✔✔What was introduced in Gen 3? - ✔✔Completely structured control statements
Arrays
Records
Constants
Enums
Subtypes
User Controlled data
Strongly typed data

✔✔What languages were in Gen 3? - ✔✔Pascal, C, Algol 68

✔✔What was introduced in Gen 4? - ✔✔Data Abstraction

✔✔What languages were gen 4? - ✔✔Ada 83, Fortran 90

✔✔What was introduced in gen 5? - ✔✔Inheritance
Polymorphism

✔✔What languages were in gen 5? - ✔✔C++, C#, Java, Ada 95, Python, etc.

✔✔What is a BNF? - ✔✔4-tuple grammar of a PL that has a set of:
Terminals
Nonterminals
S is a set in G
Production Set

✔✔What does {} mean in EBNF? - ✔✔Can put contents 0+ times

✔✔What does [] mean in EBNF? - ✔✔Can put contents 0 or one times

✔✔What are the rules for variable names? - ✔✔Start with a letter
Alphanumeric with some exceptions
Case-sensitive?
Max-Length?

✔✔What is a keyword? - ✔✔words that have a special meaning if used in a special
place in a special way

, ✔✔What is a reserved word? - ✔✔special string that can only used with its special
meaning

✔✔What is a pre-defined word? - ✔✔String has a special meaning but can be
redeclared by user

✔✔What are 2 different ways variables can be addressed? - ✔✔Same name, different
addresses
Same address, different names

✔✔What is aliasing? - ✔✔Bounding different names to the same address

✔✔What are the problems with aliasing? - ✔✔Changing value of one changes all
Gives a loophole around the type rules

✔✔What does variable typing do? - ✔✔Determines range of legal values that can be
stored in that memory cell

✔✔What's the exception to the fact that the system cannot determine the type of a
declaration? - ✔✔Tag architecture

✔✔How many types does the tag architecture store? - ✔✔8

✔✔What is static typing? - ✔✔typing specified by declaration

✔✔What are the advantages to static typing? - ✔✔Better for professional world

✔✔What is dynamic typing? - ✔✔type determined by type of value it currently contains

✔✔What are the advantages to dynamic typing? - ✔✔No declarations needed

✔✔What are the disadvantages to dynamic typing? - ✔✔All type errors become runtime
errors
Runtime overhead in space and time

✔✔What does it mean to call a language strongly typed? - ✔✔All possible type exists
are always checked for and reported

✔✔What are strongly typed languages? - ✔✔Ada, Java

✔✔What are somewhat strongly type languages? - ✔✔Pascal

✔✔Why is C++ only halfway strongly types? - ✔✔No runtime checks

Written for

Institution
CS 326
Course
CS 326

Document information

Uploaded on
October 9, 2025
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$12.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EXAMCAFE Chamberlain College Nursing
Follow You need to be logged in order to follow users or courses
Sold
139
Member since
1 year
Number of followers
3
Documents
23069
Last sold
3 days ago
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 & 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,

Read more Read less
3.2

17 reviews

5
6
4
3
3
2
2
1
1
5

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions