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

Computer Science Basics MCQs

Practice Computer Science Basics 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.

Queue
Linked List
Stack
Binary Tree
الشرحA stack is a linear data structure that operates on the LIFO principle, where the last element added is the first one removed.
The best-case execution time
The memory usage of a program
The upper bound of an algorithm's growth rate
The average hardware latency
الشرحBig O notation is used to describe the limiting behavior or the worst-case scenario of a function as its input grows toward infinity.
Data Link
Network
Transport
Physical
الشرحThe Network layer (Layer 3) handles packet routing and IP addressing.
To pause the execution of the loop
To exit the loop entirely
To skip the current iteration
To return an error
الشرحThe break statement terminates the execution of the loop it is inside.
Linear search
Binary search
Bubble sort
Depth-First search
الشرحBinary search divides the search interval in half each step, leading to O(log n).
To provide a user interface
To manage hardware and system resources
To compile source code
To host web applications
الشرحThe kernel is the core component that bridges software and hardware.
SSD
HDD
RAM
ROM
الشرحRAM (Random Access Memory) requires power to maintain the stored information.
Python
Assembly
Java
Ruby
الشرحAssembly is very close to machine code and hardware, making it a low-level language.
6
7
2
0
الشرح5 is 101, 3 is 011. XOR result is 110, which is 6.
Standard Query Logic
Structured Query Language
Sequential Query Language
System Query Link
الشرحSQL is the standard language for managing relational databases.
MySQL
PostgreSQL
MongoDB
Oracle
الشرحMongoDB is a document-oriented database, classified as NoSQL.
HTTP
FTP
HTTPS
SMTP
الشرحHTTPS adds a layer of SSL/TLS encryption to HTTP.

Frequently Asked Questions

Are these Computer Science Basics MCQs free?

Yes. Every Computer Science Basics 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 Basics MCQs help with?

They are aimed at Barani Institute of Information Technology and related Pakistani competitive exams that test Computer Science Basics.

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.

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

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