All Subjects
Higher Education Commission (HEC) / Individual Universities10 Questions

Artificial Intelligence and Computer Science MCQs

Practice Artificial Intelligence and Computer Science multiple-choice questions for Higher Education Commission (HEC) / Individual Universities 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.

K-Means Clustering
Support Vector Machines
Principal Component Analysis
Apriori Algorithm
ExplanationSupport Vector Machines (SVM) is a supervised learning model used for classification and regression analysis.
Managing memory allocation
Determining which process runs on the CPU and for how long
Converting high-level code to machine language
Managing file permissions
ExplanationThe CPU scheduler is responsible for assigning processes to the CPU and managing the execution order.
The physical size of a hard drive
The worst-case time or space complexity of an algorithm
The amount of memory required by the CPU
The network latency of a server
ExplanationBig O notation provides a theoretical measure of the execution time or space requirements of an algorithm as input size grows.
To store the final prediction output
To receive the raw input data from sensors
To perform complex transformations on input data to extract features
To display the GUI of the program
ExplanationHidden layers act as the internal processing engine of a neural network, extracting patterns through weighted connections.
Data is stored in unstructured document formats
Data is organized into tables with rows and columns
It cannot be accessed using SQL
It is primarily designed for real-time video streaming
ExplanationRDBMS organizes data into relations (tables) that can be linked based on data common to each.
The model performs poorly on training data
The model learns the noise in training data so well that it fails to generalize to new data
The model requires too much electricity to run
The algorithm is too simple to solve the problem
ExplanationOverfitting happens when a model captures specific patterns or noise in training data that do not apply to unseen data.
To remove viruses from a hard drive
To monitor and control incoming and outgoing network traffic based on security rules
To increase the speed of the internet connection
To backup files to the cloud
ExplanationA firewall acts as a barrier between a trusted internal network and an untrusted external network.
A search that guarantees the shortest path
A rule-of-thumb strategy to find solutions more quickly
A method used only in hardware optimization
A random search approach
ExplanationHeuristics sacrifice completeness or optimality for speed, allowing an algorithm to find a 'good enough' solution in a large search space.
Managing user interface aesthetics
Directly interacting with hardware resources
Compiling source code into machine code
Managing internet connectivity protocols
ExplanationThe kernel is the core of the OS, responsible for CPU scheduling, memory management, and hardware device communication.
Stack
Queue
Binary Tree
Hash Map
ExplanationA queue is a linear structure where the first element added is the first one removed, similar to a line at a store.

Frequently Asked Questions

Are these Artificial Intelligence and Computer Science MCQs free?

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

They are aimed at Higher Education Commission (HEC) / Individual Universities and related Pakistani competitive exams that test Artificial Intelligence and Computer Science.

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.