All Subjects
Bahria University12 سوالات

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
وضاحتA stack follows the LIFO principle where the last element added is the first one removed.
ROM
Hard Drive
RAM
Flash Drive
وضاحتRAM (Random Access Memory) is volatile because it requires power to maintain the stored information.
Data Link Layer
Network Layer
Transport Layer
Session Layer
وضاحتThe Network Layer manages logical addressing (IP addresses) and routing of data packets.
PostgreSQL
MySQL
MongoDB
Oracle
وضاحتMongoDB 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
وضاحتEncapsulation 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
وضاحتThe kernel is the core of the OS that bridges applications and hardware.
O(1)
O(n)
O(log n)
O(n^2)
وضاحتBinary 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
وضاحتThe 'alt' attribute displays text if an image fails to load or for screen readers.
200
401
404
500
وضاحت404 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
وضاحتA deadlock occurs when processes are stuck waiting for resources held by others in a circular chain.
Docker
Git
Jenkins
Kubernetes
وضاحتGit is the industry-standard distributed version control system.
1110
1000
0110
1100
وضاحتThe 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.

ہم کوکیز استعمال کرتے ہیں

ہم پلیٹ فارم کو چلانے کے لیے ضروری کوکیز اور استعمال سمجھنے کے لیے analytics کوکیز استعمال کرتے ہیں۔ آپ analytics اور advertising کوکیز قبول یا رد کر سکتے ہیں۔