CS 713 Subjective final term ppr.docx
Verified academic study resource for CS713 (Advanced Software Architecture) under the Computer Science at Virtual University of Pakistan. This DOC document (Final-Term Solved Past Paper & Examination Pack) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 320 pages across 4 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.
- Course
- CS713 – Advanced Software Architecture
- Faculty
- Computer Science
- Format
- DOC
- Type
- Final-Term
- Coverage
- Final-Term Exam Scope (Lectures 23 to 45)
- Tags
- SUBJECTIVE, FINALTERM
Virtual University regulations strictly require achieving at least 20% marks in the Final-Term exam paper alone (typically 12+ marks out of 60) to pass CS713, regardless of midterm scores.
What this file covers — CS713 syllabus roadmap
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)
Frequently asked questions
Where can I download CS 713 Subjective final term ppr.docx for free?
You can preview and download "CS 713 Subjective final term ppr.docx" (CS713 DOC, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs-713-subjective-final-term-ppr-docx) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS713 file?
This document covers Final-Term Exam Scope (Lectures 23 to 45) across 4 distinct lecture units (Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.
What is the passing criteria for CS713 under the VU 20% Two-Half Rule?
Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.
Are CS713 solved past papers and handouts verified for 2026 exams?
Yes. All CS713 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.
Inside this file
Q 1: Defince Starburst design and architecture.
A table can be stored in variety of methods (such as heap files, non-recoverable temporary file, B+ trees etc).
Each table has associated attachment types.
Integrity constraints are checked by providing veto power to attachment.
Storage and attachment methods utilize common services:Concurrency Control, Recovery, Event Queues
The core provides a standard event queue for different activities.
Several extensions are made to SQL in SB.
Q 2: Dictionary object in ODMG-3.0.
A Dictionary object is an unordered sequence of key-value pairs with no duplicate keys.
Each key-value pair is constructed as an instance of the following structure:
struct Association
{Object key; Object value; };
Iterating over a Dictionary object will result in the iteration over a sequence of Associations.
Each get_element operation, executed on an Iterator object, returns a structure of type Association.
Dictionary Factory & Interface
interface DictionaryFactory : ObjectFactory {
Dictionary new_of_size(in long size);
};
class Dictionary : Collection {
exception DuplicateName{string key; };
exception KeyNotFound{Object key; };
attribute dictionaryvalue;
void bind(in Object key, in Object value) raises(DuplicateName);
void unbind(in Object key) raises(KeyNotFound);
Object lookup(in Object key) raises(KeyNotFound);
boolean contains_key(in Object key);
};
Q 3: Advance transection model.
Features of Advanced Transactions
Each advanced transaction model extends the traditional transaction concept along the following dimensions:
Supporting long-lived transactions
Supporting open-ended activities
Supporting cooperative activities
Supporting local autonomy
Supporting user controlled transaction
Application-specific transaction manager
Framework for analyzing transaction models
In the following, we will survey SOME of important advanced transaction models
Nested transaction
Sagas
Nested transaction
A nested transaction is used to provide a transactional guarantee for a subset of operations performed within the scope of a larger transaction. Doing this allows you to commit and abort the subset of operations independently of the larger transaction.
The rules to the usage of a nested transaction are as follows:
While the nested (child) transaction is active, the parent transaction may not perform any operations other than to commit or abort, or to create more child transactions.
Committing a nested transaction has no effect on the state of the parent transaction. The parent transaction is still uncommitted. However, the parent transaction can now see any modifications made by the child transaction. Those modifications, of course, are still hidden to all other transactions until the parent also commits.
Likewise, aborting the nested transaction has no effect on the state of the parent transaction. The only result of the abort is that neither the parent nor any other transactions will see any of the container modifications performed under the protection of the nested transaction.
If the parent transaction commits or aborts while it has active children, the child transactions are resolved in the same way as the parent. That is, if the parent aborts, then the child transactions abort as well. If the parent commits, then whatever modifications have been performed by the child transactions are also committed.
The locks held by a nested transaction are not released when that transaction commits. Rather, they are now held by the parent transaction until such a time as that parent commits.
Any container modifications performed by the nested transaction are not visible outside of the larger encompassing transaction until such a time as that parent transaction is committed.
The depth of the nesting that you can achieve with nested transaction is limited only by memory.
To create a nested transaction, use the XmlManager::createTransaction method, but pass it the internal Berkeley DB Transaction object as an argument. For example:
// parent transaction
XmlTransaction parentTxn = myManager.createTransaction();
// child transaction
XmlTransaction childTxn =
XmlManager.createTransaction(parentTxn.getTransaction(), null);
Sagas
SAGAS [Garcia-Molina & Salem'87]
Supporting long-lived transactions
A saga is a collection of relatively independent subtransactions Tl, T2,....,Tn. Associated with subtransactions T1, T2,...,Tn-1 are compensating transactions C1, C2,...,Cn-1
The system guarantees that either Tl,T2,...,Tn or T1, T2,...,Tj, Cj,..., C2, C1(j < n) is executed "
Subtransactions of a saga can be interleaved in any way with other (sub)transactions IInterBase!
When a subtransaction completes, it can commit without waiting for other subtransactions
When failure occurs, a saga may try to proceed by executing the missing subtransactions (forward recovery); if not possible, it rollbacks the committed subtransactions by issuing compensating transactions
Subtransactions may not see the same consistent state
-> Consistency is compromised
Subtransaction can commit when complete NO commit protocol is needed
-> Isolation lS reduced to subtransaction level
Failure atomicity is required
-> Atomicity and Durability are still required
Q 4: Specification and implementation of ODMG-3.0.
Type has an external spec and one or more implementations.
Specification: external characteristics of type; visible to users.
Operations, state variables and exceptions.
Implementation: internal detail of objects of type; determined by a language binding.
Interface defines abstract behavior of an object type.
Class definition gives abstract state and abstract behavior of object type.
Literal.
Interface Employee {…}; // abstract behavior