CS409 Week 4.pdf

Verified academic study resource for CS409 (Ethical & Legal Issues in Computing) under the Computer Science at Virtual University of Pakistan. This PDF document (Verified Study Resource) covers Full Course Curriculum spanning approximately 280 pages across 8 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
PDF
Type
Study Resource
Coverage
Full Course Curriculum

Review this document alongside the official handouts and test your retention in the Interactive MCQs Studio.

What this file covers — CS409 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. 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 Week 4.pdf for free?

You can preview and download "CS409 Week 4.pdf" (CS409 PDF, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs409-week-4-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 Full Course Curriculum across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, 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

Introduction to Database Administration

                     Creating & Altering an Index

Creating & Altering an Index
                Creating & Altering Index

                •   Altering Indexes
                •   Creating Indexes
                •   Creating & Alter Indexes
                •   Rebuild Index
                •   Making Index Visible/ Invisible
                •   Making Index Useable

Creating & Altering an Index
                Altering Indexes

                To alter an index, your schema must
                contain the index or you must have the
                ALTER ANY INDEX system privilege. With
                the ALTER INDEX statement, you can:
                • Rebuild or coalesce an existing index
                • Deallocate unused space or allocate a
                   new extent Specify parallel execution
                   (or not) and alter the degree of
                   parallelism
                • Alter storage parameters or physical
                   attributes Specify LOGGING or
                   NOLOGGING

Creating & Altering an Index
                Creating Indexes

                •   Enable or disable key compression
                •   Mark the index unusable
                •   Make the index invisible
                •   Rename the index
                •   Start or stop the monitoring of index
                    usage

Creating & Altering an Index
                Creating Indexes

                CREATE INDEX emp_ename ON
                emp(ename)
                TABLESPACE users
                STORAGE (INITIAL 20K NEXT 20k);

                CREATE UNIQUE INDEX
                dept_unique_index ON dept (dname)
                TABLESPACE indx;

Creating & Altering an Index
                Creating & Alter Indexes
                CREATE TABLE emp (
                empno NUMBER(5) PRIMARY KEY,
                age    INTEGER)
                ENABLE PRIMARY KEY
                USING INDEX TABLESPACE Work_Indx;

                ALTER INDEX emp_ename
                STORAGE (NEXT 40);

Creating & Altering an Index
                Rebuild Index
                You have the option of rebuilding the
                index online. Rebuilding online enables
                you to update base tables at the same
                time that you are rebuilding.
                The following statement rebuilds the
                emp_name index online:

                ALTER INDEX emp_name REBUILD ONLINE;

Creating & Altering an Index
                Making Index Visible/ Invisible
                An invisible index is ignored by the
                optimizer unless you explicitly set the
                OPTIMIZER_USE_INVISIBLE_INDEXES
                initialization parameter to TRUE at the
                session or system level. Making an index
                invisible is an alternative to making it
                unusable or dropping it.

                ALTER INDEX index INVISIBLE;

                ALTER INDEX index VISIBLE;

Creating & Altering an Index
                Making Index Visible/ Invisible
                An invisible index is ignored by the
                optimizer unless you explicitly set the
                OPTIMIZER_USE_INVISIBLE_INDEXES
                initialization parameter to TRUE at the
                session or system level. Making an index
                invisible is an alternative to making it
                unusable or dropping it.

                ALTER INDEX index INVISIBLE;

                ALTER INDEX index VISIBLE;

                       Creating & Altering an Index
               Making Index Useable
Query the data dictionary to determine whether an
existing index or index partition is usable or unusable.

SELECT INDEX_NAME AS "INDEX OR PART NAME",
STATUS, SEGMENT_CREATED
FROM USER_INDEXES
UNION ALL
SELECT PARTITION_NAME AS "INDEX OR PART NAME",
STATUS, SEGMENT_CREATED
FROM USER_IND_PARTITIONS;

Introduction to Database Administration

                         Readonly & Online Status
                         of Tablespaces

Readonly & Online Status of Tablespaces
                     Readonly & Online Status of
                     Tablespaces

                     •   Steps to Create Readonly
                         Tablespaces
                     •   SQL Alter Tablespace Command
                     •   Delaying the opening of Data Files
                     •   Side Effect of Delaying the opening
                         of Data Files
                     •   Important Issues of Delaying the
                         opening of Data Files

Readonly & Online Status of Tablespaces
                     Steps to Create Readonly
                     Tablespaces

                     • Create a writable tablespace on
                       another device. Create the objects
                       that belong in the tablespace and
                       insert your data.
                     • Alter the tablespace to make it read-
                       only.
                     • Copy the data files of the tablespace
                       onto the WORM device. Use operating
                       system commands to copy the files.
                     • Take the tablespace offline.

Readonly & Online Status of Tablespaces
                     Steps to Create Readonly
                     Tablespaces

                     • Rename the data files to coincide
                       with the names of the data files you
                       copied onto your WORM device. Use
                       ALTER TABLESPACE with the
                       RENAME DATAFILE clause.
                     • Renaming the data files changes
                       their names in the control file.
                     • Bring the tablespace back online.

Readonly & Online Status of Tablespaces
                     SQL Alter Tablespace Command

                     ALTER TABLESPACE userdata READ ONLY;

                     • Causes a checkpoint
                     • Data available only for read operations

More CS409 files

All CS409 files · Midterm Prep 2026 · MCQs Bank