Sample Paper
FINAL TERM EXAMINATION
Spring 2025
CS101 - Introduction to Computing
Time: 90 min
Marks: 80
Objective Part
[90 sample MCQs each of Mark (01)- You need to attempt any 80
questions from these]
Question No. 1 (Marks: 01) - Please choose the correct option
What is the difference between HTTPS and HTTP?
A. HTTPS is a secure version of HTTP
B. HTTP is a secure version of HTTPS
C. There is no difference between the two
D. Both A and B are correct
Question No. 2 (Marks: 01) - Please choose the correct option
What is the main goal of algorithm discovery?
A. To find an optimal solution to a problem
B. To find a solution to a problem that is not optimal
C. To find a new way to solve an old problem
D. To find a problem that can be solved by an existing algorithm
Question No. 3 (Marks: 01) - Please choose the correct option
What is the primary goal of an algorithm?
A. To store data in a specific order
B. To solve a specific problem or perform a specific task
C. To communicate information between different computer systems
D. To create visually appealing graphics
Question No. 4 (Marks: 01) - Please choose the correct option
Which tool is used to convert codes of assembly language into machine language?
A. Assembler
B. Debugger
C. Compiler
D. Interpreter
Question No. 5 (Marks: 01) - Please choose the correct option
____________ is used for the application of backtracking in computer programs.
A. Tree
B. Array
C. Queue
D. Stack
Question No. 6 (Marks: 01) - Please choose the correct option
Which of the following is a non-linear data structure?
A. Stack
B. Queue
C. Tree
D. Array
Question No. 7 (Marks: 01) - Please choose the correct option
Which of the following is not a software metric?
A. Complexity
B. Cost
C. Design
D. Efficiency
Question No. 8 (Marks: 01) - Please choose the correct option
Which of the following phases of the software development life cycle is about developing
a solution to the problem?
A. Requirement analysis
B. Design
C. Implementation
D. Testing
Question No. 9 (Marks: 01) - Please choose the correct option
In which software model, a simplified version of the final product with limited
functionality is constructed?
A. Waterfall model
B. Incremental model
C. Prototype model
D. Integrated Model
Question No. 10 (Marks: 01) - Please choose the correct option
Which software testing methodology ensures that each instruction in the software is
executed at least once?
A. Basic path testing
B. Black box testing
C. Beta testing
D. Alpha testing
Question No. 11 (Marks: 01) - Please choose the correct option
Which of the following is used for the repetitive execution of instruction?
A. List
B. Loop
C. If-Else Statement
D. Variable initialization
Question No. 12 (Marks: 01) - Please choose the correct option
Repetitive control of loop consists of following three activities:
A. Initialize, execute, test,
B. Modify, execute, test
C. Initialize, test, modify
D. Test, modify, compare
Question No. 13 (Marks: 01) - Please choose the correct option
In which iterative structure of loop, test for termination will perform after the body is
executed.
A. Pretest loop
B. Posttest loop
C. While loop
D. For loop
Question No. 14 (Marks: 01) - Please choose the correct option
Recursive system depends on_______ for fulfill terminating condition.
A. Initialization
B. Testing
C. Execution
D. Modification
Question No. 15 (Marks: 01) - Please choose the correct option
A two-dimensional array named “marks” having 4 rows and 5 columns can be declared
as.
A. int marks [5][4]
B. int marks [4][5]
C. int marks [4][4]
D. int marks [5][5]
Question No. 16 (Marks: 01) - Please choose the correct option
Array is a block of elements of the type.
A. Particular
B. Same
C. Non-linear
D. Heterogeneous
Question No. 17 (Marks: 01) - Please choose the correct option
11%3 will be equal to:
A. 1
B. 0
C. 3
D. 2
Question No. 18 (Marks: 01) - Please choose the correct option
The sign of division operator is ____.
A. \
B. /
C. %
D. !
Question No. 19 (Marks: 01) - Please choose the correct option
Which of the following software is used for making resume?
A. MS Excel
B. MS Word
C. Dev C
D. Java
Question No. 20 (Marks: 01) - Please choose the correct option
Which of the following is an example of page orientation?
A) Landscape
B) Subscript
C) Superscript
D) A4
Question No. 21 (Marks: 01) - Please choose the correct option
In MS Word, Zoom in and out button is available on _______.
A) Scroll bar
B) Home tab
C) Page layout tab
D) View option toolbar
Question No. 22 (Marks: 01) - Please choose the correct option
Microsoft word is a/an _________ software.
A) Application
B) Compiler
C) System
D) Programming
Question No. 23 (Marks: 01) - Please choose the correct option
In Microsoft Word, Thesaurus tool is used for the____________.
A) Grammar options
B) Spelling suggestions
C) Synonyms and Antonyms words
D) Comments
Question No. 24 (Marks: 01) - Please choose the correct option
In Microsoft PowerPoint, which option on the custom animation task pane allows you to
apply a preset or custom motion path?
A) Add effect.
B) Emphasis
C) Animate now.
D) On Mouse Click
Question No. 25 (Marks: 01) - Please choose the correct option
In Microsoft PowerPoint, which of the following options is not available in the Transition
timing group?
A) Sound
B) Duration
C) On Mouse Click
D) Add effect
Question No. 26 (Marks: 01) - Please choose the correct option
Which of the following sign is used to specify the range of the cell on which you want to
apply the formula in MS Excel.
A) =
B) %
C) ^
D) :
Question No. 27 (Marks: 01) - Please choose the correct option
Which of the following data structure is known to be a FIFO.
A) Array
B) Queue
C) Stack
D) Tree
Question No. 28 (Marks: 01) - Please choose the correct option
In ____________, the data entries are inserted and removed at the head.
A) Array
B) List
C) Queue
D) Stack
Question No. 29 (Marks: 01) - Please choose the correct option
Block of data items with different data types called
A) Aggregates
B) Array
C) Pointer
D) Integer
Question No. 30 (Marks: 01) - Please choose the correct option
What is an indexed file?
A) A file where records are stored in random order
B) A file where records are stored in sorted order and an index is used to access the data
quickly
C) A file where records are stored one after another, in the order they were added
D) A file where records are stored in the reverse order they were added
Question No. 31 (Marks: 01) - Please choose the correct option
What is a sequential file?
A) A file where records are stored in random order
B) A file where records are stored in sorted order and an index is used to access the
data quickly
C) A file where records are stored one after another, in the order they were added
D) A file where records are stored in the reverse order they were added
Question No. 32 (Marks: 01) - Please choose the correct option
What are the advantages of using an indexed file over a sequential file?
A) Indexed files allow for faster access to data
B) Sequential files use less storage space
C) Both A and B
D) Indexed files are large
Question No. 33 (Marks: 01) - Please choose the correct option
When would you use a sequential file over an indexed file?
A) When you need to write data quickly
B) When you don't need to access data frequently or quickly
C) When you need to store a small amount of data
D) When you need to access data according to the requirement
Question No. 34 (Marks: 01) - Please choose the correct option
The length of Logical addressing used in computer networking is _____ bits.
A) 10
B) 32
C) 50
D) 64
Question No. 35 (Marks: 01) - Please choose the correct option
EPIC stands for _______________.
A) Electronic Privacy Information Center
B) Electrical Private Information Center
C) Electricity Privacy Incoming Chamber
D) Electricity Public Information Center
Question No. 36 (Marks: 01) - Please choose the correct option
__________ is used to exploit secret information over the internet.
A) Antivirus
B) Spam email
C) Client
D) Firewall
Question No. 37 (Marks: 01) - Please choose the correct option
Content risk involves ________
A) Online Harassment
B) Spamming
C) Unsuitable products
D) Harmful Advice
Question No. 38 (Marks: 01) - Please choose the correct option
Sorting is used for _____________ in MS Excel.
A) Arrange data
B) Remove data
C) Add data
D) Hide data
Question No. 39 (Marks: 01) - Please choose the correct option
Database Relation is also referred to as______.
A) Column
B) Rows
C) Table
D) Cells
Question No. 40 (Marks: 01) - Please choose the correct option
The extension of the web page document is ________.
A) .html
B) .mtl
C) .css
D) .doc
Question No. 41 (Marks: 01) - Please choose the correct option
Intellectual property laws fall under which category?
A) system law
B) Islamic law
C) Patent law
D) Liability law
Question No. 42 (Marks: 01) - Please choose the correct option
What is the purpose of a copyright or patent?
A) To restrict the use of products
B) To protect ownership rights
C) To promote competition
D) To generate profits
Question No. 43 (Marks: 01) - Please choose the correct option
Which statement does a copyright notice include?
A) Ownership details and personnel information
B) Software engineering principles
C) Liability disclaimers
D) Development timelines
Question No. 44 (Marks: 01) - Please choose the correct option
What is a software license?
A) A legal agreement between software developers and user
B) A document that transfers ownership rights
C) A permission to change software working
D) A legal notice for copyright infringement
Question No. 45 (Marks: 01) - Please choose the correct option
Patent laws allow inventors to benefit commercially from an invention by:
A) Granting ownership rights to competitors
B) Disclosing invention details to the public
C) Ensuring software is new, useful, and obvious
D) Preventing others from using the invention
Question No. 46 (Marks: 01) - Please choose the correct option
How long is a typical patent granted for?
A) 5 years
B) 10 years
C) 20 years
D) Lifetime
Question No. 47 (Marks: 01) - Please choose the correct option
What is the drawback of obtaining a patent?
A) It is inexpensive and quick
B) It guarantees a dominant market position
C) It may result in obsolete products
D) It allows appropriation during the process
Question No. 48 (Marks: 01) - Please choose the correct option
How much did RIM eventually agree to pay NPT?
A) $61.25 million
B) $172.5 million
C) $312.5 million
D) $612.5 million
Question No. 49 (Marks: 01) - Please choose the correct option
What is a "machine language" in the context of CPU design?
A) A software program for designing CPU instructions
B) A collection of bit patterns representing CPU instructions
C) A high-level programming language
D) A tool for managing memory in a CPU
Question No. 50 (Marks: 01) - Please choose the correct option
What is the primary goal of RISC architecture?
A) To create a CPU with minimal instruction set for efficiency and speed
B) To increase the complexity of CPU instructions
C) To provide CPUs that can handle high power consumption
D) To make the CPU instruction set larger for complex tasks
Question No. 51 (Marks: 01) - Please choose the correct option
Which of the following is an example of a CISC architecture processor?
A) PowerPC
B) Intel
C) ARM
D) Qualcomm
Question No. 52 (Marks: 01) - Please choose the correct option
Which of the following is NOT a group of machine instructions?
A) Data transfer group
B) Arithmetic/logic group
C) Memory allocation group
D) Control group
Question No. 53 (Marks: 01) - Please choose the correct option
What is the main purpose of the control group of instructions?
A) To manipulate data within memory
B) To direct the execution of the program
C) To perform arithmetic calculations
D) To transfer data between CPU and memory
Question No. 54 (Marks: 01) - Please choose the correct option
What does the term "LOAD instruction" refer to?
A) Copying data from a register to memory
B) Copying data from one location to another
C) Filling a register with data from a memory cell
D) Moving data from an I/O device to memory
Question No. 55 (Marks: 01) - Please choose the correct option
What is one major use of the AND operation in bitwise manipulation?
A) To invert all bits in a byte
B) To place 1s in part of a bit pattern while leaving the other part unchanged
C) To place 0s in part of a bit pattern while not disturbing the other part
D) To duplicate an entire bit string
Question No. 56 (Marks: 01) - Please choose the correct option
What is "masking" in the context of bitwise operations?
A) Using a bit pattern to invert all bits in an operand
B) Using one operand to control which part of another operand affects the result
C) Using a bit pattern to multiply two binary values
D) Using an operand to fill another operand with random bits
Question No. 57 (Marks: 01) - Please choose the correct option
What result does XORing a byte with a mask of all 1s produce?
A) The original byte
B) A byte of all 0s
C) The complement of the byte
D) A byte with all bits set to 1
Question No. 58 (Marks: 01) - Please choose the correct option
What is a logical shift?
A) A shift operation that performs a circular rotation of bits
B) A shift operation where the falling bit is placed in a new position
C) A shift operation that discards the falling bit and fills the hole with a 0
D) A shift operation that preserves the sign bit
Question No. 59 (Marks: 01) - Please choose the correct option
What can be achieved by shifting binary digits to the left in two’s complement
representation?
A) Division by two
B) Rotation by two
C) Multiplication by two
D) Circular rotation
Question No. 60 (Marks: 01) - Please choose the correct option
What occurs when a byte-sized bit pattern undergoes a right circular shift eight times?
A) The bit pattern is discarded
B) The bit pattern becomes all 0s
C) The original bit pattern is restored
D) The bit pattern becomes all 1s
Question No. 61 (Marks: 01) - Please choose the correct option
Which of the following systems requires user interaction during job execution?
A) Batch processing
B) Reservation systems and computer games
C) Payroll processing
D) Job queue processing
Question No. 62 (Marks: 01) - Please choose the correct option
What was a significant factor that led to the development of operating systems in early
computers?
A) Increasing computer memory requirements
B) Need for easier program setup and smoother transitions between jobs
C) Improving the graphic capabilities of computers
D) Development of personal computers
Question No. 63 (Marks: 01) - Please choose the correct option
What is essential for successful interactive processing?
A) Prioritizing tasks based on CPU usage
B) Responding to users with sufficiently fast time
C) Limiting tasks to one user at a time
D) Reducing task complexity
Question No. 64 (Marks: 01) - Please choose the correct option
Which operating system approach was designed to allow multiple users to interact with
the computer simultaneously?
A) Real-time processing
B) Batch processing
C) Time-sharing
D) Single-user systems
Question No. 65 (Marks: 01) - Please choose the correct option
In the 1960s and 1970s, real-time processing was challenging because:
A) Computers were inexpensive and readily available
B) Each machine needed to serve multiple users at remote terminals
C) Time-sharing was unnecessary
D) It was easier to implement with multiple users
Question No. 66 (Marks: 01) - Please choose the correct option
What does the term 'process' refer to in an operating system context?
A) The static data of a program
B) The activity of executing a program
C) The stored files associated with a program
D) The utility software managing a program
Question No. 67 (Marks: 01) - Please choose the correct option
What does the term 'process' refer to in an operating system context?
A) The static data of a program
B) The activity of executing a program
C) The stored files associated with a program
D) The utility software managing a program
Question No. 68 (Marks: 01) - Please choose the correct option
What is included in the process state of a running program?
A) Only the program code
B) The values in CPU registers and memory cells
C) Only the final output of the program
D) The name of the program file
Question No. 69 (Marks: 01) - Please choose the correct option
What does the dispatcher do when a process’s time slice ends?
A) Initiates a new program in the CPU
B) Saves the current state and selects the next process to execute
C) Deletes the process from the process table
D) Executes the process continuously without any interruption
Question No. 70 (Marks: 01) - Please choose the correct option
What is the main role of the scheduler in an operating system?
A) Managing memory resources
B) Overseeing the execution of scheduled processes
C) Adding and removing processes from the system’s process pool
D) Handling interrupt signals from the CPU
Question No. 71 (Marks: 01) - Please choose the correct option
Which instruction is used to prevent a process from being interrupted while testing and
setting a flag in a critical region?
A) Enable interrupt instruction
B) Test-and-set instruction
C) Interrupt disable instruction
D) Interrupt enable instruction
Question No. 72 (Marks: 01) - Please choose the correct option
Which of the following network topologies involves all machines being connected to a
central machine called an access point?
A) Bus topology
B) Star topology
C) Ring topology
D) Mesh topology
Question No. 73 (Marks: 01) - Please choose the correct option
Which network topology was popularized by Ethernet in the 1990s and connects all
machines to a common communication line?
A) Mesh topology
B) Star topology
C) Bus topology
D) Hybrid topology
Question No. 74 (Marks: 01) - Please choose the correct option
Which type of network is based on designs that are in the public domain?
A) Closed network
B) Proprietary network
C) Open network
D) Hybrid network
Question No. 75 (Marks: 01) - Please choose the correct option
What is the evolution of the star network based on?
A) A single central computer serving many users.
B) The development of Ethernet in the 1990s.
C) The use of wireless communication.
D) The creation of proprietary systems by corporations.
Question No. 76 (Marks: 01) - Please choose the correct option
What do patent laws require for an inventor to obtain a patent?
A) product details tell to others
B) Filing a copyright notice
C) Disclosing invention details
D) Negotiating with software developers
Question No. 77 (Marks: 01) - Please choose the correct option
Software licenses spell out:
A) Ownership rights of the software product
B) Transferred ownership rights of intellectual property
C) Rights and obligations of both parties
D) License expiration date
Question No. 78 (Marks: 01) - Please choose the correct option
A software license is a legal agreement between:
A) Software developers and competitors
B) Software developers and users
C) Patent owners and software developers
D) owner and software users
Question No. 79 (Marks: 01) - Please choose the correct option
What does a copyright notice identify?
A) Ownership, authorized personnel, and restrictions
B) Product development timelines
C) user’s principles
D) Liability disclaimers
Question No. 80 (Marks: 01) - Please choose the correct option
Copyrights and software licenses are generally insufficient to prevent:
A) Software developers from profiting fully from their inventions
B) The release of software products to intended parties
C) Outright copying and unauthorized use of software
D) Competitors from independently developing similar products
Question No. 81 (Marks: 01) - Please choose the correct option
What is the main characteristic of a one-dimensional array?
A) Multiple rows and columns
B) Single row of elements
C) Different types of entries
D) Varied sizes of entries
Question No. 82 (Marks: 01) - Please choose the correct option
What does the term "subtree" refer to in a tree structure?
A) The entire tree
B) A branch from the root
C) A node's immediate descendants
D) A leaf node
Question No. 83 (Marks: 01) - Please choose the correct option
Intellectual property laws primarily aim to:
A) Allow software developers to recoup and profit from their investment
B) Limit the use of software to intended parties
C) Prevent unauthorized use of software
D) Discourage software development in society
Question No. 84 (Marks: 01) - Please choose the correct option
Which party asserts ownership rights by including a copyright statement in all produced
works?
A) The user of the software
B) The owner of the software product
C) The competitor of the software developer
D) The developer of the software
Question No. 85 (Marks: 01) - Please choose the correct option
What are the items within an aggregate type usually called?
A) Indices
B) Rows and columns
C) Fields
D) Entries
Question No. 86 (Marks: 01) - Please choose the correct option
Every starting tag must have the __________.
A) Object
B) Ending tag
C) Value
D) None
Question No. 87 (Marks: 01) - Please choose the correct option
XML standard, notational systems called _________.
A) Markup language
B) Markup language
C) Making language
D) None
Question No. 89 (Marks: 01) - Please choose the correct option
The ___________ approach would allow search engines to identify recipes that contain
or do not contain certain ingredients.
A) Semantic
B) Systematic
C) Hooping
D) Asemantic
Question No. 90 (Marks: 01) - Please choose the correct option
The needs that require the additional activities by either browser or webserver are
performed by the client are called _________.
A) User side
B) Client-side
C) Computer site
D) Browser site