CS101 all solved MCQs final-1.pdf

Verified academic study resource for CS101 (Introduction to Computing) 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
CS101 – Introduction to Computing
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 CS101, regardless of midterm scores.

What this file covers — CS101 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 CS101 all solved MCQs final-1.pdf for free?

You can preview and download "CS101 all solved MCQs final-1.pdf" (CS101 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs101-all-solved-mcqs-final-1-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS101 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 CS101 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 CS101 solved past papers and handouts verified for 2026 exams?

Yes. All CS101 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

CS101 All Past Papers Subjective Solved Questions
By WAJID MALIK WAJID4ME@GMAIL.COM
Question No: 27 ( Marks: 2 ) What is Deterministic Algorithm? Deterministic
Algorithm (1) An algorithm whose behavior can be completely predicted from the inputs
That is, each time a certain set of input is presented, the algorithm gives the same results as
any other time the set of input is presented. Greedy Algorithm An algorithm that always
takes the best immediate, or local solution while finding an Answer Greedy algorithms may
find the overall or globally optimal solution for some optimization problems, but may find
less-than-optimal solutions for some instances of other problems KEY ADVANTAGE:
Greedy algorithms are usually faster, since they don't consider the details of possible
alternatives Greedy Algorithm: Counter Example During one of the international
cricket tournaments, one of the teams intentionally lost a match, so that they could qualify
for the next round If they had won that particular match, some other team would have
qualified This is an example of a non-greedy algorithm Greedy Algorithm: Example A
skier skiing downhill on a mountain wants to get to the bottom as quickly as possible What
sort of an algorithm should the skier be using? The greedy-algorithm approach will be to
always have the skies pointed towards the largest downhill slope (dy/dx), at all times What
is the problem with that approach? In what situations that will be the best algorithm? In
which situations would it perform poorly? 16.7 Deterministic Algorithm (1) An
algorithm whose behavior can be completely predicted from the inputs That is, each time a
certain set of input is presented, the algorithm gives the same results as any other time the
set of input is presented. 16.8 Randomized Algorithm (1) Any algorithm whose
behavior is not only determined by the input, but also values produced by a random number
generator These algorithms are often simpler and more efficient than deterministic
algorithms for the same problem Simpler algorithms have the advantages of being easier to
analyze and implement. 16.9 Randomized Algorithm (2) These algorithm work for all
practical purposes but have a theoretical chance of being wrong: Either in the form of
incorrect results Or in the form of impractically long running time Example: Monte Carlo
algorithms. 16.10 Deterministic Algorithm (2) There can be degrees of deterministic
behavior: an algorithm that also uses a random number generator might not be considered
deterministic However, if the "random numbers" come from a pseudo-random number
generator, the behavior may be deterministic Most computing environments offer a “pseudo
random number generators,” therefore, most randomized algorithms, in practice, behave
deterministically! Question No: 28 ( Marks: 2 ) What is internet? Internet Enables
users located at far-way locations to easily share information with others located all over the
world Enables users to easily and inexpensively communicate with others located all over
the world Enables the users to operate and run programs on computers located all over the
world The Internet is unlike any previous human invention. It is a world-wide resource
accessible to all of the humankind. Question No: 29 ( Marks: 2 ) In JavaScript, what is
event handling? What are the two types of events? Special-purpose functions that come
predefined with JavaScript They are unusual in the sense that they are mostly called from
the HTML part of a Web page and not the <SCRIPT> … </SCRIPT> part What is Event
Handling? Capturing events and responding to them The system sends events to the
program and the program responds to them as they arrive Events can include things a user
does - like clicking the mouse - or things that the system itself does - like updating the clock.
Today we will exclusively focus on user-events onFocus & onBlur Question No: 30 (
Marks: 2 ) What is the error in the following JavaScript statement? student=new

array(10); Question No: 31 ( Marks: 3 ) Briefly mention any three problems in old
modes of presentation development 1. Difficult to present 2. Difficult o modify prepared
presentation 3. No electronically sharing at all 4. Multimedia files were not included
Question No: 32 ( Marks: 3 ) Differentiate between onFocus and onBlur. onFocus &
onBlur: onFocus executes the specified JavaScript code when a window receives focus or
when a form element receives input focus onBlur executes the specified JavaScript code
when a window loses focus or a form element loses focus Question No: 33 ( Marks: 3 )
How many types of errors can be found during a program developement? List them.
Question No: 34 ( Marks: 5 ) any five issues of Data Management. Issues in Data
Management: Data entry Data updates Data integrity Data security Data accessibility
Data Entry: New titles are added every day New customers are being added every day
Some of the above may require manual entry of new data into the computer systems That
new data needs to be added accurately That can be achieved, for one, by user-interfaces that
prevent the input of invalid data Data Updates : Old titles are deleted on a regular basis
Inventory changes every instant Book prices change Shipping costs change Customers’
personal data change Various discount schemes are always commencing and concluding All
those actions require updates to existing data Those changes need to be entered accurately
That can also be achieved by user-interfaces that prevent the input of invalid data Data
Security : All the data that BholiBooks has in its computer systems is quite critical to its
operation The security of the customers’ personal data is of utmost importance. Hackers are
always looking for that type of data, especially for credit card numbers Enough leaks of that
type, and customers will stop doing business with BholiBooks access to authorized
persons/computers only Security can also be improved through: Encryption Private or
virtual-private networks Firewalls Intrusion detectors Virus detectors Data Integrity:

More CS101 files

All CS101 files · Midterm Prep 2026 · MCQs Bank