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.
Q1UGC NET Computer Science, June 2014 (Paper II & III, Selected Questions)
Regression testing is primarily related to
AFunctional testing
BDevelopment testing
CData flow testing
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 :
ACohesion is functional and coupling is data type
BCohesion is coincidental and coupling is data type
CCohesion is sequential and coupling is content type
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 ______
ACorrect errors that were not discovered till testing phase
BIs carried out to port the existing software to a new environment
CImproves the system performance
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?
A"Requirement validation" is one of the activities in the requirements phase
B"Prototyping" is one of the methods for requirement analysis
C"Modeling-oriented approach" is one of the methods for specifying the functional specifications
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?
ARequirement analysis
BRisk analysis
CDesign
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)
A(B) (A) (D) (C)
B(C) (D) (A) (B)
C(D) (C) (B) (A)
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 :
AThe difficulty in accommodating changes after requirement analysis
BThe difficult in accommodating changes after feasibility analysis
CThe system testing
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 _____
AIterative model
BPrototype model
CSpiral model
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
A5 2 1 3 4
B5 3 1 2 4
C4 1 2 3 5
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
AISO 9000: 2004
BISO 9001: 2000
CISO 9002: 2001
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 :
AA reasonable approach when requirements are well-defined
BA useful approach when a customer cannot define requirements clearly
CThe best approach to use for projects with large development teams
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.
AOnly S1 and S2
BOnly S3
CAll of S1, S2 and S3
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?
AThe importance of self-organizing teams as well as communication and collaboration between team members and customers
BRecognition that change represents opportunity
CEmphasis on rapid delivery of software that satisfies the customer
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 :
A(C), (A), (B), (D)
B(C), (A), (D), (B)
C(D), (C), (B), (A)
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?
APath Testing
BIntegration Testing
CUnit Testing
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______
AUsing sampling in place of exhaustive testing of software
BSurveying customers to find out their opinions about product quality
CTracing each defect to its underlying cause, isolating the vital few causes, and moving to correct them
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
AOnly S1 and S2 are FALSE
BOnly S1 and S3 are FALSE
COnly S2 and S3 are FALSE
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.