INFORMATION TECHNOLOGY (IT)
Information Technology (IT)
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
- Star Topology
- Bus Topology
- Ring Topology
- Mesh Topology
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Ring Topology → Token Passing
- Devices are connected in a circular structure.
- A token is passed between connected devices.
- Only the device holding the token can transmit data.
- Integration Testing
- Unit Testing
- System Testing
- Acceptance Testing
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Component Testing → Unit Testing
- Tests individual software components or modules.
- Checks whether each component works correctly.
- Helps identify errors at an early stage.
- True
- False
- Partially True
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
- "An entity is anything about which we store data" is True.
- An entity is any real-world object or concept the database stores information about.
- Examples: customer, product, employee, order.
- --
- ++
- +=
- **
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
++ adds 1 to a variable.
- a++ (post): uses the value, then increments.
- ++a (pre): increments, then uses value.
- -- decrements the same way.
- Alone in a statement, both forms behave identically.
- A = B + B
- A = A + B
- A = A - B
- A = B - A
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
- A += B is equivalent to A = A + B.
- It's the compound assignment operator for addition.
- It takes the current value of A, adds B to it, and stores the result back into A.
Other compound operators follow the same pattern:
- A -= B → A = A - B
- A *= B → A = A * B
- A /= B → A = A / B
- A %= B → A = A % B
- open()
- close()
- fclose()
- endfile()
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
- fclose() returns 0 on success and EOF (-1) on failure.
- It flushes any buffered data to the file before closing the stream
For the standard input/output streams (stdin, stdout, stderr),
- 15
- 25
- 100
- 125
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The cube of a number is the result of multiplying the number by itself three times.
Example:
5^3=5×5×5
Step-by-step:
-
5×5=25
-
25×5=125
Therefore, 5^3=125.
- Returns an integer
- Returns a string
- Returns no value
- Returns a Boolean value
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A void function in C is used for its side effects rather than returning a value.
Common uses include:
- Printing to the screen (e.g., a function that prints a menu)
- Modifying global variables
- Updating values through pointers (e.g., a swap function)
- 4
- 5
- 6
- 8
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The output will be 5 (2 + 3 = 5).
- Authentication
- Compression
- Encryption
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
- Encryption is the security technique that converts plaintext into ciphertext to protect data from unauthorized access.
- Only users with the correct decryption key can read the original data.
- Encryption helps maintain data confidentiality during storage and transmission.
- It is widely used in online banking, emails, messaging apps, and e-commerce.
- Common encryption types are symmetric and asymmetric encryption.
Last verified on 01-08-2026