CS201Mega-File.pdf

Verified academic study resource for CS201 (Introduction to Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Verified Study Resource) covers Full Course Curriculum spanning approximately 280 pages across 8 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
Study Resource
Coverage
Full Course Curriculum

Review this document alongside the official handouts and test your retention in the Interactive MCQs Studio.

What this file covers — CS201 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. 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 CS201Mega-File.pdf for free?

You can preview and download "CS201Mega-File.pdf" (CS201 PDF, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201mega-file-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 Full Course Curriculum across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, 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

                              Created 2010/9 Final ….
                         ASSALAM O ALIKUM all fellows
          ALL IN ONE CS201 Final term PAPERS & MCQz
                              SOLVED BY Farhan & Ali
                                       BS (cs) 2nd sem
                                        Hackers Group
                                       Mandi Bahauddin
                          Remember us in your prayers
                           Mindhacker124@gmail.com
                           Hearthacker124@gmail.com
Question No: 1         ( Marks: 1 ) - Please choose one

&& is -------------------- operator.

    ► An arithmetic

    ► Logical

    ► Relational

    ► Unary

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

Which of the following function(s) is/are included in ctype.h header file?

    ► isdigit(int c)

    ► isxdigit(int c )

   ► tolower(int c)

   ► All of the above

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

Disks are _______________ devices having access time of _________ milliseconds.

   ► Electro-physical, 6

   ► Electro-Mechanical, 4

   ► Electro-physical, 5

   ► Electro-Mechanical, 7

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

All preprocessor directives are started with the symbol______.

   ►*

   ► ++

   ►@

   ►#

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

When we use manipulators in our program then which header file should be included?

   ► iostream.h

   ► stdlib.h

   ► stdio.h

   ► iomanip.h

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

setprecision is a parameter less manipulator.

    ► True

    ► False

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

Which of the following is NOT a preprocessor directive?

    ► #error

    ► #define

    ► #line

    ► #ndefine

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

We can do arithmetic with references like pointers.

    ► True

    ► False

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

What does (*this) represents?

    ► The current function of the class

    ► The current pointer of the class

    ► The current object of the class

    ► A value of the data member

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

Friend function of a class is ______________ .

    ► Member function

    ► Non-member function

    ► Private function

    ► Public function

Question No: 11       ( Marks: 1 ) - Please choose one
A function can declare itself a friend of a class.

    ► True

    ► False

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

Overloaded delete operator function takes the same parameter as an argument returned by new
operator function.

    ► True

    ► False

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

The second parameter of operator functions for << and >> are objects of the class for which we
are overloading these operators.

    ► True

    ► False

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

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

    ► Zero

    ► One

    ► Two

    ► Three

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

A template function must have only generic data types.

    ► True

    ► False

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

We can not make a member function of a class as template function.

    ► True

    ► False

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

Which character is inserted at the end of string to indicate the end of string?

    ► new line

    ► tab

    ► null

    ► carriage return

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

Assignment operator is used for ___________.

    ► calculation

    ► reading

    ► assigning value to variables

    ► None of the given options.

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

The object _______________may be used both for file input and file output

    ► fstream,

    ► ifstream,

    ► ofstream,

    ► none of the given options.

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

Which of the following function calling mechanism is true for the function prototype given
below?

float func(float &);

    ► Call by value

    ► Call by reference using pointer

    ► Call by reference using reference variable

    ► None of the given options

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

The programs, in which we allocate static memory, run essentially on ________

    ► Heap

    ► System Cache

    ► None of the given options

    ► Stack

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

Overloaded delete operator function takes parameter of void pointer and returns ________.

    ► void

    ► void pointer

    ► pointer to an object

    ► pointer of type int

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

What should be the return type of the constructor?

    ► void pointer

    ► int

    ► same as object type

    ► constructors do not return any thing

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

It is a way of reusing the code when we contain objects of our already written classes into a new
class,

    ► True

    ► False

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

Templates are not type safe.

    ► true

    ► false

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

The functions used for dynamic memory allocation return pointer of type ______

    ► int

    ► float

    ► void

    ► double

Question No: 27      ( Marks: 2 )

Write a declaration statement for an array of 10 elements of type float. Include an initialization
statement of the first four elements to 1.0, 2.0, 3.0 and 4.0.

Answer:

float floatArry[10] = {1.0,2.0,3.0,4.0};

Question No: 28      ( Marks: 2 )

Write the general syntax for the declaration of pre-increment and post-increment member
operator function.

Classname operator ++(); ---- pre increment

Classname operator ++(int) ---- post increment

Question No: 29      ( Marks: 2 )

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank