Practice COMPUTER SCIENCE multiple-choice questions online.
Test your knowledge with solved MCQs, check correct answers
and review explanations for better exam preparation.
49Total MCQs
20Questions on this page
1Current page
COMPUTER SCIENCE Practice Questions
Select an option and check your answer to test your knowledge.
COMPUTER SCIENCE
SPSC CCE Solved Mcqs 2025
1
In Windows, which shortcut is used to lock the computer directly?
View Correct Answer & Explanation
Correct Answer:
D. Win + L
Explanation:
Pressing Windows + L locks the computer immediately and requires the user to authenticate again to access the session.
COMPUTER SCIENCE
SPSC CCE Solved Mcqs 2025
2
Which bus provides the fastest connection between the CPU and RAM?
View Correct Answer & Explanation
Correct Answer:
C. Front Side Bus
Explanation:
The Front Side Bus (FSB) historically connected the CPU to the northbridge, which handled communication with RAM. Modern processors generally use integrated memory controllers and dedicated memory interfaces instead.
COMPUTER SCIENCE
SPSC CCE Solved Mcqs 2025
3
Which command in Windows opens the Run dialog box?
View Correct Answer & Explanation
Correct Answer:
C. Win + R
Explanation:
Pressing the Windows key and R simultaneously opens the Run dialog box, allowing users to execute commands and launch applications.
COMPUTER SCIENCE
SPSC CCE Solved Mcqs 2025
4
Which file system is the default in modern Windows versions?
View Correct Answer & Explanation
Correct Answer:
B. NTFS
Explanation:
NTFS (New Technology File System) is the default file system for modern Windows installations. It supports large files, file permissions, encryption and journaling.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
5
Buffering is the process of:
View Correct Answer & Explanation
Correct Answer:
A. Temporarily storing data to accommodate variations in device speeds
Explanation:
Buffering temporarily stores data in a memory area called a buffer. It helps manage differences in the speeds at which devices produce and process data.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
6
The amount of uncertainty associated with a system or symbol is called:
View Correct Answer & Explanation
Correct Answer:
B. Entropy
Explanation:
In information theory, entropy measures the uncertainty or randomness associated with information. Higher entropy generally means greater uncertainty about the outcome of a symbol or event.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
7
The area covered by a satellite radio beam is called its:
View Correct Answer & Explanation
Correct Answer:
C. Footprint
Explanation:
A satellite's footprint is the geographical area on Earth's surface where its transmitted signal can be received effectively.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
8
A coaxial cable consists of conductors that have:
View Correct Answer & Explanation
Correct Answer:
A. A common axis
Explanation:
The term coaxial means that the conductors share the same axis. A coaxial cable typically has a central conductor surrounded by insulation, a metallic shield, and an outer protective jacket.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
9
Which of the following is an example of a bounded transmission medium?
View Correct Answer & Explanation
Correct Answer:
D. All of the above
Explanation:
Bounded or guided transmission media provide a physical path for signals. Coaxial cables, waveguides, and fiber-optic cables all guide signals through a defined physical medium.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
10
What is the minimum number of wires needed to send data over a serial communication link?
View Correct Answer & Explanation
Correct Answer:
A. 1
Explanation:
Serial communication transmits data one bit at a time over a communication path. In its simplest form, a single wire can carry the data signal, with a common ground or reference assumed.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
11
______ is concerned with realizing a software design using an object-oriented programming language.
View Correct Answer & Explanation
Correct Answer:
D. Object-Oriented Programming
Explanation:
Object-Oriented Programming (OOP) is concerned with implementing software using an object-oriented programming language. It uses concepts such as classes, objects, inheritance, polymorphism, encapsulation, and abstraction.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
12
Select the correct line of code for the inheritance relationship between the Keys class and the SpecialKeys class.
View Correct Answer & Explanation
Correct Answer:
C. class SpecialKeys : public Keys
Explanation:
The statement class SpecialKeys : public Keys declares SpecialKeys as a derived class of Keys. It means SpecialKeys inherits the accessible public and protected members of Keys.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
13
For the statement std3 = std1 - std2 to work correctly, the overloaded - operator must:
View Correct Answer & Explanation
Correct Answer:
B. Take a single argument
Explanation:
When the binary - operator is overloaded as a member function, the left operand is the calling object and the right operand is passed as one argument. Therefore, the overloaded operator function takes a single explicit argument.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
14
Select the correct line of code for the inheritance relationship between the Gender class and the Male class.
View Correct Answer & Explanation
Correct Answer:
C. class Male : public Gender
Explanation:
The statement class Male : public Gender declares Male as a derived class of Gender. The colon followed by public specifies public inheritance in C++.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
15
In ______, a pointer or reference to an object is created inside a class.
View Correct Answer & Explanation
Correct Answer:
A. Aggregation
Explanation:
Aggregation is a relationship in which one class contains a reference or pointer to an object of another class, while the contained object can exist independently of the containing object.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
16
Select the correct line of code for the inheritance relationship between the Person class and the Supervisor class.
View Correct Answer & Explanation
Correct Answer:
C. class Supervisor : public Person
Explanation:
In C++, the syntax class Supervisor : public Person declares Supervisor as a derived class of Person. This establishes a public inheritance relationship where Supervisor inherits accessible public and protected members of Person.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
17
In ______, a pointer or reference to an object is created inside a class.
View Correct Answer & Explanation
Correct Answer:
D. None of the given
Explanation:
The question as written does not provide the standard relationship name for a class containing a pointer or reference to an object. Therefore, among the given choices, None of the given is the intended answer.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
18
A copy constructor is called when:
View Correct Answer & Explanation
Correct Answer:
A. An object is created in terms of a pre-existing object
Explanation:
A copy constructor is used to create and initialize a new object from an existing object of the same class. It is commonly invoked when an object is copied during initialization or passed by value.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
19
What type of relationship exists between the Account class and the SavingAccount class?
View Correct Answer & Explanation
Correct Answer:
A. Inheritance
Explanation:
If SavingAccount is a specialized type of Account, then SavingAccount derives from the Account class. This represents an inheritance relationship, commonly expressed using public inheritance in C++.
COMPUTER SCIENCE
Computer Instructor BPS-17 AJKPSC Solved Past Paper 2019 MCQS
20
To initialize an array of objects, only ______ will be called.
View Correct Answer & Explanation
Correct Answer:
A. Default Constructor
Explanation:
When an array of objects is created without constructor arguments, the default constructor is invoked for each object. If constructor arguments are required, appropriate initialization must be provided.