CS101-Short-Questions-For-Midterm-Exams.pdf

Verified academic study resource for CS101 (Introduction to Computing) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 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
Midterm
Coverage
Mid-Term Exam Scope (Lectures 1 to 22)
Tags
SUBJECTIVE, MIDTERM

Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS101.

What this file covers — CS101 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)

Frequently asked questions

Where can I download CS101-Short-Questions-For-Midterm-Exams.pdf for free?

You can preview and download "CS101-Short-Questions-For-Midterm-Exams.pdf" (CS101 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs101-short-questions-for-midterm-exams-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 Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), 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

Short Question by VUAnswer.com
What is the key feature of object-oriented design?

ANSWER:

The key feature of object-oriented design is that it treats everything as object having properties and methods. These
objects are separately treated and designed and once designed it can be used in any other system. So once designed
can\\\\\\be used many times.

Write one purpose of using spreadsheets?

ANSWERS:

Purpose of spreadsheets is that it can do calculations on data accurately.

Write down two advantages of writing Pseudo Code

Answers:

The advantages of pseudo code are:

       It is quite similar to human language so easy to understand.
       It is close to real code so easy to write real code from it.

How can we calculate total number of rows in the truth table?

ANSWER:

The formula for calculating number of rows in truth table is 2n

Where n = number of inputs

Differentiate between Vector graphics and Bit-mapped graphics.

ANSWER:

                            VECTOR GRAPHICS                             BIT MAPPED IMAGES
                1. Treat everything as an object             1. Treats everything as a bit map.
                2. Is resolution independent                 2. Resolution dependent
                3. Relatively small size                     3. Large files
                4. Example: Corel Draw                       4. Example: Microsoft Paint

Write differences between Shareware and trail ware software.

ANSWER:

                               SHAREWARE                                     TRIALWARE
               1. These are shared freely.                    1. Software is offered for a trial period.
               2. It is given without payment ahead of        2. When the period is expired it is no
               time.                                          more in use.
What is the problem with Brute Force Strategy approach?

Answer:

A strategy in which all possible combinations are examined and the best among them is selected

What is the problem with this approach?

Doesn’t scale well with the size of the problem

How many possible city sequences for n=6? For n=60? For n=600?

What was the name of first computer in which binary numbers were used instead of decimal numbers?

Answer:

The Atanasoff-Berry Computer was the world's first electronic digital computer. It was
built by John Vincent Atanasoff and Clifford Berry at Iowa State University during 1937-
42. It incorporated several major innovations in computing including the use of binary
arithmetic, regenerative memory, parallel processing, and separation of memory and
computing functions.

How can we say that JavaScript is Not Object-Oriented language?

Answer:

It is so because it lacks two key features:

A formal inheritance mechanism

Strong typing

Nevertheless, it does include many key concepts that are part of almost all object-

Oriented languages, and therefore is referred as an object-based language

List down the names of any three parameters on which we analyze an algorithm?

 Answer:

Analysis in the context of algorithms is concerned with predicting the resources that re
Requires:

       Computational time
       Memory
       Bandwidth
       Logic functions

What is function of Goal Seek command in Excel?

Answer:

When you use the Goal Seek command, Excel changes the value in one cell until the value in a second cell reaches a
number that you desire. For instance, if you had a spreadsheet that calculated profit for the Bola eService from a variety
of inputs, including employee numbers, expenses, products sold, price of products, you might use goal seek to define
your break-even price of products. You would tell the computer to change price of products until Profit was zero (break-
even), and you would do that using Tools, Goal Seek.

What is the difference between Desktop Computer and Super Computer? Give at least three differences

Answer:

                      Desktop Computer                                             Super Computer
 1. These are generally consisting of a single processor      1. These are generally consisting of a single, double or
 only, sometimes 2, along with MB’s of memory, and GB’s       many processor.
 of storage                                                   2.A supercomputer is typically used for scientific and
 2. PC’s are used for running productivity applications       engineering applications that must handle very large
                                                              databases or do a great amount of
                                                              Computation (or both).
 3. Workstations cost a few thousand dollars; PC around a     3. Normally Its value is very high.
 $1000.

What makes System Software different from Application software? Explain the attributes of

Good application software. Please write down the concise and to the point answer. (4+4)

Answer

                          System Software                                       Application software
 1. System software is responsible for controlling,           1. Programs that generally interact with the user to
 integrating, and managing the individual hardware            perform work that is useful to the user.
 components of a computer system.
 2. It is talk directly to hardware.                          2. It is directly with system software.
 Example: operating system, device driver etc.                3. Example: MS word etc.

Convert the following numbers from decimal numbers into binary numbers:

Answer

a)

1. 24

Answer = 11000

2. 55

Answer = 110111

3. 84

Answer = 1010100

b) X, Y is Boolean variables. Determine the truth tables for the following combinations:

(x.y)

 x          y         X=x.y
 0          0         0
 1          0         0
 0          1         0
 1          1         1

Write the HTML code that will generate the similar page as shown below. You have to put

The form elements within the table.

Answer:

<html>
         <head>
                  <title></title>
         </head>
         <body bgcolor="pink">
         <br>

More CS101 files

All CS101 files · Midterm Prep 2026 · MCQs Bank