SPSC SENIOR COMPUTER OPERATOR PAST PAPER 14-01-2025
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
کس مصنوعی ذہانت کے تصور میں کسی مقصد کو حاصل کرنے کے لیے ماحول میں کام کرنے والا ایجنٹ شامل ہے؟
- Unsupervised Learning
- Reinforcement Learning
- Natural Networks
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
In reinforcement learning, an agent interacts with an environment, learning to achieve a goal by receiving rewards or penalties.The agent adjusts its actions to maximize long-term rewards based on feedback from the environment.
- ©ptr
- *ptr
- ptr*
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
In C, the asterisk (*) symbol is used to dereference a pointer.
It means to access the value stored at the address held by the pointer.
Therefore, *ptr is the correct syntax to access the value at the address ptr.
کوالٹی اشورینس میں فش بون ڈایاگرام کا مقصد کیا ہے؟
- To automate test scripts
- To identify potential causes of defects
- To test the performance of the software
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A Fishbone Diagram (Ishikawa diagram) is used to analyze root causes of problems.It helps in organizing and visualizing potential factors contributing to defects.
- Exhausted
- Angry
- Resistant
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
"Depressed" and "elated" are antonyms
"Depressed" represents a feeling of sadness while "elated" represents a feeling of joy.
Similarly, "submissive" and "resistant" represent opposite behavioral characteristics.
"Submissive" refers to a person who is obedient while "resistant" describes someone who is defiant or unwilling to comply.
کون سی قسم کی میموری غیر مستحکم ہے اور اسے برقی طور پر مٹا اور دوبارہ پروگرام کیا جا سکتا ہے؟
- Cache
- Flash Memory
- RAM
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Flash memory is non-volatile, retaining data without power.It can be electrically erased and reprogrammed.This making it suitable for storage devices.
جاوا میں انٹرفیس کے بارے میں درج ذیل میں سے کون سا بیان درست ہے؟
- It can contain instance variables
- It can have constructors
- It can have abstract methods and default methods
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Interfaces in Java can declare abstract methods (without a body) and default methods (with a body).They cannot have constructors or instance variables.
- Error
- [5, 7]
- [1, 2, 3, 4, 5] [1, 2, 3], [4, 5]
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
In Python, the + operator is not supported for sets; sets can only be combined using methods like union() or |.The given code will raise a TypeError.
کمپائلر میں انٹرمیڈیٹ کوڈ جنریشن کا مقصد کیا ہے؟
- To perform lexical analysis
- To produce machine code directly
- To provide a platform-independent representation of the source code
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Intermediate code allows portability across different hardware platforms.It serves as a bridge between high-level language and machine code generation.
- She drove almost her kids to school every day.
- Almost she drove her kids to school every day.
- She drove her kids to school almost every day.
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
She drove her kids to school almost every day.
وہ تقریباً ہر روز اپنے بچوں کو اسکول لے جاتی تھی۔
"Almost" is correctly placed to modify "every day," indicating frequency.
سافٹ ویئر کی ترقی کا طریقہ کار کس قسم کی تکراری ترقی اور مسلسل آراء پر مرکوز ہے؟
- Agile Methodology
- Waterfall Model
- Spiral Model
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Agile focuses on iterative development, where software is developed in small, manageable increments with regular feedback.It promotes continuous collaboration with stakeholders to adapt to changing requirements throughout the development process.