NSCT 5 YEARS PAST PAPERS
5 Years Past Papers
You can get here the previous 5 years' papers
of NSCT jobs for test preparations.
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
- Grammar is correct and unambiguous
- Lexical ambiguity – “duck” could be a noun or verb
- Spelling mistake
- Semantic ambiguity about “he”
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Lexical ambiguity occurs when a word has multiple meanings.
In “He has duck,” “duck” could be a noun (the bird) or a verb (to lower the head quickly).
The sentence is grammatically correct but unclear in meaning.
NLP systems must disambiguate words using context.
- Malware only affects hardware; ransomware affects software
- Malware is malicious software; ransomware encrypts files and demands payment
- Malware requires payment; ransomware does not
- They are identical
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
- Malware is any software designed to harm or exploit a computer system.
- Ransomware is a type of malware that encrypts files and demands payment to unlock them.
- Not all malware is ransomware; some just spy, delete, or slow down systems.
- Ransomware specifically targets user data for extortion.
- Understanding the difference helps in cybersecurity defense and response.
- var arr = (1 2 3);
- var arr = [1 2 3];
- var arr = {1 2 3};
- var arr = <1 2 3>;
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
In JavaScript, arrays are declared using square brackets [ ].
Each element inside the brackets is separated by a comma.
Parentheses ( ), curly braces { }, and angle brackets < > are not used for arrays.
Arrays can store numbers, strings, objects, or even other arrays.
Example: var arr = [10, 20, 30]; creates an array of three numbers.
- MySQL
- MongoDB
- Oracle
- SQL Server
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
MongoDB is a NoSQL document database that stores data in JSON-like documents.
It is ideal for large volumes of unstructured or semi-structured data like logs.
Unlike SQL databases (MySQL, Oracle, SQL Server), it does not require a fixed schema.
- Laravel
- React
- Django
- Node.js
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Laravel is a modern PHP framework for building web applications.
It provides MVC architecture, routing, and built-in security features.
React and Node.js are JavaScript-based, and Django is Python-based.
- Learning from labeled data
- Learning patterns from unlabeled data
- Learning by reinforcement
- Learning via rules only
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Unsupervised learning finds patterns or structures in data without labeled outputs.
Common tasks include clustering and dimensionality reduction.
Supervised learning uses labeled data to predict outcomes.
Reinforcement learning is based on rewards and penalties, not unlabeled data.
Unsupervised learning is useful for exploring data and discovering hidden relationships.
- Client-side rendering happens on the server
- Server-side rendering happens in the browser
- Client-side rendering happens in the browser; server-side happens on the server
- Both are identical in performance
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Client-side rendering (CSR) means the browser builds the page using JavaScript after receiving data.
Server-side rendering (SSR) means the server sends a fully rendered HTML page to the browser.
CSR can reduce server load but may slow initial page load.
SSR improves SEO and faster initial page display.
- Client-side problem
- Server-side problem
- Network congestion or routing issue
- Deadlock
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
If a device can send data but never receives a reply, the problem is likely in the network path.
Causes include network congestion, faulty routers, or incorrect routing tables.
It is not necessarily a client-side or server-side problem if both are working correctly.
Deadlock applies to multithreading, not networking.
Troubleshooting usually involves checking connectivity, routes, and packet flow.
ملٹی تھریڈنگ میں ڈیڈلاک کیا ہے؟
- When threads finish too quickly
- When threads block each other permanently while waiting for resources
- When threads execute sequentially
- When threads share data safely
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A deadlock occurs when two or more threads wait indefinitely for resources held by each other.
None of the threads can proceed, causing the program to freeze.
Deadlocks often happen when threads acquire multiple locks in different orders.
Proper resource management and lock ordering help prevent deadlocks.
Deadlocks are a key concern in multithreading and concurrent programming.
- 3
- 5
- 7
- 2
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The initial value of x is 5.
The if condition x > 3 is true.
The statement x += 2 is executed.
The else block is skipped.
Final output is 7.