CS201Fall_2008_FinalTerm_OPKSTIntroductiontoProgramming_CS1.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 CS201Fall_2008_FinalTerm_OPKSTIntroductiontoProgramming_CS1.pdf for free?

You can preview and download "CS201Fall_2008_FinalTerm_OPKSTIntroductiontoProgramming_CS1.pdf" (CS201 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201fall-2008-finalterm-opkstintroductiontoprogramming-cs1-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

                           http://vustudents.ning.com

                          FINALTERM EXAMINATION
                                     Fall 2008
                        CS201- Introduction to Programming
                                                                Time: 120 min
                                                                   Marks: 75

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

There are mainly -------------------- types of software

    ► Two

    ► Three

    ► Four

    ► Five

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

seekg() and write() are functionally _________________ .

    ► Different

    ► Identical

    ► Two names of same function

    ► None of the above

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

When a pointer is incremented, it actually jumps the number of memory
addresses

                           http://vustudents.ning.com

                           http://vustudents.ning.com

    ► According to data type

    ► 1 byte exactly

    ► 1 bit exactly

    ► A pointer variable can not be incremented

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

setw is a parameterized manipulator.

    ► True

    ► False

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

eof( ), bad( ), good( ), clear( ) all are manipulators.

    ► True

    ► False

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

In functions that return reference, use __________variables.

    ► Local

    ► Global

    ► Global or static

                           http://vustudents.ning.com

                           http://vustudents.ning.com

    ► None of the given option

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

The declarator of Plus (+) member operator function is

    ► Class-Name operator + (Class-Name rhs)

    ► operator Class-Name + ( )

    ► operator Class-Name + ( rhs)

    ► Class-Name operator + ( )

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

The compiler does not provide a copy constructor if we do not provide it.

    ► True

    ► False

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

                           http://vustudents.ning.com

                            http://vustudents.ning.com

What is the functionality of the following syntax to delete an array of 5 objects named arr
allocated using new operator?
delete arr ;

    ► Deletes all the objects of array

    ► Deletes one object of array

    ► Do not delete any object

    ► Results into syntax error

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

What is the sequence of event(s) when allocating memory using new operator?

    ► 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

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

What is the sequence of event(s) when deallocating memory using delete operator?

    ► Only block of memory is deallocated for objects

                            http://vustudents.ning.com

                            http://vustudents.ning.com

    ► Only destructor is called for objects

    ► Memory is deallocated first before calling destructor

    ► Destructor is called first before deallocating memory

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

new and delete operators cannot be overloaded as member functions.

    ► True

    ► False

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

The operator function of << and >> operators are always the member function of a class.

    ► True

    ► False

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

A template function must have at least ---------- generic data type

    ► Zero

                            http://vustudents.ning.com

                           http://vustudents.ning.com

    ► One

    ► Two

    ► Three

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

If we do not mention any return_value_type with a function, it will return an _____
value.

    ► int

    ► void

    ► double

    ► float

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

Suppose a program contains an array declared as int arr[100]; what will be the size of
array?

    ►0

    ► 99

    ► 100

                           http://vustudents.ning.com

                            http://vustudents.ning.com

    ► 101

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

The name of an array represents address of first location of array element.

    ► True

    ► False

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

Reusing the variables in program helps to save the memory

    ► True

    ► False

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

Which of the following option is true about new operator to dynamically allocate
memory to an object?

    ► The new operator determines the size of an object

    ► Allocates memory to object and returns pointer of valid type

    ► Creates an object and calls the constructor to initialize the object

    ► All of the given options

                            http://vustudents.ning.com

                             http://vustudents.ning.com

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

new and delete are _____ whereas malloc and free are _____.

    ► Functions, operators

    ► Classes, operators

    ► Operators, functions

    ► Operators, classes

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

Like member functions, ______ can also access the private data members of a class.

    ► Non-member functions

    ► Friend functions

    ► Any function outside class

                             http://vustudents.ning.com

                            http://vustudents.ning.com

    ► None of the given options

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

Which of the following statement is best regarding declaration of friend function?

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank