CS302P File 2 Quiz#10 18July23 FINALS by MISS MEHWISH-1.pdf

Verified academic study resource for CS302 (Digital Logic Design) under the Computer Science at Virtual University of Pakistan. This PDF document (Final-Term Solved Past Paper & Examination Pack compiled by Miss Mehwish) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 320 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
Final-Term
Coverage
Final-Term Exam Scope (Lectures 23 to 45)
Compiled by
Miss Mehwish
Tags
FINALTERM

Virtual University regulations strictly require achieving at least 20% marks in the Final-Term exam paper alone (typically 12+ marks out of 60) to pass CS302, regardless of midterm scores.

What this file covers — CS302 syllabus roadmap

  1. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  2. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  3. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  4. 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 File 2 Quiz#10 18July23 FINALS by MISS MEHWISH-1.pdf for free?

You can preview and download "CS302P File 2 Quiz#10 18July23 FINALS by MISS MEHWISH-1.pdf" (CS302 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs302p-file-2-quiz-10-18july23-finals-by-miss-mehwish-1-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 Final-Term Exam Scope (Lectures 23 to 45) across 4 distinct lecture units (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

We also provide Past papers for Mids. and Finals
Cross Check your answers befo re submitting directly from the file. We are not
responsible for 100% correction as human error exists

MCQ 1:
Question: REVOKE is a ______________ statement.

Options:
A) Control
B) Access
C) Data Definition
D) Data description

E) Data manipulation
Correct option: E) Data manipulation

MCQ 2:
Question: Truncate command response time is ______ as compared to Delete command.

Options:
A) Poor
B) Worst
C) Better
D) Same

Correct option: C) Better

MCQ 3:
Question: Which of the following is used with INSERT command to insert values in a DB table?
Options:
A) ONTO

B) WITH
C) UPTO
D) INTO
Correct option: D) INTO

MCQ 4:
Question: Which of the following is correct syntax to create a table named Class with three
attributes class_ID, start_time, Room?
Options:
A) CREATE Class COLUMN (Class_ID varchar(5), Start_time datetime, Room varchar(10))
B) CREATE TBALE class COLUMN (Class_ID varchar(5), Start_time datetime, Room varchar(10))
C) CREATE class (Class_ID varchar (5), Start_time datetime, Room varchar(10))
Correct option: A) CREATE Class COLUMN (Class_ID varchar(5), Start_time datetime, Room
varchar(10))

MCQ 5:
Question: SQL is used for:
Options:
A) All of the above

B) Generating queries, organizing, managing, and retrieving data stored in a database.

C) Creating, managing, and deleting tables and managing the relationships among the stored
data.
D) Maintaining data integrity and coordinating data sharing.
Correct option: A) All of the above

MCQ 6:

Question: The ________ operator allows using wildcards in the WHERE clause of an SQL
statement.

Options:
A) FROM
B) LIKE
C) None of the above
D) IN

Correct option: B) LIKE

MCQ 7:
Question: Truncate is an alternative to the Delete command.
Options:

A) True
B) False
Correct option: A) True

MCQ 8:

Question: Which of the following is the Correct SQL statement for creating a table in Microsoft
SQL Server?
Options:
A) CREATE TABLE Customer (SID integer PRIMARY KEY, Last_Name varchar(30), First_Name
varchar(30));
B) CREATE Customer (SID integer, Last_Name varchar(30), First_Name varchar(30));
C) CREATE TABLE Customer (SID integer, Last_Name varchar(30), First_Name varchar(30))
Correct option: A) CREATE TABLE Customer (SID integer PRIMARY KEY, Last_Name varchar(30),
First_Name varchar(30));

MCQ 9:
Question: An effective user interface minimizes the ___________ users require to learn and
implement the system.
Options:
A) Time
B) Space

C) Space complexity
Correct option: A) Time

MCQ 10:
Question: A full adder circuit takes ______________ bit(s) as input and returns ____________
bit(s) as output.
Options:

A) 2, 2
B) 3, 3

C) 2, 3
D) 1, 2
Correct option: C) 2, 3

MCQ 11:
Question: Ripple counters are also called ____________
Options:
A) VLSI counters
B) Asynchronous counters

C) Synchronous counters
Correct option: B) Asynchronous counters

MCQ 12:
Question: A decimal counter has ______ states.

Options:
A) 10
B) 2
C) 7
D) 9

Correct option: A) 10

MCQ 13:
Question: A half adder can be built by using the combination of ________________ and
________________ gates.

Options:
A) AND, OR
B) AND, XOR
C) AND, XOR

D) OR, XOR
Correct option: C) AND, XOR

MCQ 14:
Question: Which of the following is an invalid BCD code?

Options:
A) 1001
B) 1001
C) 0011
D) 10111

Correct option: D) 10111

MCQ 15:
Question: In a full adder circuit having inputs A = 1, B = 1, Cin = 0, the outputs S and Cout will be
_______________.
Options:
A) S = 0, Cout = 1

B) S = 1, Cout = 1
C) S = 1, Cout = 0
D) S = 0, Cout = 0

Correct option: A) S = 0, Cout = 1

MCQ 16:
Question: Why do we use Gray Code?

Options:
A) Error Detection
B) Error Correction
C) Invert the code
D) To count the number of bit changes

Correct option: D) To count the number of bit changes

MCQ 17:
Question: Total number of inputs in a half adder is __________.
Options:

A) 12
B) 3
C) 4
Correct option: B) 2

More CS302 files

All CS302 files · Midterm Prep 2026 · MCQs Bank