UGC NET · PAPER 2
UGC NET Paper 2 Computer Science – Unit 6: Software Engineering PYQ (December 2022 Shift 1)
Q21. Which of the following is NOT one of the principles of good coding?
- Create unit tests before you begin coding.
- Create a visual layout that aids understanding.
- Refactor the code after you complete the first coding pass.
- Write self-documenting code, not program documentation.
Q22. If P is the risk probability and L is the loss, then risk exposure (RE) is computed as ______
- RE = P / L
- RE = P + L
- RE = P × L
- RE = 2 + (P × L)
Q23. Which of the following is a technique used for component wrapping?
- Black-box wrapping
- Clear-box wrapping
- Gray-box wrapping
- White-box wrapping
Q24. The cyclomatic complexity metric provides the designer with information regarding the number of ______
- Cycles in the program
- Errors in the program
- Independent logic paths in the program
- Statements in the program
Q54. Statement I: Software testing must be recognised as a significant effort, and its planning must begin at the earliest possible time.
Statement II: The cost of software testing is an important contribution in determining overall software development costs.
Statement II: The cost of software testing is an important contribution in determining overall software development costs.
- Both Statement I and Statement II are true.
- Both Statement I and Statement II are false.
- Statement I is true but Statement II is false.
- Statement I is false but Statement II is true.
Q55. Which of the following need not be assessed during unit testing?
A. Algorithmic performance
B. Number of lines of code
C. Error handling
D. Execution paths
Choose the correct answer from the options given below:
A. Algorithmic performance
B. Number of lines of code
C. Error handling
D. Execution paths
Choose the correct answer from the options given below:
- A, B, C only
- A, B, D only
- A, C, D only
- B, C, D only
Q71. Match List I with List II
| List I | List II |
|---|---|
| A. Condition coverage | I. Black box testing |
| B. Equivalence class partitioning | II. System testing |
| C. Volume testing | III. White box testing |
| D. Alpha testing | IV. Performance testing |
- A-II, B-III, C-IV, D-I
- A-III, B-I, C-IV, D-II
- A-IV, B-I, C-II, D-III
- A-III, B-IV, C-I, D-II
Q81. The incremental model of software development is ____
- A reasonable approach when requirements are well defined.
- A good approach when a working core product is required quickly.
- The best approach to use for projects with large development teams.
- A revolutionary model that is not used for commercial products.
Q88. The primary objectives of the SWE-IPT (software engineering integrated product team) are to:
A. Solicit stakeholder needs and expectations.
B. Specify the software requirements for the product and post-development processes.
C. Generate the integrated technical plans for accomplishing the software development effort.
D. Translate stakeholder requirements into a complete, specified architectural description.
E. Ensure that the software technical data package is sufficiently detailed to facilitate an efficient and effective software implementation.
Choose the correct answer from the options given below:
A. Solicit stakeholder needs and expectations.
B. Specify the software requirements for the product and post-development processes.
C. Generate the integrated technical plans for accomplishing the software development effort.
D. Translate stakeholder requirements into a complete, specified architectural description.
E. Ensure that the software technical data package is sufficiently detailed to facilitate an efficient and effective software implementation.
Choose the correct answer from the options given below:
- All the statements are correct.
- Only B & C are correct.
- Only A & E are correct.
- Only C, D & E are correct.