All Subjects
Bahria University12 Questions

Computer Science Fundamentals MCQs

Practice Computer Science Fundamentals multiple-choice questions for Bahria University competitive exams. Each question includes the correct answer and a short explanation, and past-paper questions are marked so you can revise both repeated and fresh material in one place.

Queue
Stack
Linked List
Binary Tree
ExplanationA stack follows the LIFO principle where the last element added is the first one removed.
ROM
Hard Drive
RAM
Flash Drive
ExplanationRAM (Random Access Memory) is volatile because it requires power to maintain the stored information.
Data Link Layer
Network Layer
Transport Layer
Session Layer
ExplanationThe Network Layer manages logical addressing (IP addresses) and routing of data packets.
PostgreSQL
MySQL
MongoDB
Oracle
ExplanationMongoDB is a NoSQL database, while the others are relational databases (RDBMS).
Creating many instances of a class
Hiding internal data and requiring interaction via methods
A class inheriting from another class
The ability to run functions in parallel
ExplanationEncapsulation bundles data and the methods that operate on that data, restricting direct access to some of an object's components.
Managing the user interface
Managing hardware resources and CPU scheduling
Compiling high-level code
Sending email notifications
ExplanationThe kernel is the core of the OS that bridges applications and hardware.
O(1)
O(n)
O(log n)
O(n^2)
ExplanationBinary search consistently halves the search area, resulting in logarithmic time complexity.
To provide text for search engines
To provide alternative text for images
To style the element
To link to a new webpage
ExplanationThe 'alt' attribute displays text if an image fails to load or for screen readers.
200
401
404
500
Explanation404 is the standard HTTP error code for a resource that cannot be located.
When a process terminates prematurely
When two or more processes are waiting indefinitely for each other to release resources
When memory is fully occupied
When a computer crashes during boot
ExplanationA deadlock occurs when processes are stuck waiting for resources held by others in a circular chain.
Docker
Git
Jenkins
Kubernetes
ExplanationGit is the industry-standard distributed version control system.
1110
1000
0110
1100
ExplanationThe AND operator returns 1 only if both bits are 1. 1010 & 1100 = 1000.

Frequently Asked Questions

Are these Computer Science Fundamentals MCQs free?

Yes. Every Computer Science Fundamentals MCQ on this page is free to practice, including the correct answer and explanation.

Do these include past-paper questions?

Yes — questions sourced from past papers are clearly marked with a "Past Paper" badge, alongside fresh practice questions.

Which exams do these Computer Science Fundamentals MCQs help with?

They are aimed at Bahria University and related Pakistani competitive exams that test Computer Science Fundamentals.

How should I practice subject-wise MCQs?

Attempt each question first, then reveal the answer and read the explanation. Short, focused sessions on one subject work better than long unstructured reading.

We use cookies

We use essential cookies to keep the platform running and analytics cookies to understand usage. You can accept or reject analytics and advertising cookies.