All Subjects
National University of Modern Languages50 Questions

Computer Science & Information Technology MCQs

Practice Computer Science & Information Technology multiple-choice questions for National University of Modern Languages 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.

12
15
17
20
ExplanationSubstituting x = 4 into the function: 3(4) + 5 = 12 + 5 = 17.
x
2x
x^2
1/2x
ExplanationUsing the power rule d/dx(x^n) = nx^(n-1), the derivative of x^2 is 2x^(2-1) = 2x.
5
6
8
9
ExplanationThe number of elements in the Cartesian product of two finite sets is the product of their sizes: 3 * 2 = 6.
2
4
8
16
ExplanationSince 2 raised to the power of 4 equals 16 (2*2*2*2 = 16), log2(16) is 4.
45 degrees
90 degrees
135 degrees
180 degrees
ExplanationThe sum of angles in a triangle is 180 degrees. 180 - (45 + 45) = 90.
5
-3
3
1/5
ExplanationThe equation is in slope-intercept form y = mx + c, where m is the slope.
x
x^2
x^9
x^24
Explanationx^2 * x^3 = x^5. Then x^5 / x^4 = x^(5-4) = x.
1/2
1/3
1/6
3/6
ExplanationThere is one '3' on a six-sided die, so the probability is 1/6.
x + C
2x^2 + C
x^2 + C
x^2/2 + C
ExplanationThe power rule for integration states the integral of nx^(n-1) is x^n.
2
5
10
15
ExplanationSubtract 10 from both sides to get 2x = 10, then divide by 2 to get x = 5.
3
5
7
9
ExplanationArranging in order {1, 3, 5, 7, 9}, the middle value is 5.
15
20
30
45
Explanation0.15 * 200 = 30.
30 degrees
45 degrees
60 degrees
90 degrees
ExplanationThe sine of 30 degrees is 0.5.
15
60
120
240
Explanation5! = 5 × 4 × 3 × 2 × 1 = 120.
14cm
22cm
44cm
154cm
ExplanationCircumference = 2 × π × r = 2 × (22/7) × 7 = 44cm.
3
7
9
11
ExplanationDivide by 3: x - 4 = 5. Add 4: x = 9.
1
2
3
4
ExplanationSlope = (y2 - y1) / (x2 - x1) = (7 - 3) / (4 - 2) = 4 / 2 = 2.
Control Unit
Register
ALU
Cache
ExplanationThe Arithmetic Logic Unit (ALU) is the part of the processor that performs mathematical and bitwise operations.
Queue
Stack
Linked List
Array
ExplanationA stack is a linear data structure that operates on the LIFO principle, where the last element added is the first one removed.
To compile high-level code
To manage hardware and software resources
To browse the internet
To design databases
ExplanationThe OS acts as an intermediary between the hardware and user applications, managing system resources like memory and processor time.
ROM
Hard Drive
RAM
Flash Drive
ExplanationRAM (Random Access Memory) requires power to maintain the stored information; it loses data when power is off.
Procedural
Object-Oriented
Functional
Logic-based
ExplanationJava is designed around classes and objects, making it a classic object-oriented language.
Structured Query Language
Standard Question Logic
System Query Library
Simple Query Layout
ExplanationSQL is the standard language used for managing and manipulating relational databases.
Total Connection Protocol
Transmission Control Protocol
Transfer Computation Port
Traffic Communication Packet
ExplanationTCP is a core protocol of the Internet Protocol Suite, responsible for reliable data transmission.
Physical Layer
Data Link Layer
Network Layer
Transport Layer
ExplanationThe Network Layer (Layer 3) is responsible for routing data via IP addresses.
Python
Assembly
C++
Java
ExplanationAssembly is considered a low-level language as it is very close to machine code.
To debug code line by line
To translate high-level code into machine code
To store data permanently
To manage hardware drivers
ExplanationCompilers convert human-readable source code into binary machine code that CPUs understand.
2
8
10
16
ExplanationHexadecimal is a base-16 number system using digits 0-9 and letters A-F.
@
&
*
#
ExplanationIn C/C++, the asterisk symbol (*) is used to declare and dereference pointer variables.
Motherboard
Hard Disk
Central Processing Unit
Power Supply
ExplanationThe CPU performs the majority of the processing and instructions inside the computer.
RAM
Cache
ROM
Registers
ExplanationRead-Only Memory (ROM) retains its data even when power is turned off, making it non-volatile.
Storing files
Connecting different networks
Compiling code
Displaying output
ExplanationRouters direct data packets between different networks to ensure information reaches its destination.
9
11
13
15
Explanation1*2^3 + 0*2^2 + 1*2^1 + 1*2^0 = 8 + 0 + 2 + 1 = 11.
Microsoft Word
Web Browser
Operating System
Photo Editor
ExplanationSystem software manages the computer hardware and provides a platform for application software.
PSBOHF
PQBOHF
PSBOIF
PSBOHG
ExplanationEach letter is shifted by one position forward in the alphabet (A+1=B, P+1=Q, etc.). Applying this to ORANGE: O+1=P, R+1=S, A+1=B, N+1=O, G+1=H, E+1=F.
36
40
42
44
ExplanationThe differences between consecutive numbers are 4, 6, 8, 10. The next difference should be 12. 30 + 12 = 42.
Yes, it is valid
No, it is invalid
It depends on the context
Insufficient information
ExplanationThis is a classic syllogism. If the premises are true, the conclusion must follow logically from them.
Rex might bark
Rex barks
All barking animals are dogs
Rex is not a dog
ExplanationIf the premise is true that all dogs bark, then any specific dog (Rex) must bark.
30
32
36
49
ExplanationThe series represents squares of integers: 1^2, 2^2, 3^2, 4^2, 5^2, 6^2.
Apple
Orange
Broccoli
Banana
ExplanationApple, Orange, and Banana are fruits, while Broccoli is a vegetable.
4-15-7
3-14-6
4-16-8
5-15-7
ExplanationEach letter corresponds to its position in the alphabet: D=4, O=15, G=7.
A
B
C
Cannot be determined
ExplanationSince A > B and B > C, it follows that A > B > C; C is the shortest.
2
8
10
32
ExplanationAll numbers except 10 are powers of 2 (2^1, 2^2, 2^3, 2^4, 2^5).
8km
2km
sqrt(34) km
sqrt(16) km
ExplanationUsing the Pythagorean theorem: a^2 + b^2 = c^2. 5^2 + 3^2 = 25 + 9 = 34. The distance is sqrt(34).
Wednesday
Thursday
Friday
Saturday
ExplanationA week has 7 days. 10 days = 7 days + 3 days. Monday + 3 days = Thursday.
Valid
Invalid
Depends on the species
True
ExplanationEven if the premises are true, 'some' birds flying does not mean 'all' birds fly, so the conclusion is not logically forced.
P
Q
O
S
ExplanationThe sequence moves backward two letters in the alphabet each time.
M
N
O
P
ExplanationThe pattern is skipping an increasing number of letters: +2, +3, +4, +5. J(10) + 5 = O(15).
SUMIC
ISUMC
USMIC
MSIUC
ExplanationThe first two letters are swapped, then the rest are reordered. MUSIC follows the pattern U-S-M-I-C.
Sister
Aunt
Mother
Cousin
ExplanationThe 'only daughter of my mother' is the woman herself. Therefore, the man's mother is the woman.

Frequently Asked Questions

Are these Computer Science & Information Technology MCQs free?

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

They are aimed at National University of Modern Languages and related Pakistani competitive exams that test Computer Science & Information Technology.

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.