Skip to content

Technical overview

Stanislav Tashev edited this page Nov 20, 2022 · 2 revisions

General concept

This is a C++ application about practising and learning Physics and more especially mechanics. We have quizzes, exercises, calculators and demonstration of uniform acceleration in the name of Tower Of Pizza.

Function Overview

Table of functions

Name Type Decription
DensityCalculator() Void Calculate the Density after entering a value
massCalculator() Void Calculator
DensityMassCalculator() Void Check if the user wants to use mass or Density calculator
ExerciseOneDensity() Void Add first problem to Density
ExeriseTwoDensity() Void Add second problem to Density
OptionMenuDensity() Void Print the menu for Density
Density() Void Run the main menu for Density
ClearScreen() Void Clean the console
OutputErorrMessage() string Print the error message
ReturnToMainMenu() Void Return to the main menu
OutputFormula() String Print the formula
OutputProblem() String Print the massage to solve problem
Start() void Run the code
FormulaList() void Print the Formula List
PrintTower() Void Print the Tower of Pizza

Quality assurance and Testing

Test Case 1

ID UT_0001 Created by Raya Mavraganova
Name Test out the formula list
Description Tested the formula list Created on 05/10/2021
# Description Test Data Expectations Actual Result Status
1 Choose option Formula List in the main menu 8 Open the formula list Open the formula list PASSED

Test Case 2

ID UT_0001 Created by Raya Mavraganova
Name Test the main menu
Description Tested the main menu Created on 05/10/2021
# Description Test Data Expectations Actual Result Status
1 Choose option 1 in the main menu 1 Open Density option menu Open Density option menu PASSED
2 Choose option 2 in the main menu 2 Open Free Fall option menu Open FreeFall option menu PASSED
3 Choose option 3 in the main menu 3 Open Gravity option menu Open Gravity option menu Passed
4 Choose option 4 in the main menu 4 Open Hydrostatic Pressure option menu Open Hydristatic Pressure option menu Passed
5 Choose option 5 in the main menu 5 Open Newton's Law option menu Open Newton's Law option menu Passed
6 Choose option 6 in the main menu 6 Open Pressure option menu Open Pressure option menu Passed
7 Choose option 7 in the main menu 7 Open Uniform acceleration option menu Open Uniform Acceleration option menu Passed
8 Choose option 8 in the main menu 8 Open Recap Quiz option menu Open Recap quiz option menu Passed

Test Case 3

ID UT_003 Created by Raya Mavraganova
Name Test the quizes
Description Test the quizes Created on 05/12/2021
# Description Test Data Expectations Actual Result Status
1 After choosing option 1 in the main menu choose option 2 2 Open Density Quiz Open Density Quiz PASSED
2 After choosing option 2 in the main menu choose option 2 2 Open FreeFall Quiz Open FreeFall Quiz PASSED
3 After choosing option 3 in the main menu choose option 2 3 Open Gravity Quiz Open Gravity Quiz PASSED
4 After choosing option 4 in the main menu choose option 2 4 Open Hydrostatic Pressure Quiz Open Hydrostatic Pressure Quiz PASSED
5 After choosing option 5 in the main menu choose option 2 5 Open Newtons Law Quiz Open Newtons Law Quiz PASSED
6 After choosing option 6 in the main menu choose option 2 6 Open Pressure Quiz Open Pressure Quiz PASSED
7 After choosing option 7 in the main menu choose option 2 7 Open Uniform Acceleration Quiz Open Uniform Acceleration Quiz PASSED

Blockschemes

Clone this wiki locally