Question: Part 1: Multiple Choice Questions (5 marks each) 1 Which of the following is the correct C++ statement for the equation y = a(3+x2)+7 (a)


Part 1: Multiple Choice Questions (5 marks each) 1 Which of the following is the correct C++ statement for the equation y = a(3+x2)+7 (a) y=a* (3+x*x+x)/4; (b) yra (3+x*x) +x/4 y-a *3+x*x+x/4: (d) y-a( 3+* * x) + x/4; Answer: 2 Which statement is not true ifc-4? (a) c2 means cc/2, which is 2 (b) c+-5 means c = c + 5, which is 9 (C) c 3 means c-c3, which is 12 (d) - 6 means c = 6., which is 2 Answer: 3. Which of the following is a valid identifier? (a) double (b) 10numCounter (c) num 10 (d) Num-OfGrade Answer: 4 Which statement is not true? (a) The C++ statement count + means using the current value of count and then incrementing by 1. (b) The C++ statement count means using the current value of count and then decrementing by 1. (c) The expression (x >yla y and the expression a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
