CS201 Short Question no 2 Lecture No 2.pdf

Verified academic study resource for CS201 (Introduction to Programming) under the Computer Science at Virtual University of Pakistan. This PDF document (Official Lecture Handouts & Highlighted Notes) covers Complete Course Handouts (Lectures 1 to 45) spanning approximately 450 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
Handout
Coverage
Complete Course Handouts (Lectures 1 to 45)
Tags
SUBJECTIVE, LECTURE

Virtual University examiners construct 100% of objective MCQs and subjective marking schemes directly from the official CS201 handouts.

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 Short Question no 2 Lecture No 2.pdf for free?

You can preview and download "CS201 Short Question no 2 Lecture No 2.pdf" (CS201 PDF, ~450 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs201-short-question-no-2-lecture-no-2-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 Complete Course Handouts (Lectures 1 to 45) 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

                          Short Question of the CS201
                                 Lecture No. 2
                Introduction of the programming

Question No.1 Long Question
What are the Software Categories? Explain with detail.
Software is categorized into two main categories

1.   System Software
2.   Application Software

       Question No.2
Define System Software {QUIZ} {S.Q}
The system software controls the computer. It communicates with computer’s
hardware (key board, mouse, modem, sound card etc) and controls different aspects of
operations.

       Question No.3
How many Sub categories of system software are?
   1. Operating system
   2. Device drivers
   3. Utilities

       Question No.4
What is the Operating System? { S.Q }

An operating system(sometimes abbreviated as "OS") is the program that
manages all the other programs in a computer. It is a integrated collection of routines
that service the sequencing and processing of programs by a computer. Note: An
operating system may provide many services, such as resource allocation,
scheduling, input/output control, and data management.

                                                   Definition
“Operating system is the software responsible for controlling the allocation and usage of
hardware resources such as memory, central processing unit (CPU) time, disk space, and
peripheral devices. The operating system is the foundation on which applications, such as word
processing and spreadsheet programs, are built. (Microsoft)”

Join My Online Classes Live session of CS201
Daily Live Class On Zoom for Joining Contact
on whats-app number
Muhammad Bilal Kahlon
03045099998
    Question No.5
    What are Device drivers?
    The device driver software is used to communicate between the devices and the
    computer.
    We have monitor, keyboard and mouse attached to almost all PC’s;
    if we look at the properties of these devices we will see that the operating system
    has installed special software to control these devices.
    This piece of software is calleddevice driver software.
    When we attach a new device with the computer, we need software to communicate
    with this device.
    These kinds of software are known as device drivers e.g. CD Rom driver, Sound Card
    driver and Modem driver. Normally manufacturer of the device provide the device
    driver software with the device. For scanners to work properly with the computers we
    install the device driver of the scanner.
    Nowadays if you have seen a scanner, it comes with TWAIN Drivers. TWAIN stands
    for Technology Without An Interesting Name.

    Question No.6
    What is Utility Software? {SQ
    Utility software is a program that performs a very specific task, usually related to
    managing system resources. Utility software use for the disk management, Disk
    compression and Disk defragmentation in the computer.
    The compilers and interpreters also belong to the System Software category.

    Question No.7
    What are the Application software? {SQ
    A program or group of programs designed for end users. For example a program for
    Accounting, Payroll, Inventory Control System, and guided system for planes. GPS
    (global positioning system), another application software, is being used in vehicles,
    which through satellite determines the geographical position of the vehicle

Question No.8 Long +3 shorts+8Quizs
What you know about History of C language explain in detail.

The C language was developed in late 60’s and early 70’s, in Bell Laboratories. In
those days BCPL and B languages were developed there.
The BCPL language was developed in 1967 by Martin Richards as a language for
writing operating systems software and compilers.
In 1970 Ken Thompson used B language to create early

   1) versions of the UNIX operating system at Bell Laboratories.
   2) Thus both the languages[PCBL+B] were being used to develop various
      system software even compilers.
   3) Both PCBL and B were ‘type less’ languages, every data item occupied one
       ‘word’ in memory and the burden of treating a data item as a whole number or
       real number, for example was the responsibility of the programmer.
   4) Dennis Ritchie developed a general purpose language, called C language, by
       using different features of BCPL and B languages.
   5) C uses many important concepts of BCPL and B while adding data typing and
       other features.
   6) In the start C became widely known as the development language of the UNIX
       operating system, and the UNIX operating system was written by using this C
       language.
   7) The C language is so powerful that the compiler of C and other various
       operating systems are written in C.
   8) C language has almost unlimited powers to do with computers. You can
       program to turn on or off any device of computer. You can do a lot to hard
       disk and other peripherals.
   9) It is very easy to write a program in C that stops the running of computer. So
       be careful while programming in C.
   10) The C language and UNIX operating system widely spread in educational and
       research institutions. There was C and UNIX everywhere. Due to the wide
       spread of C, different researchers started to add their features in the language.
       And thus different variations in C came into existence.
   11) Many universitiesdeveloped their own C by adding different features to the C
       language developed by Ritchie.>>
   12) These variations led to the need of a standard version of C.
   13) In 1983 a technical committee was created under the American National
       Standards Committee on ComputerandInformation Processing to provide
       an unambiguous and machine-independent definition of the language.
   14) In 1989 the standard was approved. ANSI cooperated with the International
       Standard Organization (ISO) to standardize C worldwide.

Tools of the trade
As programmer we need different tools to develop a program.

       Question No.9
What are the Editors?

More CS201 files

All CS201 files · Midterm Prep 2026 · MCQs Bank