CS201FinalTermPaperswww.weblyceum.com13 - Copy.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) 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)

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 CS201FinalTermPaperswww.weblyceum.com13 - Copy.pdf for free?

You can preview and download "CS201FinalTermPaperswww.weblyceum.com13 - Copy.pdf" (CS201 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201finaltermpaperswww-weblyceum-com13-copy-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

                        FINALTERM EXAMINATION
                                Spring 2009
                    CS201- Introduction to Programming
                              Solved by vuZs Solution Team
                         Fast Flyer < fastflyer2010@gmail.com>
                        Farhat Qudsia < farhat.shah@gmail.com>
                        Zubair Hussain < zubair256@gmail.com>
                                      www.vuzs.net/

                                                        et
Question No: 1( Marks: 1 ) - Please choose one
There are mainly -------------------- types of software
 ► Two

                          n
 ► Three
 ► Four
 ► Five

                       s.
Software is categorized into two main categories
System Software
Application Software

Question No: 2( Marks: 1 ) - Please choose one
                    uz
When x = 7; then the expression x%= 2; will calculate the value of x as,
 ►1
 ►3
 ►7
 ►2
         .v
www.vuzs.net/
\Question No: 3( Marks: 1 ) - Please choose one
 A pointer variable can be,
 ► Decremented only
w

 ► Incremented only
 ► Multiplied only
 ► Both 1 and 2
Question No: 4( Marks: 1 ) - Please choose one
w

setprecision is a parameter less manipulator.
 ► True
 ►False
Question No: 5( Marks: 1 ) - Please choose one
w

 We can change a Unary operator to Binary operator through operator
overloading.
 ►False
 ► True
Question No: 6( Marks: 1 ) - Please choose one
delete operator is used to return memory to free store which is allocated by
the new operator
 ► True
 ►False

The objects are created with the new operator on free store, they will not be
destroyed and memory will not be de-allocated unless we call delete operator to
destroy the objects and de-allocate memory.
Question No: 7( Marks: 1 ) - Please choose one
When we do dynamic memory allocation in the constructor of a class, then it is
necessary to provide a destructor.
 ► True
 ►False
whenever we have a class in which the constructor allocates dynamic memory, it

                                                       et
is necessary to provide a destructor that frees the memory.
Question No: 8( Marks: 1 ) - Please choose one
What is the functionality of the following statement?
String str[5] = {String(“Programming”), String(“CS201”)};

                          n
 ► Default constructor will call for all objects of array
 ► Parameterized constructor will call for all objects of array
 ► Parameterized constructor will call for first 2 objects and default

                       s.
constructor for remaining objects
 ► Default constructor will call for first 3 objects and Parameterized constructor
for remaining objects vuzs
www.vuzs.net/
                    uz
Question No: 9( Marks: 1 ) - Please choose one

What is the sequence of event(s) when allocating memory using new operator?
          .v
 ► Only block of memory is allocated for objects
 ► Only constructor is called for objects
 ► Memory is allocated first before calling constructor
 ► Constructor is called first before allocating memory
w

·
If a single object is allocated, operator new is called to allocate memory, and
then the constructor is called to initialize the object.
·                If an array of objects is allocated, operator new[] is called to
w

allocate memory for the whole array, and then the constructor is called for each
element of the array.
·                When a single object is deleted, the destructor for the object is
w

called first, and then operator delete is called to free the memory occupied by
the object.
·                When an array of objects is deleted, the destructor for each
element of the array object is called first, and then operator delete[] is called to
free the memory occupied by the array.

Question No: 10( Marks: 1 ) - Please choose one
Deleting an array of objects without specifying [] brackets may lead to memory
leak
 ► True

 ►False
Question No: 11( Marks: 1 ) - Please choose one
Which of the following data type will be assumed if no data type is specified with
constant?
 ► short
 ► float
 ► int
 ► double
www.vuzs.net/

                                                     et
Question No: 12( Marks: 1 ) - Please choose one

                          n
There is an array of characters having name ‘course’ that has to be initialized by
string ‘programming’ which of the following is the correct way to do this,
i. course[] = {‘p’, ’r’, ’o’, ’g’, ’r’, ’a’, ’m’, ’m’, ’i’, ’n’, ’g’};

                       s.
ii.course[] = ‘programming’ ;
iii. course[12] = “programming” ;
iv. course = “programming” ;
Choose the correct options.
                    uz
 ► (i) and (ii) only
 ► (i) and (iv) only
 ► (i) and (iii) only
 ► (ii) and (iii) only
          .v
Question No: 13( Marks: 1 ) - Please choose one
w

What will be the correct syntax of the following statement?
ptr is a constant pointer to integer.
 ► const int *ptr ;
 ► const *int ptr ;
w

 ► int const *ptr ;
 ► int *const ptr ;
The keyword const for pointers can appear before the type, after the type, or in
both places. The following are legal declarations:
w

const int * ptr1;     /* A pointer to a constant integer:
                     the value pointed to cannot be changed */
int * const ptr2;     /* A constant pointer to integer:
                     the integer can be changed, but ptr2
                     cannot point to anything else        */
const int * const ptr3; /* A constant pointer to a constant integer:
                     neither the value pointed to
                     nor the pointer itself can be changed */

Declaring an object to be const means that the this pointer is a pointer to
a const object. A const this pointer can by used only with const member
functions vuzs.net

Question No: 14( Marks: 1 ) - Please choose one

                                                      et
Overloaded member operator function is always called by _______
 ► Class
 ► Object
 ► Compiler
 ► Primitive data type

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank