
B. To automatically find and fix bugs in source code
C. To convert design documents directly into working software
D. To improve the visual appearance of the user interface automatically
Solution: Version control systems (e.g., Git) maintain a history of every change made to a codebase. This allows developers
to review past changes, revert to earlier versions, branch for experimental features, and merge contributions from multiple
collaborators without overwriting each other’s work.
27. In a Gantt chart, what is a dependency between two tasks?
A. Two tasks grouped under the same milestone
B. A relationship in which one task cannot start until another task has finished
C. Two tasks assigned to the same developer
D. Two tasks with the same deadline
Solution: A task dependency (“finish-to-start”) means that a successor task cannot begin until its predecessor has completed.
Gantt charts visualise these dependencies with arrows connecting tasks, helping project managers identify the critical path —
the longest chain of dependent tasks that determines the minimum project duration.
28. Which of the following best describes a common trade-off of pair programming?
A. It splits one task into two independent coding tasks, which speeds development but makes integration harder
B. It uses two developers on one task, which may increase effort upfront but can improve code quality and reduce defects
C. It requires writing production code and test code at the same time, which improves coverage but doubles the codebase
D. It runs the same application on two identical servers, which improves reliability but doubles hosting cost
Solution: In pair programming, two developers work together at one workstation: one writes code (the “driver”) while the
other reviews each line (the “navigator”). The immediate trade-off is that two people are needed for what one person could do
alone. However, research shows that pair programming reduces defect rates, improves design quality, and facilitates knowledge
sharing.
29. In data analysis, what is an outlier?
A. A data point that lies unusually far from the others
B. The target variable being predicted
C. A missing value recorded as blank
D. A duplicate record
Solution: An outlier is an observation that deviates markedly from the overall pattern of the dataset. Outliers may be caused
by measurement errors, data entry mistakes, or they may represent genuine but rare phenomena. They are important to detect
because they can disproportionately affect summary statistics (e.g., mean) and distort model training.
30. What is the main purpose of exploratory data analysis (EDA)?
A. To train and evaluate the final predictive model
B. To understand a dataset by summarising patterns, spotting anomalies, and checking data quality
C. To encrypt and secure sensitive information before storage
D. To gather new raw data from external sources
Solution: EDA is the process of examining a dataset before formal modelling — using summary statistics, visualisations (his-
tograms, box plots, scatter plots, etc.), and correlation analysis to understand the data’s structure, distribution, and relationships.
It helps identify missing values, outliers, data quality issues, and promising features before committing to a model.
Page 6 of 10