masoom khan cs201 nots.docx

Verified academic study resource for CS201 (Introduction to Programming) under the Computer Science at Virtual University of Pakistan. This DOC 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
DOC
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 masoom khan cs201 nots.docx for free?

You can preview and download "masoom khan cs201 nots.docx" (CS201 DOC, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/masoom-khan-cs201-nots-docx) 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

#includes:

The #include directive instructs the preprocessor to read and include a file into a source code file. The file

name is typically enclosed with < and > if the file is a system provided file, or in quotes if the file is user

provided.

Abstract class:

A class that can only be used as a base class for some other class. A class is abstract if it has at least

one pure virtual function.

Aggregate:

An array or object of a class with no constructors, no private or protected members, no base classes, and

no virtual functions. Also see initializer and initialization.

Alias:

those objects is a temporary variable.

Allocation:

The process of giving memory space to an object. Also see dynamic storage, static storage, and

deallocation

Argument:

When calling a function, refers to the actual values passed to the function. Also see parameter.

Array:

An ordered and indexable sequence of values. C++ supports arrays of a single dimension (a vector) or of

multiple dimensions.

Assignment:

The process of giving a value to a pre-existing object. Also see copy constructor and initialization.

Base class:

A class that serves as a base for a derived class to inherit members from. Also see inheritance.

Bit:

A bit is the smallest unit of memory that can be manipulated. It has a binary or boolean value of 0 or 1.

Within memory bits are combined to form bytes and words. Depending on its type, a variable in a program

is stored in some number of bytes.

Bool:

C++ keyword used to declare a Boolean data type.

Break:

C++ keyword used to specify a statement that is used to break out of a for or while loop or out of a switch

statement.

Byte:

A byte is a grouping of eight bits which a computer typically groups as one logical unit. It is usually the

smallest addressable unit of memory.

h

Defining an alias for a structure or built-in type allows use of the alias as if it were a new type. In C, the

keyword is typedef. It's a bad idea to alias (have two objects pointing to the same data) unless one of
Call by reference:

Passing a pointer to an argument to a function. The function can then change the argument value. Also

see call by value.

Call by value:

Passing a copy of an argument to a function. The function cannot then change the argument value. C and

C++ use call by value argument passing. But also see pointer and reference, also see call by reference.

Case:

A C++ keyword used to denote an individual element of a switch statement.

Char:

A C++ keyword used to declare an object of character type. Often considered the same as a byte, though

it is possible to have multi-byte characters.

cin:

In C++ stream I/O, the standard input stream.

Class:

A C++ keyword used to declare the fundamental building block of C++ programs. A class has a tag,

members, access control mechanisms, and so on.

Class layout:

The way in which data class members are arranged in a class object

Class member:

A constituent member of a class, such as a data declaration, a function, or a nested class.

Class template:

A template used for generating class types.

Comments:

C++ has C-style comments delimited with /* and */, and new C++-style line-oriented comments starting

with //.

Compiler:

A software tool that converts a language such as C++ into a different form, typically assembly language.

Const:

A C++ keyword used to declare an object as constant or used to declare a constant parameter.

Constructor:

A function called when a class object comes into scope. The constructor is used to initialize the object.

See allocation, copy constructor, and destructor.

Continue:

C++ keyword used with for and while statements to continue the iteration at the top of the loop.

Copy constructor:

A special type of constructor that is called when an object is copied.
cout:

In C++ stream I/O, the standard output stream.

Data structure:

The term data structure refers to the way data is organized for use within a program. Correct organization

of data can lead to simpler and more efficient algorithms. Common data structures are linked-lists, stacks,

queues and trees.

Debugger:

A tool for stepping through the execution of a program, examining variables, setting breakpoints, and so

on.

Declaration:

A C++ entity that introduces one or more names into a program. declaration specifies to the compiler the

types of all the elements of an identifier; "this function or this piece of data exists somewhere else, and

here is what it should look like." See also definition for definition.

Default argument:

An optional argument to a function. A value specified in the function declaration is used if the argument is

not given.

Definition:

Instantiates an identifier, allocating its memory. A declaration can also be a definition. You can declare

data or a function in many difference places, but can define it only once.

Delete operator:

C++ keyword and operator used to delete dynamic storage.

Derived class:

A class that inherits members from a base class.

Destructor:

A function called when a class object goes out of scope. It cleans up the object, freeing resources like

dynamic storage.

Do:

A C/C++ reserved word that allows construction of an iterative loop. The statements in the body always

execute at least once. Also see while.

Double:

A fundamental data type in C and C++. Double variables are used to store floating-point values. They

offer greater precision and can store larger numbers than floats.

Dynamic memory allocation:

The process of dynamically creating objects in the heap or free store during program runtime. Statically

created objects, created by the compiler, are put on the program stack.

Else:

C++ keyword, part of the if statement, that allows conditional execution of code.
The standard C++ library provides a set of manipulator functions that can modify the state of iostream

objects. endl writes a new line to output.

Explicit:

A C++ keyword used in the declaration of constructors to indicate that conversion of an initializer should

not take place.

Expression:

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank