CS302 Mid Term By JUANID.pdf

Verified academic study resource for CS302 (Digital Logic Design) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 pages across 4 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
PDF
Type
Midterm
Coverage
Mid-Term Exam Scope (Lectures 1 to 22)
Tags
MIDTERM

Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS302.

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)

Frequently asked questions

Where can I download CS302 Mid Term By JUANID.pdf for free?

You can preview and download "CS302 Mid Term By JUANID.pdf" (CS302 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs302-mid-term-by-juanid-pdf) with 100% free high-speed downloads and zero registration requirements.

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

This document covers Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), 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

AL-JUNAID INSTITUTE OF GROUP
 1. Which of the following is a volatile memory?

      1. PROM
      2. DRAM
      3. EPROM
      4. EEPROM
 2. ________ is used when the output is connected back to
    the input of the PAL or if the output pin is used as an
    input only.

      1. Combinational Input/output
      2. Combinational Output
      3. Combinational Input      AL-JUNAID INSTITUTE OF
         GROUP
      4. Programmable polarity
 3. The AND Gate performs a logical ________ function.

      1. Addition
      2. Subtraction
      3. Multiplication
      4. Division       AL-JUNAID INSTITUTE OF GROUP
 4. The Adjacent 1s Detector accepts 4-bit inputs. If
    ________ adjacent 1s are detected in the input, the
    output is set to high.

      1. 2
      2. 4
      3. 1
      4. 0
 5. In the keyboard encoder, how many times per second
    does the ring counter scan the key board?

     1. 600 scans/second
     2. 625 scans/second

0304-1659294                                               1

AL-JUNAID INSTITUTE OF GROUP
      3. 650 scans/second
      4. 700 scans/second
 6. The FAST Model Page Access allows ________ memory
    read and access times when reading successive data
    values stored in consecutive locations on the same row.

      1. Slow
      2. Faster
      3. Medium
      4. Modern
 7. GAL can be reprogrammed as instead of fuses E2CMOS
    logic is used which can be programmed to connect a
    ________ with a ________.

      1. column, row
      2. row, column
      3. column, column
      4. row, row
 8. Which of the following Output Equations determines the
    output of the State Machine?

      1. MIN = Q0Q1
      2. MAX = Q0Q1EN
      3. MIN = Q0Q1EN
      4. MAX = Q1EN
 9. The maximum value, represented by a single
    hexadecimal digit is ________.

     1. "E"
     2. "F"
     3. "G"
     4. "H"

0304-1659294                                             2

AL-JUNAID INSTITUTE OF GROUP
 10.    If the voltage drop across the active load is 0 volts
   due to absence of current the comparator output is a
   ________.

      1. 0
      2. 1
 11.     The Static Ram (SRAM) is non-volatile and is not a
   ________ density memory as a latch is required to store
   a single bit of information.

     1. Low
     2. High
     3. Medium
     4. Hot
 12.    DE Morgan’s two theorems prove the equivalency of
   the NAND and ________ gates and the NOR and
   ________ gates respectively.

      1. Negative-OR, Negative-AND
      2. Negative-AND, Positive-OR
      3. Positive-OR, Negative-AND
      4. Positive-OR, Positive-AND
 13.     Two signals ________ and ________ provide the
   timing inputs to the State Machine.

     1. NSSR and EWSR
     2. LTIME and STIME
     3. PTIME and QTIME
     4. NSGrn and NSYel
 14.    The 74HC163 is a 4-bit Synchronous counter, it has
   ________ data output pins.

     1. 2
     2. 4

0304-1659294                                                3

AL-JUNAID INSTITUTE OF GROUP
     3. 6
     4. 8
 15.    PLDs have In-System Programming (ISP) capability
   that allows the ________ to be programmed after they
   have been installed on a circuit board.

      1. PLAs
      2. PALs
      3. PLDs    AL-JUNAID INSTITUTE OF GROUP
      4. EPROM
 16.     The CONSTATE.CLK = Clock is used to indicate that
   the ________ state variables change on a clock
   transition.

     1. CONSTATE
     2. FLOOR
     3. MOTION
     4. OPEN
 17.    Two types of memories namely the first in-first out
   (FIFO) memory and last in first out (LIFO) are
   implemented using ________.

     1. Shift Registers
     2. Circular Buffers
     3. Ring Buffers
     4. Reduce Registers
 18.    The normal data inputs to a flip-flop (D, S and R, J
   and K, T) are referred to as ________ inputs.

     1. Sequential
     2. Asynchronous
     3. Synchronous   AL-JUNAID INSTITUTE OF GROUP
     4. Combinational

0304-1659294                                               4

AL-JUNAID INSTITUTE OF GROUP
 19.     For a down counter that counts from (111 to 000),
   if current state is "101" the next state will be ________.

     1. 111
     2. 110
     3. 010
     4. None of the given
 20.    The ________ gate and ________ gate
   implementation connected at the B input of the 4-bit
   Adder is used to allow Complemented or Un-
   Complemented B input to be connected to the Adder
   input.

      1. AND, NOR
      2. AND, NOT
      3. AND, OR
      4. XOR, NAND
 21.     The Synchronous SRAM also has a Burst feature
   which allows the Synchronous SRAM to read or write up
   to ________ location(s) using a single address.

     1. One
     2. Two
     3. Three
     4. Four
 22.    In NAND based S-R latch, output of each ________
   gate is connected to the input of the other ________
   gate.

     1. NOR, NAND
     2. NAND, NOR
     3. NOR, NOR
     4. NAND, NAND

0304-1659294                                              5

AL-JUNAID INSTITUTE OF GROUP
 23.    Implementing the Adjacent 1s detector circuit
   directly from the function table based on the SOP form
   requires ________ gates for the 8 product terms
   (minterms) with an 8-input OR gate.

     1. 8 OR
     2. 8 AND
     3. 8 XOR
     4. 8 NOR
 24.    8-bit parallel data can be converted into serial data
   by using ________ multiplexer.

     1. 4-to-2
     2. 8-to-1
     3. 4-to-4
     4. 8-to-4
 25.    The ________ input overrides the ________ input.

     1. Asynchronous, synchronous
     2. Synchronous, asynchronous
     3. Preset input (PRE), Clear input (CLR)
     4. Clear input (CLR), Preset input (PRE)
 26.    A SOP expression can be implemented by an
   ________ combination of gates.

     1. OR-XOR
     2. AND-NAND
     3. AND-OR
     4. XOR-NOR
 27.    The 64-cell array organized as 8 x 8 cell array is
   considered

     1. as an 64 byte memory
     2. as a 16 byte memory

0304-1659294                                                 6

AL-JUNAID INSTITUTE OF GROUP
     3. as an 8 byte memory
     4. as an 4 byte memory
 28.    The terminal count of a 4-bit binary counter in the
   UP mode is ________.

     1. 1100
     2. 0011
     3. 1111

More CS302 files

All CS302 files · Midterm Prep 2026 · MCQs Bank