Comprehensive NESCOM AM Software
Engineer MCQs Preparation
This document contains multiple-choice questions (MCQs) across all relevant sections
typically covered in the NESCOM AM Software Engineer written test.
Programming (C/C++/Java/Python)
1. 1. Which of the following is the correct syntax to output 'Hello World' in C++?
A) Console.WriteLine("Hello World");
B) cout << "Hello World";
C) print("Hello World")
D) echo "Hello World"
Answer: B) cout << "Hello World";
2. 2. Which keyword is used to prevent inheritance of a class in C++?
A) const
B) final
C) sealed
D) private
Answer: B) final
Data Structures and Algorithms
3. 1. Which of the following sorting algorithms has the best average case time
complexity?
A) Bubble Sort
B) Insertion Sort
C) Merge Sort
D) Selection Sort
Answer: C) Merge Sort
4. 2. Which data structure is used in recursion?
A) Queue
B) Stack
C) Array
D) Graph
Answer: B) Stack
Operating Systems
5. 1. Which of the following is not a function of the operating system?
A) Memory Management
B) File Management
C) Compiler Management
D) Device Management
Answer: C) Compiler Management
6. 2. What is a deadlock?
A) Infinite loop
B) A situation where no process proceeds
C) A crashed OS
D) An error in syntax
Answer: B) A situation where no process proceeds
Databases (SQL & Concepts)
7. 1. Which normal form removes partial dependency?
A) 1NF
B) 2NF
C) 3NF
D) BCNF
Answer: B) 2NF
8. 2. A foreign key is used to:
A) Create duplicate records
B) Link two tables
C) Sort data
D) Remove redundancy
Answer: B) Link two tables
Computer Networks
9. 1. Which protocol is used to send email?
A) HTTP
B) FTP
C) SMTP
D) SNMP
Answer: C) SMTP
10. 2. What is the default port for HTTP?
A) 20
B) 21
C) 80
D) 110
Answer: C) 80
Software Engineering
11. 1. Which SDLC model involves building a prototype?
A) Waterfall
B) Spiral
C) Agile
D) RAD
Answer: D) RAD
12. 2. Which UML diagram shows object interactions?
A) Class Diagram
B) Use Case Diagram
C) Sequence Diagram
D) State Diagram
Answer: C) Sequence Diagram
OOP Concepts
13. 1. Which of the following is not a pillar of OOP?
A) Encapsulation
B) Abstraction
C) Compilation
D) Inheritance
Answer: C) Compilation
14. 2. What is function overloading?
A) Defining functions with same name and different parameters
B) Using many classes
C) Inheriting base class
D) Adding memory
Answer: A) Defining functions with same name and different parameters
Analytical Reasoning
15. 1. If A is taller than B and B is taller than C, who is the tallest?
A) A
B) B
C) C
D) Cannot be determined
Answer: A) A
16. 2. Find the next number in the sequence: 2, 4, 8, 16, ?
A) 18
B) 24
C) 32
D) 30
Answer: C) 32
English & Vocabulary
17. 1. Choose the correct synonym of 'Rapid'.
A) Slow
B) Fast
C) Lazy
D) Strong
Answer: B) Fast
18. 2. Identify the error: 'He go to school every day.'
A) go
B) to
C) school
D) every
Answer: A) go
General Knowledge
19. 1. Who is the founder of Pakistan?
A) Allama Iqbal
B) Liaquat Ali Khan
C) Quaid-e-Azam
D) Ayub Khan
Answer: C) Quaid-e-Azam
20. 2. What is the capital of Balochistan?
A) Lahore
B) Quetta
C) Karachi
D) Gwadar
Answer: B) Quetta