
Java - Chapter 7 - 8
Authored by Colleen Chattaway
Computers
9th - 12th Grade
Used 110+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
90 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The following logical expression illustrates what concept?
!( A || B) = !A && !B
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the difference between the "==" and "=" operators?
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following expressions is the most effective way to compare the contents of two strings in myString1 and myString2 variables?
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Using the rules of operator precedence, what is the result of the following equation?
int result = 2 + 4 / 1 * 3 - 1;
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
If "A" is true, short-circuiting would prevent the "B" expression from being evaluated in this
overall expression: if ( A || B )
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the effect of using the equals operator == to compare two reference values?
reference values
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
When using an if() statement, what must go within the parentheses?
A string
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?