Q8 Fill in blank: A loop that evaluates its test expression before repetition is
ID: 3579948 • Letter: Q
Question
Q8 Fill in blank: A loop that evaluates its test expression before repetition is a loop.
Q9 A do-while loop executes a minimum of Blank times?
Q10 A is a special value that marks the end of a series of input values.
Q11 This loop is a good choice when you know how many times you want the loop to iterate in advance of entering the loop.
Q12 The last legal subscript that can be used with the array declared as:(see array declaration below) is Array declaration: int arr[19];
Q13 A function that doesn’t return a value is a _ function.
Q14 The C++ statement: c = a / b; would cause a runtime error if .
Q15 If a program will not compile, it is because of a _ error.
Q16 If a program compiles, and doesn’t produce run-time errors, but produces an incorrect result, it is because of a _ error.
Q17 Evaluate the following expressions, assume a=3, b=4, c=6. a == b || b > 2 True or False.
Q18 Evaluate the following expressions, assume the following declarations: int a =2; int b=4; int num=6; num *= a + b; What is the value of the num after expression is evaluated
Explanation / Answer
8. preset
9. 0
10. sentinal
11. for
12. True
13. procedure function.
14. b = 0
15. compile errors
16. run time errors
17. True
18. 36
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.