Computer Hope Quiz #152 of 152

Incorrect. The pipe character ( | ) is used as an OR operator. For example, in the programming code: if (($value1 == 2) || ($value2 == 3)) { print "True"; } the double pipe is the OR operator and means if value1 equals 2 OR value2 equals 3 print "True" to the screen. The ampersand, bracket, and colon are all used differently depending on where they are being used.

Of the 833,733 people who have answered this quiz question 228,949 (27%) have answered it correctly, making it a hard question.

Want to really test yourself?
Start at the beginning and try all of the computer quiz questions.


Back to quiz start - Back to Computer Hope