UGC NET · Computer Science

Software Engineering Previous Year Questions

17 Software Engineering (Computer Science) questions asked in UGC NET previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.

  • 17 questions
  • Official answer key
  • Free

Other Computer Science topics

Q1UGC NET Computer Science, June 2014 (Paper II & III, Selected Questions)
Regression testing is primarily related to
  1. AFunctional testing
  2. BDevelopment testing
  3. CData flow testing
  4. DMaintenance testing
Show answerHide answer

Correct answer: (D) Maintenance testing

Explanation

Regression testing is the process of testing changes to computer program to make sure that the older programming still works with the new changes. This happens only in case of maintenance. So it relates to the maintenance testing, hence the answer is option (d).

Q2UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
A software design is highly modular if :
  1. ACohesion is functional and coupling is data type
  2. BCohesion is coincidental and coupling is data type
  3. CCohesion is sequential and coupling is content type
  4. DCohesion is functional and coupling is stamp type
Show answerHide answer

Correct answer: (A) Cohesion is functional and coupling is data type

Explanation

We know our aim is to maximize cohesion & minimum coupling Strong form of cohesion is functional cohesion weakest form of coupling is data coupling.

Q3UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Adaptive maintenance is a maintenance which ______
  1. ACorrect errors that were not discovered till testing phase
  2. BIs carried out to port the existing software to a new environment
  3. CImproves the system performance
  4. DBoth (b) and (c)
Show answerHide answer

Correct answer: (B) Is carried out to port the existing software to a new environment

Explanation

Adaptive maintenance is a modification of a software product performed after delivery to keep it usable in a changed or changing environment, e.g. porting the existing software to a new environment.

Q4UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
Which one of the following statements, related to the requirements phase in software Engineering, is incorrect?
  1. A"Requirement validation" is one of the activities in the requirements phase
  2. B"Prototyping" is one of the methods for requirement analysis
  3. C"Modeling-oriented approach" is one of the methods for specifying the functional specifications
  4. D"Function points" is one of the most commonly used size metric for requirements
Show answerHide answer

Correct answer: (C) "Modeling-oriented approach" is one of the methods for specifying the functional specifications

Explanation

Requirement validation is an activity in the requirements phase where the gathered requirements are checked for completeness, consistency and correctness. Prototyping is a technique for requirement analysis that builds a working model to get user feedback. Function points are a commonly used size metric for requirements. The modeling-oriented approach is not one of the methods for specifying the functional specifications, so statement (c) is incorrect.

Q5UGC NET Computer Science, June 2016 (Paper II & III, Selected Questions)
Which of the following is not included in waterfall model?
  1. ARequirement analysis
  2. BRisk analysis
  3. CDesign
  4. DCoding
Show answerHide answer

Correct answer: (B) Risk analysis

Explanation

The waterfall model is a sequential (non-iterative) process; it includes requirements, design, implementation, verification and maintenance. Risk analysis is used in the spiral model.

Q6UGC NET Computer Science, June 2016 (Paper II & III, Selected Questions)
Match each application/software design concept in List-I to its definition in List-II. List-I i. Coupling ii. Cohesion iii. Scalable iv. Readable List-II A. Easy to visually inspect the design of the software and understand its purpose B. Easy to add functionality to a software without having to redesign it C. Focus of a code upon a single goal. D. Reliance of a code module upon other code modules. Code: (i) (ii) (iii) (iv)
  1. A(B) (A) (D) (C)
  2. B(C) (D) (A) (B)
  3. C(D) (C) (B) (A)
  4. D(D) (A) (C) (B)
Show answerHide answer

Correct answer: (C) (D) (C) (B) (A)

Explanation

(i) Coupling measures how dependent modules are on each other – (D). (ii) Cohesion reflects how well a module's elements work toward a single purpose – (C). (iii) Scalability means the system can grow (add functionality/workload) without redesign – (B). (iv) Readable code is easy to inspect and understand – (A).

Q7UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
The major shortcoming of waterfall model is :
  1. AThe difficulty in accommodating changes after requirement analysis
  2. BThe difficult in accommodating changes after feasibility analysis
  3. CThe system testing
  4. DThe maintenance of system
Show answerHide answer

Correct answer: (A) The difficulty in accommodating changes after requirement analysis

Explanation

The main drawback of the waterfall model is the difficulty of accommodating change after the process is under way. (1) Difficult to address change: Inflexible partitioning of the project into distinct stage makes it difficult to respond to changing customer requirements. Therefore, this model is only appropriate when the requirement are well understood and changes will be fairly limited during the design process

Q8UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
The quick design of a software that is visible to end users leads to _____
  1. AIterative model
  2. BPrototype model
  3. CSpiral model
  4. DWaterfall model
Show answerHide answer

Correct answer: (B) Prototype model

Explanation

Prototype typically simulates only a few aspects of, and may be completely different from, the final product. Prototyping has several benefits. The software designer and implementer can get valuable feedback from the user early in the project.

Q9UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
Match each software lifecycle model in List-I to its description in List-II: List-I A. Code-and-Fix B. Evolutionary prototyping C. Spiral D. Staged Delivery E. Waterfall List-II 1. Assess risks at each step; do most critical action first. 2. Build an initial small requirement specifications, code it, then "evolve" the specifications and code as needed. 3. Build initial requirement specification for several releases, then design-and-code in sequence. 4. Standard phases (requirements, design, code, test) in order 5. Write some code, debug it, repeat (i.e. adhoc) Codes: A B C D E
  1. A5 2 1 3 4
  2. B5 3 1 2 4
  3. C4 1 2 3 5
  4. D3 5 1 2 4
