Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

7. (TCO 8) Setting a breakpoint on a line of code and running your program (Poin

ID: 3529174 • Letter: 7

Question

7. (TCO 8) Setting a breakpoint on a line of code and running your program (Points : 5) causes your program to fail at the point where the breakpoint occurs. allows the debugger to stop your program just after the line containing the breakpoint executes. allows the debugger to stop your program just before the line containing the breakpoint executes. None of the above 8. (TCO 9) Testing repetition statements (Points : 5) must validate that a loop repeats the correct number of times. controlled by complex conditionals can involve many test cases. must have a test case for each condition which terminates the loop. All of the above 9. (TCO 9) Which of the following statements about testing are true? (Points : 5) Black box test cases can be written as soon as the problem statement and program requirements are specified. White box testing is typically done by the programmer as code is being developed. Both black box and white box testing are commonly done to fully test a program. All of the above 10. (TCO 5) When a variable is passed by reference as a function argument, (Points : 5) its value is copied it can have its value both read and modified by the function it is protected from being modified by the function All of the above 11. (TCO 5) Arrays are always passed into a function by location because (Points : 5) passing an array by value would require changing every element of the array. it is much quicker to pass location information than to create a copy of the entire array which would be needed for pass by value. a function should never need a private copy of an array to work on. None of the above 12. (TCO 6) An array is a data type that contains _______. (Points : 5) a fixed number of elements a set of values all of which are of the same type values that must either be initialized when the array is declared or assigned at runtime All of the above

Explanation / Answer

7 b

8 c

9 b10 d

11 a

12 b

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote