Lec_35.ppt

Verified academic study resource for CS302 (Digital Logic Design) under the Computer Science at Virtual University of Pakistan. This PPT document (Official Lecture Handouts & Highlighted Notes) covers Complete Course Handouts (Lectures 1 to 45) spanning approximately 450 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS302 – Digital Logic Design
Faculty
Computer Science
Format
PPT
Type
Handout
Coverage
Complete Course Handouts (Lectures 1 to 45)
Tags
SLIDES

Virtual University examiners construct 100% of objective MCQs and subjective marking schemes directly from the official CS302 handouts.

What this file covers — CS302 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 Lec_35.ppt for free?

You can preview and download "Lec_35.ppt" (CS302 PPT, ~450 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/lec-35-ppt) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS302 file?

This document covers Complete Course Handouts (Lectures 1 to 45) 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 CS302 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 CS302 solved past papers and handouts verified for 2026 exams?

Yes. All CS302 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

Digital Logic & Design

   Dr. Waseem Ikram

     Lecture No. 35

                    Recap

 Serial In/Shift Right/Serial Out
 Serial In/Shift Left/Serial Out

 D flip-flop Shift Right Register

 Universal Serial register

                    Recap

 Serial In/Parallel Out
 Parallel In/Serial Out

 Parallel In/Parallel Out

 Universal Shift register

                  Recap

 Rotate Right Operation
 Rotate Left Operation

 Johnson Counter

 Ring Counter

             11-bit Serial Data format

0      0/1    0/1   0/1   0/1   0/1   0/1   0/1   0/1   1     1
Stop                      Data bits                     Stop bits
Bit

                 Series-to-Parallel Converter
Serial Data In
                                                         Serial In/Parallel Out
                                                                Register
       1         SET
                            Clock      CLK
           J           Q
                           Generator

           K CLR Q
                                                  LOAD
                                                         Parallel In/Parallel Out
                                                                Register
                                  8-bit      TC
                                 Counter

                 One
                 Shot
                                                            Q0               Q7

                 Keyboard Encoder circuit
  SH / LD       +V

 CLK            74HC195           74HC195
(5KHz)
                                                                             +V

                          Row Encoder                       Column Encoder
                           74HC147                             74HC147

         One          One               Key Code Register
         Shot         Shot                 74HC174A

                 OLMC of the GAL22V10 device

                                            3
                                                                           I/O
                                            2                 ENB
    From
                              SET
programmable                                1

    array
                        D           Q                          Tri-state
                                            0
                                                                Buffer
                                                  S1   S0

                                    Q
                              CLR                1-to-4
                         Flip-flop              Multiplexer

                        1-to-2
                       Multiplexer
            To                          0
      programmable
                                        1
          array
                         S1

    Software Mode Specification
X    PIN 22         ISTYPE ‘reg’;
Y    PIN 23        ISTYPE ‘com’;
X    PIN 22        ISTYPE ‘reg.buffer;
Z    PIN 20        ISTYPE ‘reg.invert’;

              X := D;
              Y = D;

             X := D;
          X.CLK = Clock;

   Assignment Operators for Registered
                Mode

The assignment operators ‘:=’ and ‘:>’ are used
                    in logic
                 descriptions
       to indicate a Registered output.
                    X := D;
                    Y = D;

ABEL Input file of an 8-bit register with
          inverted outputs

   Clock, D0, D1, D2, D3, D4, D5, D6 D7
           PIN 1, 2, 3, 4, 5, 6, 7, 8, 9;
  Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7
     PIN 22, 21, 20, 19, 18, 17, 16, 15
                  ISTYPE ‘reg.invert’;

ABEL Input file of an 8-bit register with
          inverted outputs

        The logical declarations are
  [Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7] := [D0,
        D1, D2, D3, D4, D5, D6, D7];
  [Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7].CLK =
                   Clock;

 ABEL Statements for implementing an 8-
    bit D0,
          register        with     inverted       1, 2,outputs
                         The pin declarations are
   Clock,   D1, D2, D3, D4, D5, D6 D7    PIN            3, 4, 5, 6, 7, 8, 9;
Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7                  PIN       22, 21, 20, 19, 18, 17, 16, 15
                                                                    ISTYPE ‘reg.invert’;
                             The logical declarations are
        [Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7] := [D0, D1, D2, D3, D4, D5, D6, D7];
                   [Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7].CLK = Clock;
                    The logical declarations can also be written as
                                      Q0 := D0;
                                   Q0.CLK = Clock;
                                      Q1 := D1;
                                   Q1.CLK = Clock;
                                      Q2 := D2;
                                   Q2.CLK = Clock;
                                      Q3 := D3;
                                   Q3.CLK = Clock;
                                      Q4 := D4;
                                   Q4.CLK = Clock;
                                      Q5 := D5;
                                   Q5.CLK = Clock;
                                      Q6 := D6;
                                   Q6.CLK = Clock;
                                      Q7 := D7;
                                   Q7.CLK = Clock;

ABEL Input file of an 8-bit register with
          inverted outputs
          The logical declarations
           can also be written as
                 Q0 := D0;
             Q0.CLK = Clock;
                 Q1 := D1;
             Q1.CLK = Clock;
                 Q2 := D2;
             Q2.CLK = Clock;
                 Q3 := D3;
             Q3.CLK = Clock;
                 Q4 := D4;

ABEL Input file of an 8-bit register with
          inverted outputs

             Q4.CLK = Clock;
                Q5 := D5;
             Q5.CLK = Clock;
                Q6 := D6;
             Q6.CLK = Clock;
                Q7 := D7;
             Q7.CLK = Clock;

      GAL22V10 configured as an 8-bit inverted

More CS302 files

All CS302 files · Midterm Prep 2026 · MCQs Bank