Show answerHide answer

Correct answer: (A) 5 2 1 3 4

Explanation

Code-and-fix: write some code, debug it, repeat (A-5). Evolutionary prototyping: the system is developed incrementally by evolving the specification and code (B-2). Spiral model: assess risks at each step (C-1). Staged delivery: requirements for several releases first, then design and code in sequence (D-3). Waterfall model: sequential, non-iterative standard phases (E-4).

Q10UGC NET Computer Science, August 2016 (Paper II & III, Selected Questions)
The ISO quality assurance standard that applies to software Engineering is
  1. AISO 9000: 2004
  2. BISO 9001: 2000
  3. CISO 9002: 2001
  4. DISO 9003: 2004
Show answerHide answer

Correct answer: (B) ISO 9001: 2000

Explanation

The 9001 : 2000 is the quality assurance standard that applies to software engineering. The standard contains 20 requirement that must be present for an effective quality assurance system.

Q11UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
The prototyping model of software development is :
  1. AA reasonable approach when requirements are well-defined
  2. BA useful approach when a customer cannot define requirements clearly
  3. CThe best approach to use for projects with large development teams
  4. DA risky model that rarely produces a meaningful product
Show answerHide answer

Correct answer: (B) A useful approach when a customer cannot define requirements clearly

Explanation

This model allows for the creation of a preliminary version (prototype) of the software, which can be refined iteratively based on user feedback until satisfactory version is achieved. Clarifies Requirements– The prototyping process helps customers visualize and understand what the final product will look like and how it will function. Reduce Risk– By identifying potential issues early on through prototyping, developers can avoid costly rework and delays later in the development cycle.

Q12UGC NET Computer Science, June 2017 (Paper II & III, Selected Questions)
Which of the following statement(s) is/are true with respect to software architecture? S1 : Coupling is a measure of how well the grouped together in a module belong together logically. S2 : Cohesion is a measure of the degree of interaction between software modules S3 : If coupling is low and cohesion is high then it is easier to change one module without affecting others.
  1. AOnly S1 and S2
  2. BOnly S3
  3. CAll of S1, S2 and S3
  4. DOnly S1
Show answerHide answer

Correct answer: (B) Only S3

Explanation

S1 and S2 swap the definitions: cohesion measures how well the things grouped in a module belong together, and coupling measures the degree of interaction between modules. S3 is true: if coupling is low and cohesion is high, it is easier to change one module without affecting others.

Q13UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following is not a key issue stressed by an agile philosophy of software engineering?
  1. AThe importance of self-organizing teams as well as communication and collaboration between team members and customers
  2. BRecognition that change represents opportunity
  3. CEmphasis on rapid delivery of software that satisfies the customer
  4. DHaving a separate testing phase after a build phase
Show answerHide answer

Correct answer: (D) Having a separate testing phase after a build phase

Explanation

Agile philosophy stresses self-organizing teams, collaboration with customers, welcoming change and rapid delivery of working software. Testing is done continuously along with development, not as a separate phase after the build phase.

Q14UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
What is the normal order of activities in which traditional software testing is organized ? (A) Integration Testing (B) System testing (C) Unit Testing (D) Validation Testing Code :
  1. A(C), (A), (B), (D)
  2. B(C), (A), (D), (B)
  3. C(D), (C), (B), (A)
  4. D(B), (D), (A), (C)
Show answerHide answer

Correct answer: (A) (C), (A), (B), (D)

Explanation

Traditional testing starts with unit testing, followed by integration testing, then system testing and finally validation (acceptance) testing: (C), (A), (B), (D).

Q15UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following testing techniques ensures that the software product runs correctly after the changes during maintenance?
  1. APath Testing
  2. BIntegration Testing
  3. CUnit Testing
  4. DRegression Testing
Show answerHide answer

Correct answer: (D) Regression Testing

Explanation

Regression testing verifies that previously developed and tested software still performs correctly after it has been changed, e.g. after enhancements or patches during maintenance.

Q16UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Statistical software quality assurance in software engineering involves______
  1. AUsing sampling in place of exhaustive testing of software
  2. BSurveying customers to find out their opinions about product quality
  3. CTracing each defect to its underlying cause, isolating the vital few causes, and moving to correct them
  4. DTracing each defect to its underlying causes, and using the pare to principle to correct each problem found
Show answerHide answer

Correct answer: (C) Tracing each defect to its underlying cause, isolating the vital few causes, and moving to correct them

Explanation

Statistical software quality assurance in software engineering involves tracing each defect to its underlying cause, isolating the vital few causes, and moving to correct them.

Q17UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following statements is/are FALSE with respect to software testing? S1 : White-box tests are based on specifications; better at telling whether program meets specification, better at finding errors of omission S2 : Black-box tests are based on code; better for finding crashes, out of bounds errors, file not closed errors. S3 : Alpha testing is conducted at the developer's site by a team of highly skilled testers for software that is developed as a product to be used by many customers
  1. AOnly S1 and S2 are FALSE
  2. BOnly S1 and S3 are FALSE
  3. COnly S2 and S3 are FALSE
  4. DAll of S1, S2 and S3 are FALSE
Show answerHide answer

Correct answer: (A) Only S1 and S2 are FALSE

Explanation

S1 and S2 interchange white-box and black-box testing: black-box tests are based on specifications and white-box tests are based on code, so both are false. S3 correctly describes alpha testing. So only S1 and S2 are FALSE.

How to use these UGC NET Computer Science questions

Every question here was asked in a real UGC NET paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full UGC NET papers as timed tests to check your speed under exam conditions.