CS409 Week 3.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 3.pdf for free?

You can preview and download "CS409 Week 3.pdf" (CS409 PDF, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs409-week-3-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

                         Memory Architecture
                         Overview (SGA)

Memory Architecture Overview
               Memory Management &
               Architecture

               •   Instance & Database
               •   Overview of SGA
               •   Overview of SGA & Database

Memory Architecture Overview
               Instance & Database

Memory Architecture Overview
               Overview of SGA

Memory Architecture Overview
               Overview of SGA & Database

      Memory Architecture Overview
                     Overview of SGA & Database

End

Introduction to Database Administration

                         Configuring Memory

Configuring Memory
          Configuring Memory with SGA

          •   Fundamentals of Configuration
          •   Granules
          •   Granule Size
          •   SGA Memory Size
          •   SGA_MAX_SIZE
          •   Setting SGA Target Size
          •   Manual Shared Memory
              Management

Configuring Memory
          Fundamentals of Configuration

          Disable automatic memory
          management of SGA set target and
          maximum sizes for the SGA With
          automatic shared memory
          management

          The database then sets the total size of
          the SGA to your designated target, and
          dynamically tunes the sizes of many
          SGA components.

Configuring Memory
          Fundamentals of Configuration

          Set the sizes of several individual SGA
          components with manual shared
          memory management, thereby
          determining the overall SGA size. You
          then manually tune these individual
          SGA components on an ongoing basis.

          Similarly, for the instance PGA, there is
          automatic/ manual PGA memory
          management, in which you set a target
          size for the instance PGA.

Configuring Memory
          Granules

          SGA memory components include
          • the shared pool (used to allocate
            memory for SQL and PL/SQL execution),
          • the java pool (used for java objects and
            other java execution memory), and
          • the buffer cache (used for caching disk
            blocks).

Configuring Memory
          Granules

          All SGA components allocate and
          deallocate space in units of granules.

          The granule size is based on the value
          of the SGA_MAX_SIZE initialization
          parameter.

Configuring Memory
          Granule Size

          Using V$SGAINFO view to see the
          granule size that is being used by an
          instance

Configuring Memory
          SGA Memory Size

Configuring Memory
          SGA_MAX_SIZE

          • The SGA_MAX_SIZE initialization
            parameter specifies the maximum
            size of the System Global Area for
            the lifetime of the instance.

          • If you do not specify SGA_MAX_SIZE,
            then Oracle Database selects a
            default value that is the sum of all
            components specified or defaulted
            at initialization time.

Configuring Memory
          Setting SGA Target Size

          • You enable the automatic shared
            memory management feature by
            setting the SGA_TARGET parameter
            to a nonzero value. This parameter
            sets the total size of the SGA.
          • It replaces the parameters that
            control the memory allocated for a
            specific set of individual
            components, which are now
            automatically and dynamically
            resized (tuned) as needed.

Configuring Memory
          Setting SGA Target Size

Configuring Memory
          Setting SGA Target Size

          In addition to setting SGA_TARGET to a
          nonzero value, set to zero all initialization
          parameters of first Table to enable full
          automatic tuning of the automatically sized
          SGA components.

      Configuring Memory
                Manual Shared Memory Management

End

Introduction to Database Administration

                         Memory Related Data
                         Dictionary Views

Memory Related Data Dictionary Views
                   Memory Data Dictionary Views

                   •   Memory Parameters
                   •   Memory Target & SPFILE
                   •   Tune SGA Target
                   •   PGA related Queries
                   •   Table Size
                   •   Blocks & Extents Sizes
                   •   Database Block Size
                   •   Extent and PCT_FREE Sizes
                   •   Maximum Size of Data File
                   •   Maximum Size of Data File with
                       Blocks

Memory Related Data Dictionary Views
                   Memory Parameters

Memory Related Data Dictionary Views
                   Memory Parameters

Memory Related Data Dictionary Views
                   Memory Target & SPFILE

                   create
                   pfile='E:\app\Haider\admin\orcl\pfile
                   \ init.ora.862016235218‘ from
                   'E:\app\Haider\product\11.2.0\dbho
                   me_1\dbs\init.ora';

                   Alter system set memory_target=1021
                   M scope=spfile;

Memory Related Data Dictionary Views
                   Memory Target & SPFILE

                   Alter system set SGA_TARGET=0
                   scope=spfile;
                   Alter system set
                   PGA_AGGREGATE_TARGET=0
                   scope=spfile;

                   shutdown immediate
                   Show parameter memory

Memory Related Data Dictionary Views
                   Tune SGA Target

                   Desc V$SGA_TARGET_ADVICE

                   select sga_size,estd_db_time
                   from V$SGA_TARGET_ADVICE;

Memory Related Data Dictionary Views
                   PGA related Queries

                   select low_optimal_size/1024 low_kb,

More CS409 files

All CS409 files · Midterm Prep 2026 · MCQs Bank