CS201-Final-term-Solved-MCQs-with-Reference.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)
Tags
MCQ, SOLVED, 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-Final-term-Solved-MCQs-with-Reference.pdf for free?

You can preview and download "CS201-Final-term-Solved-MCQs-with-Reference.pdf" (CS201 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-final-term-solved-mcqs-with-reference-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://vujannat.ning.com
                    Best Website To Help VUStudents
                        CS201 Latest Solved MCQs

Quiz Start Time: 09:34 PM    Time Left     82
sec(s)

Question # 1 of 10 ( Start time: 09:34:54 PM )    Total Marks: 1
While developing a program; should we think about the user interface? //handouts main
reusability hay..us ki yahan option hi nahi hay
 Select correct option:

Yes

No

Quiz Start Time: 09:34 PM    Time Left     75
sec(s)

Question # 2 of 10 ( Start time: 09:35:20 PM )   Total Marks: 1
A character is stored in the memory in _________
Select correct option:

byte

integer

string

None of the given

                                                                                        1
                    http://vujannat.ning.com
                    Best Website To Help VUStudents

                    http://vujannat.ning.com
                    Best Website To Help VUStudents
                        CS201 Latest Solved MCQs

Quiz Start Time: 09:34 PM

Question # 3 of 10 ( Start time: 09:36:21 PM )      Total Marks: 1
These functions seekg() and seekp() requires an argument of type ____________to let
them how many bytes to move forward or backward.
 Select correct option:

int

short

long

double

Quiz Start Time: 09:34 PM    Time Left     85
sec(s)

Question # 4 of 10 ( Start time: 09:37:30 PM )     Total Marks: 1
dereferencing operator is represented by _______
Select correct option:

*

+

–

None of the given

                                                                                      2
                    http://vujannat.ning.com
                    Best Website To Help VUStudents

                   http://vujannat.ning.com
                   Best Website To Help VUStudents
                       CS201 Latest Solved MCQs

Quiz Start Time: 09:34 PM    Time Left     86
sec(s)

Question # 5 of 10 ( Start time: 09:38:55 PM )   Total Marks: 1
______________ transfers the executable code from main memory to hard disk.

Select correct option:

Loader

Debugger

Compiler

Linker

Quiz Start Time: 09:34 PM    Time Left     85
sec(s)

Question # 6 of 10 ( Start time: 09:40:21 PM )    Total Marks: 1
When the logical operator OR (||) combine two expressions exp1 and exp2 then the result
will be false only, //bitwise “or” applies here….
Select correct option:

When both exp1 and exp2 are true

When both exp1 and exp2 are false

When exp1 is true and exp2 is false

When exp1 is false and exp2 is true

                                                                                      3
                   http://vujannat.ning.com
                   Best Website To Help VUStudents

                   http://vujannat.ning.com
                   Best Website To Help VUStudents
                       CS201 Latest Solved MCQs

Quiz Start Time: 09:34 PM     Time Left      79
sec(s)

Question # 7 of 10 ( Start time: 09:41:43 PM )     Total Marks: 1
suppose we have int y[10]; To access the 4th element of the array we write_________
 Select correct option:

y[4];

y[3];

y[2];

none of given

Quiz Start Time: 09:34 PM     Time Left      82
sec(s)

Question # 8 of 10 ( Start time: 09:43:10 PM )          Total Marks: 1
we have opened a file stream myfile for reading (getting), myfile.tellg () gives us the
current get position of the file pointer. It returns a whole number of type___________
 Select correct option:

long

int

short

double

                                                                                          4
                   http://vujannat.ning.com
                   Best Website To Help VUStudents

                     http://vujannat.ning.com
                     Best Website To Help VUStudents
                         CS201 Latest Solved MCQs

Quiz Start Time: 09:34 PM      Time Left    80
sec(s)

Question # 9 of 10 ( Start time: 09:44:42 PM )    Total Marks: 1
ofstream is used for________
Select correct option:

Input file stream

Output file stream

Input and output file stream

All of the given

Quiz Start Time: 09:34 PM      Time Left    80
sec(s)
 http://vustudents.ning.com

Question # 10 of 10 ( Start time: 09:46:11 PM )    Total Marks: 1
A structure is a collection of _____________under a single name.
Select correct option:

values

variables

data

None of the given

                                                                    5
                     http://vujannat.ning.com
                     Best Website To Help VUStudents

                   http://vujannat.ning.com
                   Best Website To Help VUStudents
                       CS201 Latest Solved MCQs

Question No: 1 ( Marks: 1 ) - Please choose one
In C/C++ the string constant is enclosed ……………. corrected r red one
► In curly braces
    ► In small braces
    ► In single quotes
    ► In double quotes

Question No: 2 ( Marks: 1 )     - Please choose one
The size of int data type is
   ► 1 bytes
   ► 2 bytes
   ► 3 bytes
   ► 4 bytes

Question No: 3 ( Marks: 1 ) - Please choose one
In Flow chart process is represented by

    ► Rectangle
    ► Arrow symbol
    ► Oval
    ► Circle

Question No: 4 ( Marks: 1 ) - Please choose one
 If the break statement is missed in switch statement then,// a break statement with no
label always completes abruptly, the reason being a break with no label. If no switch,
while, do, or for statement in the immediately enclosing method, constructor or
initializer encloses the break statement, a compile-time error occurs.

    ► The compiler will give error
    ► This may cause a logical error
    ► No effect on program
    ► Program stops its execution

Question No: 5 ( Marks: 1 ) - Please choose one
 When we are using const keyword with a variable x then initializing it at the time of
declaration is,

    ► Must
    ► Optional
    ► Not necessary
    ► A syntax error

                                                                                          6
                   http://vujannat.ning.com
                   Best Website To Help VUStudents

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank