CS201 Current Papers 2018 To 2020.pdf

Verified academic study resource for CS201 (Introduction to Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Mega Solved MCQs Question Bank) covers Full Course Curriculum spanning approximately 180 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
MCQ Bank
Coverage
Full Course Curriculum
Tags
CURRENT

Cross-verify solutions against official lecture handouts. Practice active recall before checking answers to ensure true concept retention.

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 CS201 Current Papers 2018 To 2020.pdf for free?

You can preview and download "CS201 Current Papers 2018 To 2020.pdf" (CS201 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-current-papers-2018-to-2020-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

                     For More Visit: VUStudents.pk
               CS201 Current Final Term Papers 2018 To 2020
                                                2020
                                             Paper 1
CS201 VU Current Final Term Papers Spring 2020
Cs201 at 11:00 am 5 to 7 mcqs from past papers of waqar Q1: difference between default and
parameterized constructors. Q2: use three variable to expose the dec, hex, and oct. Q3, write c++
programs with three variable salary, no. Of days and rate and salary account by the formula
Salary= no.days*rate Take out of no of days with the daily rate of 1000 per day. Q4: write c++
program with 2 variable 1- calculate rows and columns 2- calculate transpose of matrix Q5_
function of default function Q6_ if you agree prototype of ordinary function and special function
of a class are same. Justify with comment.
3 questions error find
2 questions output btane wale
2 programs
R 3 ese he short short question the Kn knse operator overload ni ho skte wo btayen Kese pta
chlega k new function se memory allocate hue h ya ni
Today paper cs201 17-02-20 30 to 40% From past papers of Moaaz And Waqar Bhatti
2 Question on Finding Errors in code
1 question was on incrementing Date through class
1 question from pointers i.e getting input from user and reverse the order through pointer
Write a program for array of 10 numbers using float data type and initialize the first 4 numbers at
1.0,2.0,3.0,4.0 (3 marks) We use Malloc or Calloc to allocate memory chuck, what should we
check against to know if the allocation of the memory chunk was successful or not. (3 Marks)
Why do we use delete to free memory? write the code to free memory in the following code
(Code consisted new operator but no delete operator to free it just had to enter that in the code)
(3 marks)
Suppose an object in Class A is made an object of Class B(don't exactly remember the wording)
For which class the constructor is called for first For which class the destructor is called for first
(3 marks)
Find mistakes in the given code, give reason for the mistakes and also write the correct code. (the
program was about Teacher ID and coding consisted of class and constructor) (5 Marks)
Suppose we want to write a Macro that swaps 2 numbers, what problems can we come across
and how do we avoid them? Give 5 affects (5 marks)

                     For More Visit: VUStudents.pk

                     For More Visit: VUStudents.pk
                                            Paper 2
CS201 current paper | 11-09-2020 | 11:00 AM
5 to 7 mcqs from past papers of waqar
Q1: difference between default and parameterized constructors.
Q2: use three variable to expose the dec, hex, and oct.
Q3, write c++ programs with three variable salary, no. Of days and rate and salary account by
the formula Salary= no.days*rate Take out of no of days with the daily rate of 1000 per day.
Q4: write c++ program with 2 variable 1- calculate rows and columns 2- calculate transpose of
matrix
Q5_ function of default function
Q6_ if you agree prototype of ordinary function and special function of a class are same. Justify
with comment.
3 questions error find
2 questions output btane wale
2 programs
R 3 ese he short short question the Kn knse operator overload ni ho skte wo btayen Kese pta
chlega k new function se memory allocate hue h ya ni

                                            Paper 3
CS201 current paper
Word wrap.
Border radius
Background origin
Padding
Jquery traversal methods were asked
Html4 and html5 character sets puchay thay..
Word-wrap
Jquery dimensions
Interval()
Abbreviations

                     For More Visit: VUStudents.pk

                     For More Visit: VUStudents.pk
Xslt, xpath, dom, html
Advantages of html namesapces

                                            Paper 4
CS201
Today
-Difference call by value and call by reference
-Date class array of 10 objects run a loop for display function
-Define 2 classes rectangle and square and declare a rectangle class as a friend class of square
3 tell output of the function
-If the scope of data members of class is not declared what will be explain with logic
-Output of a function declared to erase in calculate the vector of 2 arrays and tell the output
No questions from operator over loading, only mcqs, template McQ 5, 5 to 7 were from mids

                                            Paper 5
Cs201 Current Paper Spring 2019
mcqs past paperz main thy
short question
why program is evaluated?two techniques of evaluation?
write three type of systm software
and how system software control all the .....
2 progrms thy ....aik weight in kg convert it in pounds kuch
is trha ka
aur aik array wala tha
...bs yhi yad h..

                                            Paper 6
Paper Bohat Easy Tha .......Asaaan C Coding Thii .......Errors Puchay Thy Aur kuch ki
Outp
ut Show Karna thi....Handsout main jo programs diye hai examples unko b daikh
lena aik 5 number ka program aya tha un main sey

                     For More Visit: VUStudents.pk

                       For More Visit: VUStudents.pk
Mcqs sary past papers sey aye thy .......But agar handsout parhi ho kisi ney to sabhi
handsout main sey thy mcqs.....

                                             Paper 7
Cs201 paper
MCQS 18 thy,
almost past paper sy thy...2 Q. of 3 marks, 3 Q. of 5 marks ...write the functionality of
following function: strcpy & strncpy(3 marks) ... using
not operator write the output: true?
false?(3 marks)....write a program of 4 digits which gives the first and last digit:(5
marks)....code given tha error find krny thy:(5 marks)...program likhna tha:(5 marks)

                                               2019
                                             Paper 1
Objective Section bht easy ta,
Subjective bht ziada mushkil,
Subjective section mey agr kuch be nahe ata kesi ko, koi aur relative answer likh lein,
Likin khali mat chorhna,
[2/15, 11:08 AM] : Classes kay function likhnay thay.
Union ki output.
Matrix class ki output.
Pointers ki output .

                                             Paper 2
"CS201" paper: (15 Feb at 2:30pm)

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank