CS201 Quiz#3 6 July2023 FINALS by MISS MEHWISH (1).pdf

Verified academic study resource for CS201 (Introduction to Programming) 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
CS201 – Introduction to Programming
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 CS201, regardless of midterm scores.

What this file covers — CS201 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 CS201 Quiz#3 6 July2023 FINALS by MISS MEHWISH (1).pdf for free?

You can preview and download "CS201 Quiz#3 6 July2023 FINALS by MISS MEHWISH (1).pdf" (CS201 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-quiz-3-6-july2023-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 CS201 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 CS201 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 CS201 solved past papers and handouts verified for 2026 exams?

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

File by MAM MEHWISH 03184148783
Paid LMS HAndling Available

1. Sometimes after allocating memory, we need additional space. For this purpose, we use:

 a) void pointer

 b) reallocation function

 c) realloc function

 d) calloc function

 Correct option: c) realloc function

2. We cannot use ______________ pointer for storing and reading data from it.

 a) zero

 b) NULL

 c) integer

 d) double

 Correct option: b) NULL

3. What will be the output of the following C++ code?

 ```cpp

 #include <iostream>

 #define max 100

 int main()

 {

     #ifdef max

     std::cout << "Hello";

     #endif

File by MAM MEHWISH 03184148783
Paid LMS HAndling Available

File by MAM MEHWISH 03184148783
Paid LMS HAndling Available

       return 0;

 }

 ```

 a) "Hello"

 b) "Max is 100"

 c) Error

 d) Hello

 Correct option: a) "Hello"

4. For casting, we normally declare a pointer of type _____________.

 a) integer

 b) NULL

 c) void

 d) None of the given

 Correct option: c) void

5. What is the storage space of the double data type?

 a) 4

 b) 8

 c) 16

 d) 32

 Correct option: b) 8

6. Programmer should be very careful about the memory management because it can _____________.

File by MAM MEHWISH 03184148783
Paid LMS HAndling Available

File by MAM MEHWISH 03184148783
Paid LMS HAndling Available
 a) affect the logic of the program

 b) cause problems of memory leakage and dangling pointers

 c) return void pointers

 d) create problems of NULL pointers

 Correct option: b) cause problems of memory leakage and dangling pointers

7. Structures are syntactically defined with the word _____________.

 a) None of the given

 b) struc

 c) struct

 d) structure

 Correct option: c) struct

8. The `seekp()` function is used to determine the next position to write a character while writing into a
file.

 a) seekp()

 b) seekg()

 c) tellp()

 d) tellg()

 Correct option: c) tellp()

9. The heap memory structure ______________.

 a) remains constant

 b) contains no space

 c) is just like the stack

File by MAM MEHWISH 03184148783
Paid LMS HAndling Available

File by MAM MEHWISH 03184148783
Paid LMS HAndling Available
 d) constantly changes in size

 Correct option: d) constantly changes in size

10. RAID stands for _______________.

  a) Redundant Array of Inexpensive Devices

  b) Redundant Array of Inexperience Devices

  c) Redundant Array of Inexpensive Dices

  d) Reduced Array of Inexpensive Devices

  Correct option: a) Redundant Array of Inexpensive Devices

File by MAM MEHWISH 03184148783
Paid LMS HAndling Available

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank