INFORMATION TECHNOLOGY (IT)
Information Technology (IT)
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
ترجیحی قطار کو نافذ کرنے کے لئے کون سا ڈیٹا ڈھانچہ بہترین ہے؟
- Hash Table
- Heap
- Stack
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A heap efficiently supports priority queue operations like insertion and extraction of the highest (or lowest) priority element.
Common types include min-heap and max-heap, which maintain the heap property for fast access to priority elements.
کون سا ڈیٹا ڈھانچہ چابیاں کا استعمال کرتے ہوئے مستقل وقت کی تلاش فراہم کرتا ہے؟
- Hash Table
- Array
- Stack
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Hash tables use a hash function to map keys to indices, allowing O(1) average-time lookup.
They are widely used in databases, caching, and associative arrays for fast access to data.
ایک قطار مندرجہ ذیل میں سے کون سے اصول کی پیروی کرتی ہے؟
- FIFO
- LIFO
- SJF
- None of them
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Queue operates on the First In, First Out (FIFO) principle, meaning the first element added is the first to be removed.
Common uses include print job management, task scheduling, and data buffering.
بنیادی طور پر ڈیٹا بیس منطقی اسکیما کو ڈیزائن کرنے کے لئے کون سا آریھ استعمال کیا جاتا ہے؟
- ERD
- Flowchart
- Data flow
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
ERD (Entity Relationship Diagram) is mainly used to design a database’s logical schema.
It shows entities, attributes, and relationships between data elements.
مندرجہ ذیل میں سے کون سے ایک سوال پر مبنی ورچوئل ٹیبل سے مراد ہے؟
- 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.