COMPUTER
Download PDF Click here
فری تیاری کیلے Whatsappجوائن کریںClick
here
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
کمپیوٹر اے سے کمپیوٹر بی میں فائل کاپی کرنے کے لیے عام طور پر کون سی ڈیوائس استعمال کی جاتی ہے؟
- USB Flash Drive
- Scanner
- Printer
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
- A USB Flash Drive is the most commonly used device for copying files from one computer to another.
- It is a portable storage device that connects through a USB port.
- Users can easily copy, move, and back up files using a USB flash drive.
- It is reusable, lightweight, and compatible with most computers.
- It is also known as a USB drive, pen drive, or thumb drive.
Last verified on 02-08-2026
- 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.
- Half-Duplex
- Full-Duplex
- Simplex
- Multiplex
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
- Simplex — one-directional data flow from computer to printer only, with no data sent back.
Additional information
- Half-duplex— data travels both ways, but only one direction at a time.
- Full-duplex— data travels both ways simultaneously.
- Multiplex— combining multiple signals into one channel, not directly relevant here
- 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)