All Subjects
Barani Institute of Information Technology14 الأسئلة

Computer Science Fundamentals MCQs

Practice Computer Science Fundamentals multiple-choice questions for Barani Institute of Information Technology 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.

Immediate
Direct
Register Indirect
Indexed
الشرحIn register indirect addressing, the register contains the memory address of the operand rather than the operand itself.
Queue
Stack
Linked List
Binary Tree
الشرحA stack is a linear data structure that follows the LIFO principle, where the last element added is the first one removed.
O(1)
O(n)
O(log n)
O(n log n)
الشرحIn a balanced BST, each step of the search eliminates half of the remaining nodes, leading to logarithmic time complexity.
RAM
ALU
Control Unit
Registers
الشرحThe Arithmetic Logic Unit (ALU) is the part of the CPU specifically designed to perform arithmetic and logical calculations.
It is permanent storage
It requires power to maintain stored information
It is slower than hard drives
It is read-only
الشرحVolatile memory, such as RAM, loses all stored data once the power supply is removed.
To provide a graphical user interface
To manage hardware resources and system processes
To compile source code
To perform web browsing
الشرحThe kernel is the core of an OS that manages CPU, memory, and devices.
O(n)
O(n^2)
O(log n)
O(2^n)
الشرحExponential growth, where execution time doubles for each input, is represented as O(2^n).
Assigning IP addresses to devices
Translating domain names into IP addresses
Encrypting network traffic
Filtering malicious website requests
الشرحDNS (Domain Name System) functions like a phonebook, resolving human-readable URLs into machine-readable IP addresses.
Queue
Linked List
Graph
Stack
الشرحA graph is a non-linear data structure because elements are connected via edges, forming multiple paths.
To hold the current instruction being executed
To hold the address of the next instruction to be fetched
To count the number of threads running
To store results of calculations
الشرحThe Program Counter (PC) keeps track of the memory address of the next instruction in the sequence.
Modularity
Scalability
Abstraction
Encapsulation
الشرحScalability is the characteristic of a system to handle growing amounts of work by adding resources.
Control Unit
Arithmetic Logic Unit
Memory Unit
Input/Output Unit
الشرحThe memory unit stores both instructions and data in the Von Neumann architecture.
To pause a program for user input
To signal the CPU that an external device needs attention
To increase the clock speed of the processor
To clear the cache memory
الشرحAn IRQ is a hardware signal sent to the processor that temporarily stops the current process to service a device.
Sorting large datasets
Probabilistic membership testing
Compressing text files
Encrypting network packets
الشرحA Bloom filter is a space-efficient data structure used to test whether an element is a member of a set.

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 Barani Institute of Information Technology 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.

نستخدم ملفات تعريف الارتباط

نستخدم ملفات أساسية لتشغيل المنصة وملفات تحليلات لفهم الاستخدام. يمكنك قبول أو رفض ملفات التحليلات والإعلانات.