Software Engineering: GATE CS Previous Year Questions

Software Engineering · Software Engineering and Web Technology

56 questions · asked in 11 of 27 years (2000–2026)

MCQ 53 · NAT 31-mark 42 · 2-mark 14

2000Questions per year2026

Questions 26–30 of 56

Q26GATE 20082 marksMCQ−0.67 if wrong
A software engineer is required to implement two sets of algorithms for a single set of matrix operations in an object oriented programming language; the two sets of algorithms are to provide precisions of 10−310^{-3} and 10−310^{-3}, respectively. She decides to implement two classes, Low Precision Matrix and High Precision Matrix, providing precisions 10−310^{-3} and 10−610^{-6} respectively. Which one of the following is the best alternative for the implementation?

S1: The two classes should be kept independent.
S2: Low Precision Matrix should be derived from High Precision Matrix.
S3: High Precision Matrix should be derived from Low Precision Matrix.
S4: One class should be derived from the other; the hierarchy is immaterial.

Q27GATE 20082 marksMCQ−0.67 if wrong
A software project plan has identified ten tasks with each having dependencies as given in the following table:
Task Depends On T1 - T2 T1 T3 T1 T4 T1 T5 T2 T6 T3 T7 T3, T4 T8 T4 T9 T5, T7, T8 T10 T6, T9
Answer the following questions:
(Q1) What is the maximum number of tasks that can be done concurrently?
(Q2) What is the minimum time required to complete the project, assuming that each task requires one time unit and there is no restriction on the number of tasks that can be done in parallel ?

Q28GATE 20082 marksMCQ−0.67 if wrong
Which of the following are NOT considered when computing function points for a software project?
(O1) External inputs and outputs
(O2) Programming language to be used for the implementation
(O3) User interactions
(O4) External interfaces
(O5) Number of programmers in the software project
(O6) Files used by the system

Q29GATE 20081 markMCQ−0.33 if wrong
Find if the following statements in the context of software testing are TRUE or FALSE.
(S1): Statement coverage cannot guarantee execution of loops in a program under test.
(S2): Use of independent path testing criterion guarantees execution of each loop in a program under test more than once.

Q30GATE 20071 markMCQ−0.33 if wrong
Consider the following pseudo-code:
 IF ((A > B) AND (C > D)) THEN
       A = A + 1
       B = B + 1
ENDIF

The cyclomatic complexity of the pseudo-code is

Keep practising

Topics in Software Engineering and Web Technology

All CS topics ›
Software EngineeringYou are here56 questions · asked in 11 years
Web Technology15 questions · asked in 7 years