100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Essay

Unit 16 Procedural Programming - Assignment 4 (P5, M3, D2) - Test Plan

Rating
5.0
(1)
Sold
2
Pages
9
Grade
Distinction
Uploaded on
03-01-2020
Written in
2018/2019

Assignment 4 - Test Plan - Includes full testing table as well as screenshots with comments and annotations | BTEC Level 3 Unit 16 Procedural Programming | Criteria Covered: P3, P4 - ALL CRITERIA WERE MET

Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Study Level
Examinator
Subject
Unit

Document information

Uploaded on
January 3, 2020
Number of pages
9
Written in
2018/2019
Type
Essay
Professor(s)
Unknown
Grade
Distinction

Subjects

Content preview

Test Plan | Yonkov, Boyan



Assignment 4 – Test Plan
Part 1 – Test Plan
No. Description Expected Result Actual Result Passed?
1 User will be able to enter height of the room. After running the program a message The user is promoted with the YES
This will the test if the program prompts the saying “Enter the height of the question and they are able to [1]
user with an input form for the user to enter room:” and the user is able to enter enter an input
an integer which will be stored in a variable. an input.
2 User will only be able to enter a number If the number they enter is not When trying to type in letters as NO, only
between 2 and 6 meters for the height. If the between 2 and 6 then the program the input instead of an integer I partially
number is not between 2 and 6 than the will ask the user to enter it again. found that I get an error [2]
question will be repeated until a valid answer message and that is because I
is entered. have used the int() function.
With numbers the program runs
as expected.
3 User will be able to enter width of each room. Program will ask for the width of The user is able to enter a width YES
This test will check if the user is asked to enter each individual wall and they will be for all four walls. [3]
an integer for the height and if it gets stored stored in a variable
inside the variable. It will also check that all 4
widths work separately and correctly.
4 User will only be able to enter an integer The user enters a valid number and I found that the program would NO, only
between 1 and 25 meters. If an invalid input is program continues. If the number is break and display an error partially
entered it will ask the user to enter an input not between 1 and 25 than the message when I tried to enter a [4]
again until a valid input has been entered. This program will ask the user to enter a decimal number. With integers
will work for all 4 walls. number again. the program worked as
expected.
5 Program will calculate area. After the user The program will use the variables The total area was calculated YES
input the width of each wall and the height of and times the height by each wall and displayed using the [5]
the room. The program will then print the total and display the total area. variables.
area of the room.
6 Program will calculate total wall cost. After The program will times the area of The total cost gets calculated YES
choosing the quality of the paint the program the room and multiply by the cost of correctly and displayed in the bill [6]

Reviews from verified buyers

Showing all reviews
4 year ago

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Boyan67 PEARSON
Follow You need to be logged in order to follow users or courses
Sold
132
Member since
6 year
Number of followers
109
Documents
9
Last sold
2 year ago

3.3

36 reviews

5
11
4
5
3
10
2
5
1
5

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right 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 aced it. It really can be that simple.”

Alisha Student

Frequently asked questions