All Subjects
National University of Modern Languages50 سوالات

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
وضاحتSubstituting x = 4 into the function: 3(4) + 5 = 12 + 5 = 17.
x
2x
x^2
1/2x
وضاحتUsing the power rule d/dx(x^n) = nx^(n-1), the derivative of x^2 is 2x^(2-1) = 2x.
5
6
8
9
وضاحتThe number of elements in the Cartesian product of two finite sets is the product of their sizes: 3 * 2 = 6.
2
4
8
16
وضاحتSince 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
وضاحتThe sum of angles in a triangle is 180 degrees. 180 - (45 + 45) = 90.
5
-3
3
1/5
وضاحتThe equation is in slope-intercept form y = mx + c, where m is the slope.
x
x^2
x^9
x^24
وضاحتx^2 * x^3 = x^5. Then x^5 / x^4 = x^(5-4) = x.
1/2
1/3
1/6
3/6
وضاحتThere 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
وضاحتThe power rule for integration states the integral of nx^(n-1) is x^n.
2
5
10
15
وضاحتSubtract 10 from both sides to get 2x = 10, then divide by 2 to get x = 5.
3
5
7
9
وضاحتArranging in order {1, 3, 5, 7, 9}, the middle value is 5.
15
20
30
45
وضاحت0.15 * 200 = 30.
30 degrees
45 degrees
60 degrees
90 degrees
وضاحتThe sine of 30 degrees is 0.5.
15
60
120
240
وضاحت5! = 5 × 4 × 3 × 2 × 1 = 120.
14cm
22cm
44cm
154cm
وضاحتCircumference = 2 × π × r = 2 × (22/7) × 7 = 44cm.
3
7
9
11
وضاحتDivide by 3: x - 4 = 5. Add 4: x = 9.
1
2
3
4
وضاحتSlope = (y2 - y1) / (x2 - x1) = (7 - 3) / (4 - 2) = 4 / 2 = 2.
Control Unit
Register
ALU
Cache
وضاحتThe Arithmetic Logic Unit (ALU) is the part of the processor that performs mathematical and bitwise operations.
Queue
Stack
Linked List
Array
وضاحتA 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
وضاحتThe 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
وضاحتRAM (Random Access Memory) requires power to maintain the stored information; it loses data when power is off.
Procedural
Object-Oriented
Functional
Logic-based
وضاحتJava 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
وضاحتSQL is the standard language used for managing and manipulating relational databases.
Total Connection Protocol
Transmission Control Protocol
Transfer Computation Port
Traffic Communication Packet
وضاحتTCP is a core protocol of the Internet Protocol Suite, responsible for reliable data transmission.
Physical Layer
Data Link Layer
Network Layer
Transport Layer
وضاحتThe Network Layer (Layer 3) is responsible for routing data via IP addresses.
Python
Assembly
C++
Java
وضاحتAssembly 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
وضاحتCompilers convert human-readable source code into binary machine code that CPUs understand.
2
8
10
16
وضاحتHexadecimal is a base-16 number system using digits 0-9 and letters A-F.
@
&
*
#
وضاحتIn C/C++, the asterisk symbol (*) is used to declare and dereference pointer variables.
Motherboard
Hard Disk
Central Processing Unit
Power Supply
وضاحتThe CPU performs the majority of the processing and instructions inside the computer.
RAM
Cache
ROM
Registers
وضاحتRead-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
وضاحتRouters direct data packets between different networks to ensure information reaches its destination.
9
11
13
15
وضاحت1*2^3 + 0*2^2 + 1*2^1 + 1*2^0 = 8 + 0 + 2 + 1 = 11.
Microsoft Word
Web Browser
Operating System
Photo Editor
وضاحتSystem software manages the computer hardware and provides a platform for application software.
PSBOHF
PQBOHF
PSBOIF
PSBOHG
وضاحتEach 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
وضاحتThe 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
وضاحتThis 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
وضاحتIf the premise is true that all dogs bark, then any specific dog (Rex) must bark.
30
32
36
49
وضاحتThe series represents squares of integers: 1^2, 2^2, 3^2, 4^2, 5^2, 6^2.
Apple
Orange
Broccoli
Banana
وضاحتApple, Orange, and Banana are fruits, while Broccoli is a vegetable.
4-15-7
3-14-6
4-16-8
5-15-7
وضاحتEach letter corresponds to its position in the alphabet: D=4, O=15, G=7.
A
B
C
Cannot be determined
وضاحتSince A > B and B > C, it follows that A > B > C; C is the shortest.
2
8
10
32
وضاحتAll 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
وضاحتUsing 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
وضاحتA week has 7 days. 10 days = 7 days + 3 days. Monday + 3 days = Thursday.
Valid
Invalid
Depends on the species
True
وضاحتEven 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
وضاحتThe sequence moves backward two letters in the alphabet each time.
M
N
O
P
وضاحتThe pattern is skipping an increasing number of letters: +2, +3, +4, +5. J(10) + 5 = O(15).
SUMIC
ISUMC
USMIC
MSIUC
وضاحتThe first two letters are swapped, then the rest are reordered. MUSIC follows the pattern U-S-M-I-C.
Sister
Aunt
Mother
Cousin
وضاحتThe '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.

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

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