Quiz

Here is a quiz to test your understanding of the concepts covered in this chapter.

1

When a program that is built by the ‐unittest switch is started, its unit test blocks are executed first. Only if all of the unit tests pass does the program execution continue with main().

If a program is built by the -unittest switch, its unit test blocks are executed _____.

A)

before the execution of the main() function

B)

after the execution of the main() function

C)

when unittest blocks are called from the main() function

D)

at the end of the program

Question 1 of 40 attempted

Get hands-on with 1200+ tech skills courses.