100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
INF3705 Assignment 2 2024 - DUE 6 September 2024 $3.00   Add to cart

Exam (elaborations)

INF3705 Assignment 2 2024 - DUE 6 September 2024

 11 views  1 purchase
  • Course
  • Institution

INF3705 Assignment 2 2024 - DUE 6 September 2024 QUESTIONS AND ANSWERS

Preview 3 out of 16  pages

  • April 24, 2024
  • 16
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
INF3705
ASSIGNMENT 2 2024
- DUE 6 SEPTEMBER
2024
QUESTIONS WITH COMPLETE ANSWERS




[School]
[Course title]

,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: musyokah11@gmail.com
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: musyokah11@gmail.com
WhatsApp: +254792947610

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller msmartie11. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $3.00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77254 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$3.00  1x  sold
  • (0)
  Add to cart