Answer the following statements true (T) or false (F)
1) The following are all valid variable names: _under_bar_, m928134, t5, j7, her_sales,
his_account_total, a, b, c, z, z2.
2) The statement cout << "a = 5;"; is a typical example of an assignment statement.
3) A valid arithmetic expression with no parentheses is evaluated from left to right.
4) The following are all invalid variable names: 3g, 87, 67h2, h22, 2h.
5) By convention, function names begin with a capital letter and all subsequent words in
the name begin with a capital letter.
1) True.
2) False. The statement is an output statement. The text a = 5; is output to the screen.
3) False. Arithmetic operators can appear in any order in an expression, so the expression is a = b+ c* d; actually evaluates from right to left because of the rules of operator precedence.
4) False. h22 is a valid variable name. The others are invalid because they each begin with a digit.
5) False. Function names begin with a lowercase letter and all subsequent words in the name begin with a capital letter.
You might also like to view...
A ________ is a dummy function that is called instead of the actual function it represents, to test that the call to and return from the function are working correctly.
A) stub B) driver C) test function D) void function E) prototype function
The main method executes in the ________ thread of execution.
a. starting b. main c. local d. None of the above.
The mail merge function is located on this tab.
A. Home B. Insert C. References D. Mailings
By default, legends are placed in the top-right corner of the field set box.
Answer the following statement true (T) or false (F)