Question 2: Test Values Question 2.1 You are creating a function used in aiming your research laser. What are the test values for each of the three ranges used in this function: AimLaser (int declination, int rightAscension); declination can be any integer value from 0 to 90 (i.e., 91 values). • rightAscension can be any integer from 0 to 359, except it cannot be 39, 40, 41, or 42 (i.e., 356 values between both ranges). Question 2.2 If your goal is to find bugs/defects in the software, how would you test declination? Imagine you are your team's tester and you perform exploratory testing on the function AimLaser. Think about the things that you might try to make the function behave in unexpected ways. Explain your thought process and give examples of values you'd test, why you'd use that value, and results you'd expect.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 28SA
icon
Related questions
Question

Answer the given question with a proper explanation and step-by-step solution.

Please meet this requirement: All partition values are given for the three (3) ranges, optionally with a reflection about the proper handling of rightAscension.

Question 2: Test Values
Question 2.1
You are creating a function used in aiming your research laser. What are the test values for each of
the three ranges used in this function:
AimLaser(int declination, int rightAscension);
declination can be any integer value from 0 to 90 (i.e., 91 values).
• rightAscension can be any integer from 0 to 359, except it cannot be 39, 40, 41, or 42 (i.e., 356
values between both ranges).
Question 2.2
If your goal is to find bugs/defects in the software, how would you test declination? Imagine you
are your team's tester and you perform exploratory testing on the function AimLaser. Think about
the things that you might try to make the function behave in unexpected ways.
Explain your thought process and give examples of values you'd test, why you'd use that value, and
results you'd expect.
Transcribed Image Text:Question 2: Test Values Question 2.1 You are creating a function used in aiming your research laser. What are the test values for each of the three ranges used in this function: AimLaser(int declination, int rightAscension); declination can be any integer value from 0 to 90 (i.e., 91 values). • rightAscension can be any integer from 0 to 359, except it cannot be 39, 40, 41, or 42 (i.e., 356 values between both ranges). Question 2.2 If your goal is to find bugs/defects in the software, how would you test declination? Imagine you are your team's tester and you perform exploratory testing on the function AimLaser. Think about the things that you might try to make the function behave in unexpected ways. Explain your thought process and give examples of values you'd test, why you'd use that value, and results you'd expect.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning