Computer Hope quiz #152 of 152

Incorrect. Pipe and double pipeThe 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 1,293,236 people who have answered this quiz question, 350,681 (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