NSCT PAST PAPER 04-04-2026
NSCT 5 years Past Papers Click
here
پلیز
ہماری مدد کریں
اگر آپنے پیپر دیا ہے یا دیں گے تو جو سوالات پیپر دنیے کے
بعد اپکو یاد ہیں پلیز ہمارےساتھ شئیر
کریں بے شک 5 سے 10 ہی کیوں نہ ہوں۔
تاکہ اگلی بار
جب پیپر ہو تو دوسرے لوگوں کو اس میں مدد مل سکے۔ کیونکہ بہت سے لوگوں کو پیپر
پیٹرن سلیبس وپیپر میں سوالات کس طرح کے آسکتے معلوم نہیں ہوتا۔ پاسٹ پیپرز سے
بہت سی معلومات و کنسپٹ کلئیر ہو جاتے۔ اس کام میں پلیز ہماری مدد کریں۔ جزاک اللہ
نوٹ کسی بھی طریقہ سے پیپر کو لیک
کرنا، تصویر بنانا قانو جرم وحرام کام ہے۔
ہم صرف ان سوالات کو شئیرکرنے کی بات کر رہے جو پیپر دینے کے بعد آپکوزبانی
یاد راہ جائیں۔ اللہ آپ کو کامیاب کرے آمیں۔
WhatsApp
0308-2533000
Show Answers
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
Match between system and real world
User control and freedom
Consistency and standards
Aesthetic and minimalist design
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
User control and freedom allows users to undo or redo actions .
It helps users recover from mistakes without severe consequences.
Easier to implement
Violates interface segregation principle
Improves performance
No effect
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The Interface Segregation Principle (ISP) states that clients should not be forced to depend on methods they do not use .
If an interface has too many unrelated methods , it becomes difficult to implement and maintain .
Clients may be forced to implement methods that are irrelevant to them.
Ignores negative edges
Finds shortest paths even with negative edges
Converts negative edges to zero
Throws an error
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The Floyd–Warshall algorithm computes shortest paths between all pairs of vertices .
It supports negative edge weights , as long as there are no negative cycles .
Negative cycles make the shortest path undefined , which Floyd–Warshall can detect.
Under budget and ahead of schedule
Over budget and behind schedule
On budget and on schedule
Cannot determine
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Actual Cost (AC) measures money spent so far.
Earned Value (EV) measures the value of work actually completed.
If AC > EV , the project is spending more than the value earned → over budget .
If EV is low , less work is completed than planned → behind schedule .
Optimization
Reduce memory loss
Code reusability (generic programming)
Memory allocation
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Templates in C++ allow writing generic functions or classes.
They enable the same code to work with different data types without rewriting it.
This improves code reusability and maintainability.
Templates are not directly about memory optimization or allocation.
Example: template <typename T> T add(T a, T b) works for int, float, or double.
A
B
C
E
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The traveler starts at city A and follows the path: A → B → C → D → E → A.
The journey ends back at city A to complete the circuit.
All other cities (B, C, D, E) are visited only once .
Returning to the starting point is typical in circular routes or tours .
Therefore, city A is visited twice .
HTML
CSS
Python
JavaScript
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Server-side rendering (SSR) generates HTML on the server before sending it to the client .
Python (with frameworks like Django or Flask) can render templates on the server.
JavaScript can also do SSR (e.g., with Node.js), but in this option, Python is the server-side language.
HTML and CSS are used for structure and styling, not server-side logic.
SSR improves initial page load speed and SEO .
$1000
$1500
$2000
$2500
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Profit = Revenue − Cost
Revenue = $5000, Cost = $3500
Profit = 5000 − 3500 = 1500
To store variables
To group identifiers and avoid name conflicts
To create new functions
To allocate memory
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A namespace in C++ is used to organize code into logical groups. It helps avoid name conflicts when different parts of code use the same names. For example, two libraries can have functions with the same name but in different namespaces. The std namespace (e.g., std::cout) is a common example. Namespaces improv e code clarity and maintainability.
DELETE
DROP
TRUNCATE
REMOVE
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
TRUNCATE removes all rows from a table but keeps the table structure intact .
It is faster than DELETE because it does not log individual row deletions.
DELETE can remove specific rows and can be rolled back.
DROP deletes the entire table structure and data .
REMOVE is not a valid SQL command.