BPSC COMPUTER 25 YEARS PAST PAPERS
BPSC 5
years Past Papers Click
here
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
مندرجہ ذیل میں سے کون سے ایک سوال پر مبنی ورچوئل ٹیبل سے مراد ہے؟
- Trigger
- Index
- View
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A view is a virtual table created from the result of a SQL query.
It does not store data itself but displays data dynamically from underlying tables.
کس اصطلاح میں ڈیٹا بیس کے منطقی ڈھانچے کی وضاحت کی گئی ہے؟
- Database schema
- Data instance
- Data file
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A database schema defines the logical structure of a database, including tables, fields, relationships, and constraints.
It acts as a blueprint that organizes how data is stored and accessed.
مخصوص واقعات کے جواب میں کون سا ڈیٹا بیس آبجیکٹ خود بخود عمل میں لایا جاتا ہے؟
- Function
- Index
- Trigger
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A trigger is a database object that is automatically executed when specific events (INSERT, UPDATE, DELETE) occur.
Triggers are used to enforce rules, maintain integrity, and audit changes.
مندرجہ ذیل میں سے کون بڑی میزوں کو چھوٹی چھوٹیوں میں تقسیم کرکے استفسار کی کارکردگی کو بڑھاتا ہے؟
- Replication
- Partitioning
- Normalization
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Partitioning divides a large table into smaller, manageable parts based on ranges, lists, or hashes.
It improves query performance and maintenance efficiency, especially for large datasets.
- Max()
- Sum()
- Avg()
- All of them
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
MAX(), SUM(), and AVG() all ignore NULL values during calculation.
Only non-NULL values are considered when computing SQL aggregate results.
ڈیڈ لاکس کی موجودگی کو کم سے کم کرنے میں کون سی لاکنگ حکمت عملی سب سے زیادہ موثر ہے؟
- Exclusive
- Pessimistic
- Optimistic
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Optimistic locking assumes conflicts are rare and avoids holding locks during transactions.
By reducing lock holding time, it minimizes the chances of deadlocks.
- Neo4j
- MongoDB
- Cassandra
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Cassandra is a column-oriented (wide-column) NoSQL database, where data is stored in column families.
It is designed for high scalability, high availability, and fast writes across distributed systems.
ایک کلسٹرڈ انڈیکس بنیادی طور پر _____ کو متاثر کرتا ہے؟
- Data backups
- Query speed only
- Physical data order
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A clustered index determines the physical order of data rows in a table.
Because data is stored in this order, it can significantly improve range query performance.
کون سی نارملائزیشن فارم عبوری انحصار کو حل کرتا ہے؟
- 1NF
- 2NF
- 3NF
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Third Normal Form (3NF) eliminates transitive dependencies, where a non-key attribute depends on another non-key attribute.
It ensures that all non-key attributes depend only on the primary key, improving data integrity.
ویکٹر کے اعداد و شمار کا نقصان کون سا ہے؟
- Not suitable for network analysis
- Poor thematic detail
- Large file size for complex geometry
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Vector data can result in large file sizes when representing highly detailed or complex geometries.
This can make storage and processing slower compared to simpler datasets.
Despite this, vector data is excellent for precise location and network analysis.