Answer the following statements true (T) or false (F)

1. Java operators are evaluated from left to right.
2. The following are all valid variable names: _under_bar_, m928134, t5, j7, her_sales$,
his_$account_total, a, b$, c, z and z2.
3. A valid Java arithmetic expression with no parentheses is evaluated from left to right
4. The following are all invalid variable names: 3g, 87, 67h2, h22 and 2h.


1. False. Some operators (e.g., assignment, =) evaluate from right to left.
2. True.
3. False. The expression is evaluated according to operator precedence.
4. False. Identifier h22 is a valid variable name.

Computer Science & Information Technology

You might also like to view...

In a ____ attack, a hacker sends to the target computer a packet that has the identical source and destination IP address as that of the target computer.?

A. DNS overflow? B. ?Teardrop C. ?Land D. ?Chargen

Computer Science & Information Technology

Could radio buttons be used for this application? What would they be like?

What will be an ideal response?

Computer Science & Information Technology

AC Case 5-1Ms. West is a fourth grade teacher in a self-contained classroom. She keeps track of her students' attendence, homework, projects, and scores in an Access database. At the end of the year, she wants to provide each parent or guardian with a printed report containing this information. To create a blank report, Ms. West will click the ____ button in the Reports group on the Create tab.

A. Report B. Report Design C. Blank Report D. Report Wizard

Computer Science & Information Technology

Sketch the graph of the following quadratic function using a graphing calculator.  State whether the function has a maximum or a minimum.  Determine the maximum or minimum value to the nearest tenth.  Determine the roots of the quadratic function to the nearest tenth.

What will be an ideal response?

Computer Science & Information Technology