CS302P SAMPLE PAPER 2023.pdf

Verified academic study resource for CS302 (Digital Logic Design) under the Computer Science at Virtual University of Pakistan. This PDF document (Mega Solved MCQs Question Bank) covers Full Course Curriculum spanning approximately 180 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
PDF
Type
MCQ Bank
Coverage
Full Course Curriculum

Cross-verify solutions against official lecture handouts. Practice active recall before checking answers to ensure true concept retention.

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 CS302P SAMPLE PAPER 2023.pdf for free?

You can preview and download "CS302P SAMPLE PAPER 2023.pdf" (CS302 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs302p-sample-paper-2023-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 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 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

                                 Sample Paper
                        FINALTERM EXAMINATION
                                    Fall 2022
                     CS302P – Digital Logic Design (Practical)

                                                                      Time: 90 min
                                                                         Marks: 40

                                  MCQ Part

Question No: 1           (Marks: 01) - Please choose the correct option

Generally, for checking the result in a single bit, we use _________ indicator.

A. Logic Converter
B. Logic Tester
C. Probe
D. 7-sagment Display

Question No: 2           (Marks: 01) - Please choose the correct option

We can simplify a logic circuit using ____________ device in Electronic Workbench.

A. Truth Table
B. Boolean Algebra
C. Circuit Minimizer
D. Logic Converter

Question No: 3           (Marks: 01) - Please choose the correct option

If Z = (A+B'+C)' then Z will be logic high only if ___________.

A. A = 1, B = 1, C = 1
B. A = 0, B = 0, C = 0
C. A = 0, B = 1, C = 0
D. A = 0, B = 0, C = 1

Question No: 4           (Marks: 01) - Please choose the correct option

A logic circuit having N inputs, can have ____________ different input
combinations.

A. N x N
B. 2 x N
C. N+2

D. 2^N

Question No: 5         (Marks: 01) - Please choose the correct option

In a 4-bit odd counter, if the current state is 0001 then the next state will be
______________.

A. 0010
B. 0000
C. 0011
D. 1100

Question No: 6         (Marks: 01) - Please choose the correct option

The 4-bit grey code for the binary 1001 will be _______________.
A. 1100
B. 0011
C. 1111
D. 1101

Question No: 7         (Marks: 01) - Please choose the correct option

What will be boolean expression for the function F(A, B, C) = Π(0, 1, 3, 7)
A. (A+B+C)(A+B+C’)(A+B’+C’)(A’+B’+C’)
B. (A+B’+C)(A+B+C’)(A’+B’+C)(A+B+C)
C. (A’+B’+C)(A’+B+C’)(A’+B+C)(A’+B’+C’)
D. (A’+B+C)(A+B’+C)(A+B+C’)(A’+B’+C’)

Question No: 8         (Marks: 01) - Please choose the correct option

Which of the following is the correct maxterm ID for the term x+y’+z?

A. M2
B. M5
C. m2
D. m5

Question No: 9         (Marks: 01) - Please choose the correct option

Which of the following gates is used to get the sum output of the full adder
circuit?

A. AND
B. OR
C. NOR
D. XOR

Question No: 10        (Marks: 01) - Please choose the correct option

To build an XOR gate using basic gates only, _____________ gates can be used?

A. 4 NAND
B. 2 NAND
C. 2 NOR
D. 4 NOR

Question No: 11        (Marks: 01) - Please choose the correct option

Which of the following is correct expression for carry output in a half-adder
circuit?
A. A XOR B
B. A NOR B
C. A AND B
D. A NAND B

Question No: 12        (Marks: 01) - Please choose the correct option

Consider the given circuit, what value will be displayed on 7-segment display
when the simulation is activated?

A. 3
B. 12
C. d
D. 6

Question No: 13        (Marks: 01) - Please choose the correct option

When using full adders to build a 4-bit parallel subtractor circuit, the carry
input of which of the full adders is always set to 1?

A. Full adder corresponding to least significant bit

B. Full adder corresponding to most significant bit
C. All 4 full adders are set to 1
D. None of the full adders are set to 1

Question No: 14         (Marks: 01) - Please choose the correct option

Which of the following is not a type of combinational circuit?

A. Multiplexer
B. Demultiplexer
C. Counter
D. Full Adder

Question No: 15         (Marks: 01) - Please choose the correct option

Which of the following is not a type of sequential circuit?

A. Counter
B. Register
C. Flip-flop
D. Full Adder

Question No: 16         (Marks: 01) - Please choose the correct option

In a 74151, 1-of-8 Data Sel/Mux, which of the following pins is used as strobe
signal?

A. Y
B. W
C. G’
D. GND

Question No: 17         (Marks: 01) - Please choose the correct option

In a 1-of-8 decoder, what will be the value of output Y when strobe pin is set to
logic high?

A. Y=0
B. Y=W
C. Y=1
D. Y=D0

Question No: 18         (Marks: 01) - Please choose the correct option

In 2-to-4 Line Decoder, which decoder output will be set to 1 for the binary
inputs A = 1 and B = 0?

A. D0
B. D1
C. D2
D. D3

Question No: 19        (Marks: 01) - Please choose the correct option

What will be boolean expression corresponding to below given decoder circuit?

A. AB+AB’+A’B
B. AB+A’B’C+A’B
C. AB’+AB+A’B’C
D. AB+A’B’+ABC

Question No: 20        (Marks: 01) - Please choose the correct option

For which of the following input combination of ground lines of 74138 decoder,
all the decoder outputs are set to 1?

A. G2A’ = X, G2B’ = 1, G1 = X
B. G2A’ = X, G2B’ = X, G1 = X
C. G2A’ = 1, G2B’ = 1, G1 = X
D. G2A’ = X, G2B’ = X, G1 = X

Question No: 21        (Marks: 01) - Please choose the correct option

For which of the following combinations of ground input lines, all the output
lines of 74138 decoder correspond to stored address 0?

A. G2A’ = X, G2B’ = 1, G1 = X
B. G2A’ = X, G2B’ = X, G1 = X
C. G2A’ = 1, G2B’ = 0, G1 = 1
D. G2A’ = X, G2B’ = X, G1 = X

Question No: 22        (Marks: 01) - Please choose the correct option

To create a binary to gray code converter circuit by using the logic gates only,
which of the following gates is used?

A. AND
B. OR
C. NAND
D. XOR

Question No: 23        (Marks: 01) - Please choose the correct option

Consider the below given K-Map. The simplified expression corresponding to
this K-map will be _____________?

A. W Y’ Z + W ‘Y’ Z
B. W XY’ + W’ Y’Z
C. W Y’ Z’ + W Y’ Z
D. W Y Z’ + WYZ

Question No: 24        (Marks: 01) - Please choose the correct option

Which of the examples below expresses the commutative law of multiplication?

A. A + B = B + A
B. A • B = B + A
C. A • (B • C) = (A • B) • C
D. A • B = B • A

                               Descriptive Part

Question No: 25        (Marks: 05)

Consider the below given truth table corresponding to 3-input boolean function.

More CS302 files

All CS302 files · Midterm Prep 2026 · MCQs Bank