MOD DATA CONTROL ANALYST PAST PAPER 14-11-2019
MOD 5 years
Past Papers Click
here
فری تیاری کیلے Whatsapp جوائن کریں Click
here
Show Answers
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
گوگل وِنگ نے ہوم ڈلیوری ڈرون سروس کس ملک میں شروع کی؟
Australia
China
USA
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Google Wing launched its drone delivery service in Australia in 2014 (trial phase). Service delivers small packages, food, and medical supplies to homes. Uses autonomous drones for faster, contactless delivery . Last verified on 24-03-2026
سن 1973 کے آئین پاکستان میں آٹھویں ترمیم کس نے متعارف کروائی؟
Zulifqar Ali Bhutto
General Zia-ul-Haq
Asif Ali Zardari
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Passed By: National Assembly in November 1985 under PM Muhammad Khan Junejo . Drafted/Enforced By: To legalize actions of General Zia-ul-Haq’s military regime (1977–1985). Purpose: Shifted Pakistan from a parliamentary democracy to a quasi-presidential system. Key Feature: President gained the power to dissolve the National Assembly under Article 58(2)(b) . Result: Legalized all martial law orders, ordinances, and actions of Zia , strengthening the President’s authority over the Prime Minister . Last verified on 24-03-2026
مندرجہ ذیل میں سے ببل سورٹ الگورتھم کے اوسط کیس ٹائم کمپلیکسٹی کیا ہے؟
O(n²)
O(n)
O²(n)
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Bubble Sort repeatedly compares and swaps adjacent elements until the array is sorted. Average case involves roughly n(n-1)/2 comparisons, which gives O(n²) time complexity . Best case: O(n) if the array is already sorted (with optimized check). Worst case: O(n²) when the array is reverse sorted. Last verified on 24-03-2026
If n >= 1 return 1 else return F(n - 1) * n
If n = 0 return, 1 else return F(n - 1) * n
If n = 1 return 1 else return F(n - 2) * n
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Factorial is defined as: n! = n × (n - 1)! for n ≥ 1, and 0! = 1 .
Recursive algorithm:
if n = 0 return 1 else return F(n - 1) * n To compute F(n) - F(n - 1), first calculate F(n) recursively using this formula , then subtract F(n - 1).
Last verified on 24-03-2026
مندرجہ ذیل میں سے کون سا سی++ میں پری پروسیسر ڈائریکٹیو ہے؟
Using namespace std;
#include <iostream>
// comments
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Preprocessor Directives are instructions processed before compilation in C++. #include tells the compiler to include the input-output library. Examples : #define, #ifdef, #ifndef. Last verified on 24-03-2026
مندرجہ ذیل میں سے کس مواصلاتی طریقے میں ہر اسٹیشن بھیج اور وصول کر سکتا ہے، لیکن ایک وقت میں نہیں، جب ایک ڈیوائس بھیج رہی ہو تو دوسری صرف وصول کر سکتی ہے؟
Half-Duplex
Simplex
Full-Duplex
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
In Half-Duplex , communication is two-way but alternating; only one device transmits at a time . Example : Walkie-talkies – one speaks, the other listens, then roles switch. More efficient than Simplex (one-way only) but slower than Full-Duplex (simultaneous two-way). Last verified on 24-03-2026
مرج سورٹ الگورتھم کی مجموعی ٹائم کمپلیکسٹی کیا ہے؟
O(n log n)
O²(n log n)
O(n log n²)
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Merge Sort is a divide and conquer algorithm that splits the array into halves, sorts them recursively, and merges them . Each level of recursion processes n elements, and there are log₂n levels , giving O(n log n) time complexity . It is stable and works well for large datasets. Worst, average, and best case all have O(n log n) complexity. Last verified on 24-03-2026
مندرجہ ذیل میں سے کون سا سب کلاسز کے اراکین کے تعلق کو بیان کرتا ہے اور یہ ظاہر کرتا ہے کہ کیا کسی سپر کلاس کا رکن ایک یا ایک سے زیادہ سب کلاسز کا حصہ ہو سکتا ہے؟
Disjoint constraint
Composition
Participation constraint
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Disjoint constraint defines the relationship between superclass and its subclasses. It shows whether a member of a superclass can belong to one subclass only ( disjoint ) or more than one subclass ( overlap ). This concept is widely used in Database Design and Object-Oriented Modeling . Ensures clear organization of entities in a hierarchy and avoids ambiguity. Last verified on 24-03-2026
کس نیٹ ورک ٹوپولوجی میں، ایک لمبی کیبل نیٹ ورک میں موجود تمام آلات کو جوڑنے کے لیے ریڑھ کی ہڈی کا کام کرتی ہے؟
Mesh Topology
Ring Topology
Bus Topology
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
In Bus Topology , a single central cable (the bus) connects all devices in the network. Data sent by one device is received by all other devices , but only the intended recipient processes it. It is simple and cost-effective for small networks. Last verified on 24-03-2026
O(1)
O(2)
O(3)
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Heap Sort is an in-place sorting algorithm, meaning it does not require extra arrays. All operations are performed within the original array. Therefore, its space complexity is constant, O(1) . Last verified on 24-03-2026