1) Identify THREE (3) types of error in programming. a) Grammatical error, single time error and logical error b) Grammatical error, calculation error, and logic error c) Syntax error, run-time error, and logical error 2) Error produce unintended or undesired output or other behavior, although it may not immediately be recognized as such. a) Run-Time Error b) Logic Error c) Syntax Error 3) Select the symbol used after main() function. a) [] b) {} c) <> 4) Select the symbol used for single line comment. a) // b) /* c) */ 5) Identify the VALID variables. a) MyName b) Your@Age c) Price Of Pizza 6) Which of the following is considered a character on your keyboard? a) 12 b) & c) Spacebar 7) Refers to the name of variables, function, arrays, classes, etc. created by the user. Identifiers are the fundamental requirement of any language. a) Identifiers b) Constant Variable c) Variable 8) Identify the symbol that end the C++ statement. a) . b) : c) ; 9) Based on This Figure, what does Line 1 represent for a) comment b) Main function c) Return statement 10) Based on This Figure, what does Line 4 represent for a) Main function b) Header file c) braces

CHAPTER 1 DFC20113 PROGRAMMING FUNDAMENTALS

Leaderboard

Visual style

Options

Switch template

Continue editing: ?