Software testing the third job--7. Use the following method Printprimes () to complete the question after (a) ~ (f)

Source: Internet
Author: User

(a) The control flow chart is as follows:

(b) In order to maxprimes=4, there will be a cross-border error.

(c) N=1, which does not pass through the while loop body.

(d) node overwrite: {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}

Side overlays: {(2,3), (3,4), (4,5), (5,6), (6,7), (6,8), (8,5), (5,9), (7,9), (9,10), (10,11), (9,11), (11,2), (2,12), (12,13), ( 13,14), (14,13), (13,15)}

Main path overrides: {(3,4,5,6,7,9,10,11,2,12,13,15), (3,4,5,6,7,9,10,11,2,12,13,14)}

(e) A test path that implements a node overlay instead of an edge overlay in the figure:

{(1,2,3,4,5,6,8,5,6,7,9,10,11,2,12,13,14,13,15)}

(f) A test path that implements an edge overlay instead of a master path overlay in the figure:

{(1,2,3,4,5,6,7,9,10,11,2,3,4,5,6,8,5,9,11,2,12,13,14,13,15)}

Software testing the third job--7. Use the following method Printprimes () to complete the question after (a) ~ (f)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.