BPSC COMPUTER 25 YEARS PAST PAPERS
BPSC 5
years Past Papers Click
here
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
او ایس آئی ماڈل میں کون سی پرت اختتام سے آخر تک مواصلات اور غلطی کی بازیابی کے لئے ذمہ دار ہے؟
- Session
- Network
- Transport
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The Transport layer ensures end-to-end communication between devices across a network.
It provides error detection, correction, and reliable data delivery.
کون سی جانچ کی قسم یقینی بناتی ہے کہ تبدیلیاں نئے نقائص کو متعارف نہیں کرواتی ہیں؟
- System
- Integration
- Regression
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Regression testing verifies that recent changes haven’t broken existing functionality.
It helps maintain software stability after updates or bug fixes.
کس جانچ کی تکنیک میں کوڈ کے اندرونی ڈھانچے کی جانچ کرنا شامل ہے؟
- System
- Black box
- White box
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
White box testing focuses on the internal structure, logic, and code paths of the program.
It ensures all statements, branches, and conditions are tested for correctness.
مندرجہ ذیل میں سے کون سی عام غیر فعال ضروریات ہیں؟
- Usability
- Performance
- Security
- All of them
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Non-functional requirements specify how a system performs, covering aspects like usability, performance, and security.
They ensure the system is reliable, efficient, and user-friendly, beyond just functionality.
کس سافٹ ویئر ڈویلپمنٹ پریکٹس میں مسلسل انضمام اور مستقل ترسیل شامل ہے؟
- Prototyping
- Waterfall
- Agile/DevOps
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Agile/DevOps emphasizes Continuous Integration (CI) and Continuous Delivery (CD) for faster, reliable releases.
It promotes iterative development, collaboration, and automation in the software lifecycle.
صارف کی کہانیاں مندرجہ ذیل میں سے کون سے آریگرام سے اخذ کی گئی ہیں؟
- Sequence diagram
- Class diagram
- Use case diagram
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
User stories are derived from use case diagrams as they describe functional requirements from a user's perspective.
They capture interactions between users (actors) and the system.
کس قسم کا پوائنٹر کسی بھی ڈیٹا کی قسم کا پتہ اسٹور کرسکتا ہے؟
- float*
- int*
- void*
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A void* pointer is a generic pointer that can hold the address of any data type.
Before dereferencing, it must be typecast to the appropriate pointer type.
کسی پوائنٹر کے پتے پر قیمت تک رسائی کے لئے کون سا آپریٹر استعمال ہوتا ہے؟
- []
- *
- &
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The * operator, called the dereference operator.
It is used to access the value stored at the pointer’s address.
& gives the address, [] is for arrays, and -> accesses members of a struct via pointer.
متحرک طور پر مختص میموری کو کہاں محفوظ کیا جاتا ہے؟
- Array
- Stack
- Heap
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Dynamically allocated memory using functions like malloc or new is stored in the heap segment.
Heap memory persists until explicitly deallocated, unlike stack memory.
اسٹیک میموری اسٹورز مندرجہ ذیل میں سے کون سا فنکشن _____ کہا جاتا ہے؟
- Return addresses
- Local variables
- Parameters
- All of them
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Stack memory stores return addresses, local variables, and function parameters during a function call.
This allows the program to resume execution correctly after the function finishes.