Software Engineering Interview Questions
Software Engineering Interview Questions
com/
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1) What are the important categories of software?
• System software
• Application software
• Embedded software
• Web Applications
• Artificial Intelligence software
• Scientific software.
2) What is the main difference between a computer program and computer software?
• Requirement analysis
• Specification
• Software architecture
• Implementation
• Testing
• Documentation
• Training and support
• Maintenance
Waterfall Model, Spiral Model, Big-bag model, Iterative Model, and V- Model are some of the
famous SDLC models.
https://www.guru99.com/
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
6) What is verification and validation?
Verification:
Verification is a term that refers to the set of activities which ensure that software implements a
specific function.
Validation:
It refers to the set of activities which ensure that software that has been built according to the
need of clients.
Debugging is the process that results in the removal of error. It is very important part of the
successful testing.
8) How can you make sure that your code is both safe and fast?
In the software, development security is always first. So if the execution of the program is slow
then, I will try to identify the reason out ways to its time complexity.
9) Name two tools which are used for keeping track of software requirements?
A stub is a minimal implementation of an interface which generally returns hardcoded data while
mock usually verifies outputs against expectations. Those expectations are set in the test.
Every developer has their views when it comes to the programming language choices. Though,
one should prefer high-level languages because they are dynamic. Like C and C++ languages.
Computer software is a package which includes a software program, its documentation, and user
guide on how to use the software.
https://www.guru99.com/
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
13) According to you which SDLC model is the best?
There, is no such ranking, as SDLC Models are adopted as per the need for the development
process. It may differ software-to-software.
A software project manager is a person responsible for managing the software development
project.
The project manager is doing the project planning, monitoring the progress, communication. He
or she also manages risks and resources to deliver the project within time, cost, and quality
constraints.
Software scope is a well-defined boundary. It includes all kind of activities that are done to
develop and deliver the software product.
The software scope defines all functionalities and artifacts to be delivered as a part of the
software. The scope also identifies what the product will do? What is not the part of the project?
What is project estimation?
This process is helpful to estimate various aspects of the software product. This estimation can be
decided either consulting experts or by using pre-defined formulas.
The size of software product can be calculated using by following two methods
Function points are the features which are provided by the software product. It is considered as a
most important measurement for software size.
• Decomposition technique
• Empirical technique
https://www.guru99.com/
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
19) What is Software configuration management?
Software configuration management is a process of tracking and controlling changes that happen
in the software.
Change control is a function which ensures that all changes made into the software system are
consistent and created using organizational rules and regulations.
We can measure project execution using Activity Monitoring, Status Reports, and Milestone
Checklists.
There are many types of management tools used as per the need for a software project. Some of
them are Pert Chart, Gantt Chart, Resource Histogram, Status Reports, etc.
It is a measure to find out how practical and beneficial the software project development will
prove to the organization. The software analyzer conducts a study to know the economic,
technical and operational feasibility of the project.
1. Economic: It includes the cost of training, cost of additional and tools and overall
estimation of costs and benefits of the project.
2. Technical: It evaluate technical aspect. Is it possible to develop this system? Assessing the
suitability of machine(s) and OS on which software will execute, knowledge of the software
development and tools available for this project.
3. Operational: Here the analyst need to assess that the organization will able to adjust
smoothly to the changes done as per the demand for the project. Is the problem worth
solving at the estimated cost?
Functional requirements are functional features which are expected by users from the proposed
software product.
Non-functional requirements are related to security, performance, look, and feel of the user
interface.
https://www.guru99.com/
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
25) What is software metric?
Software Metrics offers measures for various aspects of software process which are divided into:
Modularization is a technique which is used for dividing a software system into various discreet
modules. That is expected to carry out the tasks independently.
Cohesion is a measure that defines the intra-dependability among the elements of the module.
Some of the most important software analysis and designing tools are:
Highest abstraction level is called Level 0 of DFD. It is also called context level DFD. It portrays the
entire information system as one diagram.
30) What is the major difference between structured English and Pseudo Code?
Structured English is native English language. It is used to write the structure of a program
module. It uses programming language keywords. On the other hand, Pseudo Code is more like to
the programming language without syntax of any specific language.
Structured design is a conceptualization of problem. It also called solution design and which is
based on ‘divide and conquer’ strategy.
https://www.guru99.com/
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
32) What is functional programming?
Quality Assurance checks if proper process is followed while developing the software while
Quality Control deals with maintaining the quality of software product.
CASE means Computer Aided Software Engineering. They are set of automated software
application programs, which are used to support, enhance and strengthen the SDLC activities.
35) Which process model removes defects before software get into trouble?
Clean room software engineering method removes defects before software gets into trouble.
There are twenty different socks of two types in a drawer in one dark room. What is the minimum
number of socks you need to take to ensure you have a matching pair?"
If you pick up three socks, they may be of the same type even if the odds are 50%. Odds never an
equal reality. Therefore, the only way to 'ensure you have a matching pair' is to pick up at least 11
number of shocks.
37) How you can make sure that your written code which can handle various kinds of error
situation?
A process is instance of the computer program.In a single program it is possible to have one or
more threads.
An exe is an executable program while a DLL is a file that can be loaded and executed by
programs dynamically. It is an external code repository for programs. As both are different
programs, reuse the same DLL instead of having that code in their file. It also reduces required
storage space.
https://www.guru99.com/
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
40) What is strong-typing and weak-typing? Which is preferred? Why?
Strong typing checks the types of variables at compile time. On the other hand, weak typing
checks the types of the system at run-time. Among them, Strong typing is always preferred
because it minimizes the bugs.
First, you need to design a system by evaluating data structure. Then you should move on to the
code structure needed to support it.
Polymorphism is used when there is a need for override functionality when inheriting class. It’s
about shared classes and shared contracts.
According to me, the unit testing framework is essential for testing the quality of the code.
According to me, maintenances of software will never be expensive if we are using proper
development process.
Tags are for versioning releases which are temporary holding places for doing such thing.
However, branches are deleted when those changes are merged into the trunk.
Protected class-level variables are available to any sub-class derived from the base class.
52) Is it possible to execute multiple catch blocks for a single try statement?
Yes. Multiple catch blocks can be executed for a single try statement.
1. When the class is inherited from an abstract class, but not all the abstract methods have
been overridden.
2. In the case when minimum one of the methods in the class is declared as an abstract.
54) Develop an algorithm that output your current location and a list of ATMs locations in that
area. Get you the closest K ATMs to your location.
Code:
import java.util.HashMap;
import java.util.Map;
import java.util.PriorityQueue;
int num_ATMs = 3;
nallATMLocs.put("atm1",45.0);
nallATMLocs.put("atm2",78.0);
nallATMLocs.put("atm3",54.0);
nallATMLocs.put("atm4",64.0);
nallATMLocs.put("atm5",35.0);
nallATMLocs.put("atm6",42.0);
nallATMLocs.put("atm7",57.0);
nallATMLocs.put("atm7",1.00);
pq.add(pqe.getLocation(curr_loc,dist));}
else{
pq.poll();
pq.add(pqe.getLocation(curr_loc,dist));
}
https://www.guru99.com/
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
}
});
Project
Test Management Business Analyst Ethical Hacking PMP
Management
Software
Jenkins Agile Testing RPA JUnit
Engineering