Software Engineering Interview Questions and Answers
by Mohammed, on Mar 24, 2018 5:11:13 PM
Q1. Define software engineering?
Ans: According to IEEE, Software engineering is the application of a systematic, disciplined, quantifiable approach to the development, operation and maintenance of sofware.
Q2. What is SDLC ?
Ans: A software cycle deals with various parts and phases from planning to testing and deploying. All these activities are carried out in different ways, as per the needs. Each way is known as a Software Development Lifecycle Model (SDLC).
Q3. What is verification and validation?
Ans:
- Verification refers to the set of activities that ensure that software correctly implements a specific function.What is verification and validation?
- Validation refers to the set of activities that ensure that the software that has been built is traceable to customer requirements.
Q4. What is debugging?
Ans: Debugging is the process that results in the removal of error. It occurs as a consequence of successful testing.
Q5. What is data design?
Ans: Data design transforms the information domain model created during analysis into the data structures that will be required to implement the software.
Q6. What is software requirements definition?
Ans: A software requirements definition is an abstract description of the services which the system should provide and the constraints under which the system must operate.
Q7. What is meant by specification?
Ans: A specification can be a written document, a graphical model, a formal mathematical model, a collection of usage scenarios, a prototype or any combination of these.
Q8. What is error tracking?
Ans: Error tracking is an activity that provides a means for assessing the status of a current project
Q9. What are the categories of software?
Ans:
- System software
- Application software
- Embedded software
- Web Applications
- Artificial Intelligence software
- Scientific software.
Q10. What is testing?
Ans: Testing is a process of executing a program with the intent of finding of an error.
Q11. Define process?
Ans: A series of steps involving activities, constraints, and resources that produce an intended output of some kind is known as process.
Q12. How spiral model works?
Ans:
- The spiral model is an evolutionary software process model that couples the iterative nature of prototyping with the controlled and systematic aspects of the waterfall lifecycle model.
- It also has an emphasis on the use of risk management techniques.
Q13. What is white box testing?
Ans: White box testing is a test case design method that uses the control structure of the procedural design to derive test cases. It is otherwise called as structural testing.
Q14. What is Black box testing?
Ans: Black box testing is a test case design method that focuses on the functional requirements of the software. It is otherwise called as functional testing.
Q15. Define cyclomatic complexity?
Ans: Cyclomatic complexity is a software metric that provides a quantitative measuer of the logical complexity of a program.
- Computer Aided Software Engineering - CASE tools assist software engineering managers and practitioners in evey activity associated with the software process.
- They automate project management activities manage all work products produced throughout the process and assist the engineers in their analysis, design, coding and test work.
Q17. What is cohension and coupling?
Ans:
- Cohension is a measure of the relative functional strength of a module.
- Coupling is a measure of the relative interdependence among modules
Q18. What are the different types of cohension?
Ans: There are different types of cohension are
- Coincidental cohension
- Logical cohension
- Temporal cohension
- Procedural cohension
- Communicational cohension
Q19. What are the different types of coupling?
Ans: There are different types of coupling are
- Data coupling
- Stamp coupling
- Control coupling
- External coupling
- Common coupling
- Content coupling
Q20. What is user interface design?
Ans: User interface design creates an effective communication medium between a human and a computer.
Q21. What is winwin spiral model?
Ans:
- Winwin spiral model defines a set of negotiation activities at the beginning of each pass around the spiral.
- The best negotiations strive for a win-win result.
Q22. Mention the various views in system engineering hierarchy?
Ans: The various views in system engineering hierarchy from top to bottom in order are
- World view
- Domain view
- Element view
- Detailed view
Q23. What are data aquistion systems?
Ans: Systems that collects data from sensors for subsequent processing and analysis are termed as Data acquistion systems. Data collection process and processing processes may have different periods and deadlines.
Q24. Define software configuration model?
Ans: SCM is the art of identifying, organizing, and controlling modifications to the software being built by a programming team. It is an umbrella activity that is applied throughout the software process.
Q25. What are the SCM activities?
Ans: SCM activities are developed to
- Identify change
- Control change
- Ensure that change is being properly implemented
- Report changes to others who may have an interest
Q26. What is meant by loop testing?
Ans:
- Loop testing is a white box testing techniques that focuses exclusively on the validity of loop constructs.
- This technique can be applied to simple loops, nested loops, concatenated loops and unstructured loops.
Q27. What are the advantages and disadvantages of white box testing?
Advantages :
Ans:
- Software’s structure logic can be tested.
Disadvantages :
- Doesn’t ensure that user requirements are met.
- Its test may not mimic real world situations
Q28. What is meant by smoke testing?
Ans: Smoke testing is an integration testing approach that is commonly used ehen “shrink wrapped ” software products are being developed.
Q29. What is alpha and beta tests?
Ans: Alpha test is the test that is conducted at the developer’s site by a customer. Beta test is the test that is conducted at one or more customer sites by the end-user of the software.
Q30. What is meant by system testing?
Ans:
- Advantages: System testing is actually a series of different tests whose primary purpose is to fully exercise the computer based system.
- It verifies whether the system elements have been properly integrated and perform the allocated functions.
Q31. Mention the categories of debugging approaches?
Ans: There are three categories of debugging approaches as follows :
- Brute force
- Back tracking
- Cause elimination
Q32. What is system image?
Ans: The system image combines the outward manifestation of the computer based system, coupled with all supporting information that describes system syntax and semantics.
Q33. What is transform mapping?
Ans: Transform mapping is a set of design steps that allows a DFD with transform flow charactersistics to be mapped into a specific architectural style.
Q34. What is tracebility matrix?
Ans:
- Traceability matrix is a document in which we map the test cases with the requirements.
- In general we check whether the application works as per requirements or whether we had covered all the required functionality through test cases.
Q35. List the metrics for specifying non functional requirements?
Ans: The possible metrics that specify the non-functional requirements are :
- Speed
- Size
- Easy of use
- Reliability
Q36. What are the advantages and disadvantages of black box testing?
Ans:
Advantages:
- Simulates actual system usage.
- Makes no system structure assumptions.
Disadvantages :
- Potential of missing logical errors in software.
- Possibility of redundant testing.
Q37. What are the broad categories of system requirements?
Ans: System requirements may be either functional or non-functional requirements
Q38. What are user requirements?
Ans:
- User requirements should describe functional and non-functional requirements so that they are understandable by system users who don’t have detailed technical knowledge.
- User requirements are defined using natural language, tables and diagrams.
Q39. What is test scenario ?
Ans:
- Test scenario is the hypothetical story to test the particular functionality of an application.
- It serves as an input to functional testing. For test scenario we need use case.
Q40. What is analysis model?
Ans: An analysis model is a set of models that serves as the technical representation of system
Q41. Define prototype?
Ans: Prototype is an initial version of a software system which is used to demonstrate concepts, try out design options and generally to find out more about the problem and its possible solutions.
Q42. What is the function of the user model?
Ans: The user model establishes the profile of end users of the system.
Q43. Define metric?
Ans: IEEE93 defines as a quantitative measure of the degree to which a system, componen, or process possesses a given attribute.
Q44. Mention some of the process models appropriate for the software to be engineered?
Ans:
- Linear sequential or waterfall model
- Prototyping model
- Rad mode
- Incremental model
- Spiral model
- Winwin spiral model
- Component based development model
Q45. What is adaptive maintenance?
Ans: Adaptive maintanence is the maintenance to adapt software to a different operating environment. It involves changing a system so that it operates in a different environment from its initial implementation