INFORMATION TECHNOLOGY (IT)
Information Technology (IT)
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
- Default values are not allowed in functions
- Default parameters must be declared from right to left
- Parameters must be initialized to zero
- Function syntax is invalid
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
In C++, default arguments must be assigned from right to left.
If a parameter has a default value, all parameters to its right must also have defaults.
The rule ensures unambiguous function calls.
- true, true
- false, false
- true, false
- false, true
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
== does type coercion → false == 0 → true
=== checks type + value → boolean ≠ number → false
- 4
- 5
- 6
- 10
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
- Start value = 0
-
Increment by +2 each time
Iterations:
-
1 → 2
-
2 → 4
-
3 → 6
-
4 → 8
-
5 → 10
-
After 5 iterations, value reaches 10 (limit).
-
It should not exceed 10, so we stop here.
-
Total iterations = 5.
- for loop
- while loop
- do-while loop
- if statement
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
An if statement checks a condition and executes once if it is true.
It does not loop repeatedly, unlike for, while, or do-while loops.
It effectively stops after the first true condition is evaluated.
- 4
- 5
- 6
- 7
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
- Initial value: x = 0
-
Loop runs while x < 5
Iterations:
-
1st: x = 0 + 2 = 2
-
2nd: x = 2 + 2 = 4
-
3rd: x = 4 + 2 = 6
-
Now x = 6, condition x < 5 becomes false, loop stops.
-
Final value printed is 6.
- System shutdown
- Turn firewall off
- Switch off power abruptly
- Implement load balancing or throttling
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Load balancing distributes incoming data across multiple systems to reduce overload.
Throttling limits the rate of incoming requests to keep the system stable.
These methods help prevent crashes while keeping services running.
- Browser does not support the video format
- Code syntax error
- Operating system issue
- Video file missing
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The syntax is already correct, so the issue is not in the code.
Browsers support only certain formats like MP4, WebM, or OGG.
- All devices connect through a single central switch or hub
- Each device has independent connections
- Devices are isolated
- Network has no central management
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
- C++
- Python
- Java
- JavaScript
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
System.out.println() is a Java statement used to print output to the console.C++ uses cout << "Hello World";.Python uses print("Hello World").JavaScript uses console.log("Hello World");.This syntax is specific to Java’s standard output system.
کون سا سیکیورٹی سسٹم صرف خطرات کا پتہ لگاتا ہے لیکن کوئی ایکشن نہیں لیتا؟
- Intrusion Detection System (IDS)
- Intrusion Prevention System (IPS)
- Antivirus with firewall
- Firewall
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
An IDS monitors network or system activities to detect potential threats.
It does not block or prevent attacks; it only alerts administrators.
An IPS (Intrusion Prevention System) can take action to stop threats.
Antivirus and firewalls actively block or remove malicious activity.