CS302-mid-subjective.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
- Type
- Study Resource
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- SUBJECTIVE, 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
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- 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-subjective.pdf for free?
You can preview and download "CS302-mid-subjective.pdf" (CS302 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs302-mid-subjective-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
CS302- Digital Logic Design
Dec 07,2011
SUBJECTIVE SOLVED FROM MIDTERM PAPERS
MC100401285 MC100401285@gmail.com moaaz.pk@gmail.com PSMD01(IEMS)
MIDTERM EXAMINATION 2011 (October-November)
Q-21
Draw function table of a half adder circuit? (2)
Answer: - Page 135 Lec14
Q-22
What is difference b/w BCD to decimal decoder and binary 4-to-16 bit decoder? (2)
Answer: (Page 163) Lec17
The operation of the BCD-to-Decimal Decoder is the same as a Binary 4-to-16 decoder, the only difference
being that the BCD-to-Decimal Decoder has ten output pins instead of sixteen and the input is a valid BCD
number.
Q-23
Explain major use of decoder circuits? (3) Lec16
Answer: (Page 158)
Decoders have two major uses in Computer Systems.
1. Selection of Peripheral Devices
Computers have different internal and external devices like the Hard Disk, CD Drive, Modem, Printer etc. Each of these
different devices is selected by specifying different codes. A decoder similar to the Electronic Door Lock/Unlock circuit
is used to uniquely select or deselect the appropriate devices.
2. Instruction Decoder
Computer programs are based on instructions which are decode by the Computer Hardware and implemented.
These instruction codes are decoded by an Instruction Decoder to generate signals that control different logic
circuits like the ALU and memory to perform these operations.
Q-25
PALS comes in different configurations and are identified by a unique number, identify parts of this
number? (5)
Answer: (Page 186) Lec19
PALs come in different configurations they are identified by unique number. The numbers begin with the prefix PAL
followed by two digits that indicate the number of inputs followed by a letter L active-low, H active-high or P
programmable polarity followed by a single or two digits that indicate the number of outputs. In addition to the standard
number there may be suffixes which specify the speed, package type and temperature range
Q-26
One of the ABEL entry methods uses logic equation. Explain at least two examples? (5)
Answer: (Page 201) Lec20
ABEL however is case sensitive, thus variable „A‟ is treated separately from variable „a‟. All ABEL equations
must end with „;‟.
Examples:-
(a)
(b)
Solution
(a)X = A& !B & C # !A & !B & !C # A & B # !B & C;
(b)Y = (!A # B # !C #D) & (A # B # C);
MIDTERM EXAMINATION 2011 (October-November)
Q-21
Draw the function table of 2-to-4 decoder (2 marks)
Answer: (Page 158) Lec16
A 2-to-4 Decoder is represented by the function table.
Input Output
I1 I0 O0 O1 O2 O3
0 0 1 0 0 0
0 1 0 1 0 0
1 0 0 0 1 0
1 1 0 0 0 1
Function Table of a 2-to-4 Binary Decoder
Q-24
Explain BCD to Decimal Decoder (3marks)
Answer: (Page 163) Lec17
"The operation of the BCD-to-Decimal Decoder is the same as a Binary 4-to-16 decoder, the only difference
being that the BCD-to-Decimal Decoder has ten output pins instead of sixteen and the input is a valid BCD
number. Thus invalid BCD codes 1010, 1011, 1100, 1101, 1110 and 1111 applied at the input of the Decoder
do not activate any of the ten outputs."
Q-26
Explain 8-input Multiplexer with the help of circuit Diagram and Function Table. (5marks)
Answer: (Page 170) Lec18
Input Output
C B A F
0 0 0 1C0
0 0 1 1C1
0 1 0 1C2
0 1 1 1C3
1 0 0 2C0
1 0 1 2C1
1 1 0 2C2
1 1 1 2C3
MIDTERM EXAMINATION 2011 (October-November)
Q-21
What is meant by ABEL? (2 marks)
Answer: (Page 201) Lec20
ABEL which is an acronym for Advanced Boolean Expression Language is hardware description language used for
implementing logic designs using PLDs.
Q-22
Why preferable to use another method than 5-variable K-Map? (2 marks)
Answer: (Page 102) Lec11
Karnuagh map method becomes difficult to manage when numbers of variables exceed 4. In both the
Karnaugh maps, finding the redundant terms is not very obvious. The Quine-McCluskey approach of
simplifying Boolean expression is based on an exhaustive search where each minterm is compared with
every other minterm in order to remove single variables.
Q-24
Draw circuit diagram of 2-input of 8-bit multiplexer? (3 marks)
Answer: (Page 172) Lec18
Q-25
Uses of Demultiplexer? (5 marks)
Answer: (Page 178) Lec19
Demultiplexer is used to connect a single source to multiple destinations. One use of the Demultiplexer is at the
output of the ALU circuit. The output of the ALU has to be stored in one of the multiple registers or storage units. The
Data input of the Demultiplexer is connected to the output of the ALU. Each output of the Demultiplexer is connected to
each of the multiple registers. By selecting the appropriate output data from the ALU is routed to the appropriate
register for storage.
The second use of the Demultiplexer is the reconstruction of Parallel Data from the incoming serial data stream. Serial
data arrives at the Data input of the Demultiplexer at fixed time intervals. A counter attached to the Select inputs of theMore CS302 files
- CS-302 Digital Logic Design.pdf (PDF · Study Resource)
- CS302 - 1.pdf (PDF · Study Resource)
- CS302 - 2.pdf (PDF · Study Resource)
- CS302 - 3.pdf (PDF · Study Resource)
- CS302 - 4.pdf (PDF · Study Resource)
- CS302 - Lab Manual - Week No (1 - 3).pdf (PDF · Study Resource)
- CS302 - Lab Manual - Week No (1 - 3).pdf (PDF · Study Resource)
- CS302 - Lab Manual - Week No (1 - 3).pdf (PDF · Study Resource)