Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

INF3705 Assignment 2 2024 - DUE 6 September 2024

Rating
-
Sold
-
Pages
16
Grade
A+
Uploaded on
24-04-2024
Written in
2023/2024

QUESTIONS WITH ANSWERS

Institution
Module

Content preview

INF3705 ASSIGNMENT 2
2024 - DUE 6
SEPTEMBER 2024




[Company address]

,INF3705 Assignment 2 2024 - DUE 6 September 2024

Question 1 [15 marks]
Explain the difference between Development testing and Test-driven
development.
Development Testing:
• Focus: This is a broader term encompassing various testing activities
performed during the software development lifecycle (SDLC).
• Timing: Testing can occur at different stages of development, like unit
testing during coding, integration testing when modules are combined, or
system testing of the entire application.
• Goal: To identify and fix bugs, ensure functionalities meet requirements,
and improve overall software quality.
• Tests: Development tests can be written before, during, or after code
implementation.
Test-Driven Development (TDD):
• Focus: A specific software development approach where tests are
written before the actual code.
• Timing: Tests are written first, followed by writing minimal code to make
those tests pass. This cycle of test-code-refactor repeats for each
functionality.
• Goal: Similar to development testing, TDD aims for bug-free, functional
code. Additionally, it promotes good code design, maintainability, and clear
understanding of requirements.
• Tests: In TDD, tests are written first, defining the expected behavior of the
code before it's written.
In simpler terms:
For exam pack with questions and answers, quality notes, assignments and exam
help:
email:
WhatsApp: +254792947610

, • Development testing is like checking your work after you've done it.
• TDD is like writing down the instructions (tests) for a project before you
even start building it.
Here's a table summarizing the key points:
pen_spark
Feature Development Testing Test-Driven Development (TDD)

General software Specific software development
Focus
testing approach


Timing of Before, during, or
Written before the code
Tests after code


Same as development testing +
Find and fix bugs,
Goal promotes good design and
ensure functionality
maintainability


Test Writing Tests written first, guide code
Can be flexible
Approach development

Question 2 [09 marks]
What are the strategic options for legacy system evolution? When would you
normally replace all or part of a system rather than continue maintenance of
the software?
1. Encapsulation: Wrap the legacy code in a new layer to isolate it from the
rest of the system. This allows you to make changes to the internal workings
of the legacy system without affecting other parts of the application.
For exam pack with questions and answers, quality notes, assignments and exam
help:
email:
WhatsApp: +254792947610

Written for

Institution
Module

Document information

Uploaded on
April 24, 2024
Number of pages
16
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

£4.00
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
JayBih
3.0
(1)

Get to know the seller

Seller avatar
JayBih Bournemouth University (London)
Follow You need to be logged in order to follow users or courses
Sold
5
Member since
2 year
Number of followers
5
Documents
113
Last sold
2 year ago

3.0

1 reviews

5
0
4
0
3
1
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions