EXERCISE

Operator Application

Chapter 3 · Apply operators in short expressions.

👤

Student Information

Select your class and name once. This browser will remember your selection for the next exercise or quiz.

Loading class list…
Your name is loaded from the student database. You do not need to type it repeatedly.
Exercise 3D

Operator Application

Apply operators in short expressions.

QUESTION 1 OF 10

Which operator can be used for string concatenation?

QUESTION 2 OF 10

Which expression returns true if either condition is true?

QUESTION 3 OF 10

Which expression tests two conditions both true?

QUESTION 4 OF 10

What does 5 == "5" normally return?

QUESTION 5 OF 10

What is 2 + 3 * 4?

QUESTION 6 OF 10

What is (2 + 3) * 4?

QUESTION 7 OF 10

Which is a ternary operator pattern?

QUESTION 8 OF 10

If x=5, what does x+=2 produce?

QUESTION 9 OF 10

What does 5 === "5" return?

QUESTION 10 OF 10

Which expression tests whether age is at least 18?