Preview

It 210 - Algorithm Verification Checkpoint Essay Example

Satisfactory Essays
Open Document
Open Document
349 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
It 210 - Algorithm Verification Checkpoint Essay Example
CheckPoint: Algorithm Verification
• Answer the following questions about the information in Appendix J:

o What will be printed if the input is 0?
“You fail” o What will be printed if the input is 100?
“Your grade is 100” and “You did great” o What will be printed if the input is 51?
“Your grade is 51” and “You did well” o What will be printed if the user enters “Wingding”? “How did you do?” – because Wingding is not a value between 0 and 100. o Is this design robust? If so, explain why. If not, explain what you can do to make it robust. This design is pretty good, but could use a little bit more backbone. It doesn’t specify what the output will be if a non-numeric value is inputted – there should be an error output in the design. I also think that it should have an output value that would give the test score in a percentage form. o How many levels of nesting are there in this design? There are three nested loops in this design. o Provide a set of values that will test the normal operation of this program segment.
Defend your choices.
Test Values Input (X) Output 15 You fail 48 You fail 86 Your grade is 86 – You did great 69 Your grade is 69 – You did OK

o Provide a set of test values that will cause each of the branches to be executed. Test Values Input (X) Output 30 You fail 60 Your grade is 60 – You did OK 80 Your grade is 80 – You did well 90 Your grade is 90 – You did great 500 How did you do?

o Provide a set of test values that test the abnormal operation of this program segment. Test Values Input (X) Output Hello How did you do? 120 How did you do? Guess How did you do?

Anything other than a numeric value between 0 and 100 will return the same

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Nt1330 Unit 4

    • 804 Words
    • 4 Pages

    12. What method can you use to test memory on a Windows XP system by using the…

    • 804 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Assume the role of an IT consultant to a new nonprofit organization, Free Flu, which provides flu shots to the elderly. The organization needs a domain name.…

    • 348 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    IT210 R5 Appendix D 2

    • 197 Words
    • 2 Pages

    I. Running a program using various sets of inputs to determine if the program is running properly…

    • 197 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    CAUA 8

    • 1452 Words
    • 5 Pages

    Q 3: Perform the following tests of controls. For each control state the command or commands that you did to test the control and the results of the test.…

    • 1452 Words
    • 5 Pages
    Good Essays
  • Good Essays

    The tag used to insert a image is <img> and this tag embeds an image in an HTML page. If you notice that the images are not technically inserted into an HTML page, images are linked to HTML pages. The <img> tag creates a holding space for the referenced image. The <img> tag has two required attributes: src and alt. In HTML the <img> tag has no end tag. In XHTML the <img> tag must be properly closed.…

    • 520 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    of the test of these attributes. In order to have a true test of these…

    • 2046 Words
    • 9 Pages
    Powerful Essays
  • Satisfactory Essays

    This example could even be expanded to include other specifics about the item like color and size or any number of other parameters that may pertain to that item. Again in this example you can see that it is much more efficient than creating an individual line of code to collect each value required for the…

    • 326 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    It 210 Week 7

    • 286 Words
    • 2 Pages

    2. Display the contents of the file GRADES created in Problem 1. Each student’s record should appear on a separate line and include the total score (the sum of the three tests) for that student. For example, a line of output might be as follows:…

    • 286 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    paper

    • 362 Words
    • 2 Pages

    8. Describe what each of these tests or scripts performs within the Zenmap GUI (Nmap) scan report.…

    • 362 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    cloud

    • 2069 Words
    • 9 Pages

    Open the Windows CLI Using the Desktop or Quick Launch Command Prompt icon. Change Directory to the C:\Scripts\ folder (cd \Scripts). Verify that the files PC_Tests.cmd and PC_Tests.vbs exists in this directory. If the files are absent, they can be extracted from the downloaded Doc Sharing file PC_Tests.zip.…

    • 2069 Words
    • 9 Pages
    Satisfactory Essays
  • Satisfactory Essays

    This Is a Paper

    • 469 Words
    • 2 Pages

    Provide a set of values that will test the normal operation of this program segment. Defend your choices.…

    • 469 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    All data-input and data-display operations (cin and cout) should be done in the function main() test program.…

    • 477 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Sheet01

    • 1045 Words
    • 5 Pages

    4. What is the result of the following code and where is it kept? LDAA #$15 ADDA #$13 5. Which of the following instructions is (are) illegal? a- LDAA #500 b- LDAA #50 c- LDAA #00 d- LDAA #$255 e- LDAA #$25 f- LDAA #$F5 g- ADDA mybyte , #$25 6. Which of the following instructions is (are) illegal? a- ADDA #$300 b- ADDA #$50 c- ADDA #$500 d- ADDA #$255 e- ADDA #12 f- ADDA#$F5 g- ADDA #$25 7. 8. 9. 10. Show a simple code to load values 30H and 97H into locations 805H and 806H, respectively. Show a simple code to load value 55H into locations 300H and 308H. Show a simple code to load value 5FH into Port B. Which of the following is an invalid use of the immediate addressing mode? a- LDDA #$24 b- LDAA $30 c- LDAA #$60…

    • 1045 Words
    • 5 Pages
    Satisfactory Essays
  • Better Essays

    B. The company must make sure the implementation of the test is done in a uniform manner.…

    • 1281 Words
    • 6 Pages
    Better Essays
  • Good Essays

    Scientific Method

    • 699 Words
    • 3 Pages

    reproducible so that it can be tested for errors. 5.Analyze the data and draw a conclusion: As…

    • 699 Words
    • 3 Pages
    Good Essays