CS409 Final term Handouts + MCQS.pdf
Verified academic study resource for CS409 (Ethical & Legal Issues in Computing) under the Computer Science at Virtual University of Pakistan. This PDF document (Final-Term Solved Past Paper & Examination Pack) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 450 pages across 4 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.
- Course
- CS409 – Ethical & Legal Issues in Computing
- Faculty
- Computer Science
- Format
- Type
- Final-Term
- Coverage
- Final-Term Exam Scope (Lectures 23 to 45)
- Tags
- MCQ, HANDOUT, 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 CS409, regardless of midterm scores.
What this file covers — CS409 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 CS409 Final term Handouts + MCQS.pdf for free?
You can preview and download "CS409 Final term Handouts + MCQS.pdf" (CS409 PDF, ~450 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs409-final-term-handouts-mcqs-pdf) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS409 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 CS409 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 CS409 solved past papers and handouts verified for 2026 exams?
Yes. All CS409 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
CS409 Final term Handouts
Topic 86
What is Free Space in Data Block?
As the database fills a data block from the bottom up, the amount of free space between
the row data and the block header decreases. This free space can also shrink during
updates, as when changing a trailing null to a non-null value.
The database manages free space in the data block to optimize performance and avoid
wasted space (Tuning Feature).
Data Blocks & OS Blocks
At the physical level, database data is stored in disk files made up of operating system
blocks.
An operating system block is the minimum unit of data that the operating system can read
or write.
In contrast, an Oracle block is a logical storage structure whose size and structure are not
known to the operating system.
Percentage of Free Space in Data Blocks
The PCTFREE storage parameter is essential to how the database manages free space.
This SQL parameter sets the minimum percentage of a data block reserved as free space
for updates to existing rows.
PCTFREE is important for preventing row migration and avoiding wasted space.
Optimizing of Free Space
While the percentage of free space cannot be less than PCTFREE, the amount of free
space can be greater. For example, a PCTFREE setting of 20% prevents the total amount
of free space from dropping to 5% of the block, but permits 50% of the block to be free
space.
The following SQL statements can increase free space:
DELETE statements
UPDATE statements that either update existing values to smaller values or increase
existing values and force a row to migrate
INSERT statements on a table that uses OLTP compression. If inserts fill a block with
data, then the database invokes block compression, which may result in the block having
more free space.
The space released is available for INSERT under the following conditions:
If the INSERT statement is in the same transaction and after the statement that frees
space, then the statement can use the space.
If the INSERT statement is in a separate transaction from the statement that frees space
(perhaps run by another user), then the statement can use the space made available only
after the other transaction commits and only if the space is needed.
Reuse of Index Space
The database can reuse space within an index block.
For example, if you insert a value into a column and delete it, and if an index exists on
this column, then the database can reuse the index slot when a row requires it
Topic 87
What is Extent?
An extent is a logical unit of database storage space allocation made up of contiguous data blocks.
Data blocks in an extent are logically contiguous but can be physically spread out on disk because
of RAID striping and file system implementations.
An extent is a logical unit of database storage space allocation made up of contiguous data
blocks. Data blocks in an extent are logically contiguous but can be physically spread out on disk
because of RAID striping and file system implementations.
Deallocation of Extents
In general, the extents of a user segment do not return to the tablespace unless you
drop the object using a DROP command. In Oracle Database 11g Release 2, you can also drop the
segment using the DBMS_SPACE_ADMIN package.
For example, if you delete all rows in a table, then the database does not reclaim the data blocks
for use by other objects in the tablespace.
Manually Deallocate Space
Following techniques can deallocate extents
You can use an online segment shrink to reclaim fragmented space in a segment.
Segment shrink is an online, in-place operation.
You can move the data of a non-partitioned table or table partition into a new segment,
and optionally into a different tablespace for which you have quota.
You can rebuild or coalesce the index
You can truncate a table or table cluster, which removes all rows. By default, Oracle
Database deallocates all space used by the removed rows except that specified by the
MINEXTENTS storage parameter.
You can deallocate unused space, which frees the unused space at the high water mark
end of the database segment and makes the space available for other segments in the
tablespace
Sample SQL DDL using Extent
CREATE TABLESPACE MCare_indx
DATAFILE 'D:\oracle11g\ora11g\oradata\MCare_indx01.dbf'
SIZE 100M
MINIMUM EXTENT 64K
DEFAULT STORAGE (INITIAL 64K NEXT 64K);
Topic 88
What is Segment?
A segment is a set of extents that contains all the data for a logical storage structure within a
tablespace. For example, Oracle Database allocates one or more extents to form the data segment
for a table. The database also allocates one or more extents to form the index segment for a table
implementation.
User Segments
A single data segment in a database stores the data for one user object. There are different types
of segments. Examples of user segments include:
Table, table partition, or table cluster
LOB or LOB partition
Index or index partition
Each non partitioned object and object partition is stored in its own segment. For example, if an
index has five partitions, then five segments contain the index data.
User Segments Creation
By default, the database uses deferred segment creation to update only database metadata when
creating tables and indexes.
When a user inserts the first row into a table or partition, the database creates segments for the
table or partition, its LOB columns, and its indexes.
Deferred segment creation enables you to avoid using database resources unnecessarily.
For example, installation of an application can create thousands of objects, on consuming
significant disk space. Many of these objects may never be used.
More CS409 files
- All Subjects Mid & Final 25000 Pdf Files.pdf (PDF · Final-Term)
- CS409 Final term Handouts + MCQS Part 2.pdf (PDF · Final-Term)
- 65915613-CS409-Assignment.pdf (PDF · Assignment)
- CS 409 handouts by Mah jabeen.pdf (PDF · Handout)
- CS409 Mid Term Past Paper Downloaded from vurank.pdf (PDF · Midterm)
- CS 409P Labs solutions BY Mahjabeen.pdf (PDF · Study Resource)
- CS409 Week 1.pdf (PDF · Study Resource)
- CS409 Week 2.pdf (PDF · Study Resource)