Question 1: Select the CORRECT answer based on the statement in Figure A1.
Question 2: Select the symbol used after main() function.
Question 3: Identify the valid variable.
Question 4: Identify the output from the program in Figure A2
Question 5: Select the CORRECT answer based on the statement in Figure A3
Question 6: Based on Figure A4, determine the CORRECT answer after execution.
Question 7: Based on Figure A5, determine the CORRECT output for logical expression above.
Question 8: Identify which is NOT the type of selection control structure.
Question 9: Identify the repetition control structure used to execute instruction at least once.
Question 10: Identify the CORRECT syntax for an If.. End If statement.
Question 11: Determine the number of repetition that will occur for the following looping control structure in Figure A6.
Question 12: Identify the CORRECT syntax for the do.. while statement.
Question 13: Determine the output for the sample code in Figure A7
Question 14: Analyze the output for the sample code in Figure A8.
Question 15: Analyze the code in Figure A9 and choose the CORRECT output.
Question 16: State how to read the fourth element in an array "test".
Question 17: Based on the two dimensional array in Figure A10 below, what is the value of Student[0][4].
Question 18: Choose the output for the code segment in Figure A11
Question 19: Determine the suitable statement for Z in Figure A12 to display an output 123105 when the code is executed.
Question 20: Identify the following code in Figure A13 and choose the output that will be presented.
Question 21: Analyze the segment code in Figure 14 and detect the suitable line code which hold the value of b.
Question 22: Based on structure declaration in Figure A15, determine the members for student structure.
Question 23: Analyze the following code in Figure A16 and determine the number array involve in displaying data for CD.
Question 24: Identify the execution program in the beginning of C++ programming.
Question 25 to 26 are based on the coding in Figure A17 below.
Question 25: Identify the arguments holds by mul function in Figure A17.
Question 26: Assume that a subtraction function is added to program in Figure A17. Choose the CORRECT prototype to demonstrate substraction function return a value and will receive two arguments of type integer.
Question 27: Determine the output if the code is executed in Figure A18.
Question 28: Determine the output code based on Figure A19. Given radius = 7.
Question 29 to 30 are based on the coding in Figure A20 below.
Question 29: Determine the output of x if the code is executed in the Figure A20 below.
Question 30: Decide the output of y if the code is executed in the Figure A20 above.